We discussed a possible solution today with the Juju team, I want to just
recap here:
Juju could keep doing the same procedure as now to return all IPs,
including the socket connection test to each IP, it just needs to validate
the host keys for each to make sure that more than just the socket is
open. This can be done with
1) ssh <ip> /bin/true
or
2) get host key, verify against what is expected (which is already done as
part of the ssh process, so juju knows this)
On Tue, Jan 10, 2017 at 1:02 PM, Andreas Hasenack <email address hidden>
wrote:
> yeah, juju is incorrectly grabbing the virbr0 IP. virbr0 exists on nova
> compute hosts nowadays because of the possibility of using lxd as the
> hypervisor.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1646329
>
> Title:
> juju ssh/scp proxy ip address selection oddities
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1646329/+subscriptions
>
> Launchpad-Notification-Type: bug
> Launchpad-Bug: product=juju; milestone=2.1-rc1; status=Triaged;
> importance=High; <email address hidden>;
> Launchpad-Bug-Tags: landscape
> Launchpad-Bug-Information-Type: Public
> Launchpad-Bug-Private: no
> Launchpad-Bug-Security-Vulnerability: no
> Launchpad-Bug-Commenters: ahasenack davidpbritton jameinel thkang0
> Launchpad-Bug-Reporter: David Britton (davidpbritton)
> Launchpad-Bug-Modifier: Andreas Hasenack (ahasenack)
> Launchpad-Message-Rationale: Subscriber
> Launchpad-Message-For: davidpbritton
>
We discussed a possible solution today with the Juju team, I want to just
recap here:
Juju could keep doing the same procedure as now to return all IPs,
including the socket connection test to each IP, it just needs to validate
the host keys for each to make sure that more than just the socket is
open. This can be done with
1) ssh <ip> /bin/true
or
2) get host key, verify against what is expected (which is already done as
part of the ssh process, so juju knows this)
On Tue, Jan 10, 2017 at 1:02 PM, Andreas Hasenack <email address hidden>
wrote:
> yeah, juju is incorrectly grabbing the virbr0 IP. virbr0 exists on nova /bugs.launchpad .net/bugs/ 1646329 /bugs.launchpad .net/juju/ +bug/1646329/ +subscriptions Notification- Type: bug Bug-Information -Type: Public Bug-Private: no Bug-Security- Vulnerability: no Bug-Commenters: ahasenack davidpbritton jameinel thkang0 Bug-Reporter: David Britton (davidpbritton) Bug-Modifier: Andreas Hasenack (ahasenack) Message- Rationale: Subscriber Message- For: davidpbritton
> compute hosts nowadays because of the possibility of using lxd as the
> hypervisor.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> juju ssh/scp proxy ip address selection oddities
>
> To manage notifications about this bug go to:
> https:/
>
> Launchpad-
> Launchpad-Bug: product=juju; milestone=2.1-rc1; status=Triaged;
> importance=High; <email address hidden>;
> Launchpad-Bug-Tags: landscape
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
> Launchpad-
>
--
David Britton <email address hidden>