juju API not listening on all interfaces

John Meinel john at arbash-meinel.com
Tue Nov 8 05:15:25 UTC 2016


A couple of points
1) I dug up the code and 1.22.8 has the same code for listening on
":17070", so I can't see why it wouldn't be listening on both addresses.
2) Is there any reason you're still on 1.22.* ? Its been out of support for
a while, and we do strongly encourage you to upgrade to the 1.25 series.

John
=:->

On Mon, Nov 7, 2016 at 3:10 PM, Wayne Carty <wcarty at gmail.com> wrote:

> Hi John,
>
> I'm using version 1.22.8. I did check the order of the interfaces and they
> all start before juju runs. Even after restarting the API service with the
> interfaces up it's still doesn't listen on 10.38.250.0/24.
>
> Thanks,
> Wayne
>
>
>
> On Mon, Nov 7, 2016 at 6:34 AM, John Meinel <john at arbash-meinel.com>
> wrote:
>
>> What version of Juju are you running? Is it possible the devices didn't
>> come up before Juju was up and running? Right now we are doing:
>>    endpoint := net.JoinHostPort("", strconv.Itoa(info.APIPort))
>> listener, err := net.Listen("tcp", endpoint)
>>
>> Which means we listen to ":17070". That should listen on all IP addresses
>> for a machine.
>>
>> John
>> =:->
>>
>> On Sat, Nov 5, 2016 at 8:40 PM, Wayne Carty <wcarty at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I had our bootstrap node crash a few days ago and now the juju  api is
>>> not listening on all interfaces.
>>> Out boot strap nodes server two networks.
>>>
>>> 10.38.250.0/24 and 10.38.251.0/24.
>>>
>>> As of right now juju api is only listening on 10.38.250.251.0/24. Nodes
>>> that are on 10.38.250.0/24 are now in error state because they can't
>>> reach the api.  The boot strap node has 2 interfaces. I have google and
>>> have not found a way to fixed the issue.Any help that you guys can provide
>>> is appreciated.
>>>
>>> --
>>> Wayne Carty
>>>
>>> --
>>> Juju mailing list
>>> Juju at lists.ubuntu.com
>>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
>>> an/listinfo/juju
>>>
>>>
>>
>
>
> --
> Wayne Carty
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20161108/b9b56608/attachment.html>


More information about the Juju mailing list