Activity log for bug #1610397

Date Who What changed Old value New value Message
2016-08-05 19:28:11 David Britton bug added bug
2016-08-05 19:28:29 David Britton bug task added juju-core
2016-08-05 19:28:56 David Britton bug task added nova-cloud-controller (Juju Charms Collection)
2016-08-05 19:29:10 David Britton bug added subscriber Landscape
2016-08-05 19:29:21 David Britton tags kanban-cross-team landscape
2016-08-05 19:32:13 David Britton description ii maas 2.0.0~rc2+bzr5156-0ubuntu1~16.04.2 $ juju --version # 1.25.5-xenial-amd64 nova-cloud-controller r287 == What happened == I have a 8 node maas server, all 8 nodes are in a domain called 'massive'. I actually do-release-upgraded this system from trusty and maas1.9 to xenial and maas2, and it kept all these settings. On upgrade, it created a default 'maas' domain, which was empty. I then used the autopilot to deploy a cloud. It broke trying to relate nova-c-c to nova-compute, for a host resolution error: ------------------ 2016-08-05 18:29:08 INFO cloud-compute-relation-changed getaddrinfo grays: Name or service not known 2016-08-05 18:29:08 ERROR juju-log cloud-compute:54: Could not obtain SSH host key from grays ------------------ == What I think should have happened == 1) nova-cloud-controller. It should not assume the bare 'hostname' field is resolvable. If juju had a 'fqdn' parameter, that would be a different story. It does this for the ssh_compute_add method, which I'm sure tries to set up ssh key auth between systems, but that step where it failed is a critical one. It also perhaps may want to not fatal error on this ssh key add for the host. But I'm not sure of the exact reason it's there. 2) juju. a) Juju should grab IPs for lxds from the same domain *of the physical machine* where it is creating the LXD. *Not* from the default domain. b) Juju also may want to expose an FQDN parameter in relation settings. I would not suggest changing the semantics of 'hostname'. 3) Maas. Maas should ideally expose a way on the UI to edit the default domain, as I don't particularly want to have two domains on this system, I just don't want my domain called 'maas'. == Full stacktrace == 2016-08-05 18:29:08 INFO cloud-compute-relation-changed # 10.5.200.38 SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.7 2016-08-05 18:29:08 INFO juju-log cloud-compute:54: Known host key for compute host 10.5.200.38 up to date. 2016-08-05 18:29:08 INFO cloud-compute-relation-changed getaddrinfo grays: Name or service not known 2016-08-05 18:29:08 ERROR juju-log cloud-compute:54: Could not obtain SSH host key from grays 2016-08-05 18:29:08 INFO cloud-compute-relation-changed Traceback (most recent call last): 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/cloud-c ompute-relation-changed", line 1102, in <module> 2016-08-05 18:29:08 INFO cloud-compute-relation-changed main() 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/cloud-c ompute-relation-changed", line 1096, in main 2016-08-05 18:29:08 INFO cloud-compute-relation-changed hooks.execute(sys.argv) 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/charmhe lpers/core/hookenv.py", line 715, in execute 2016-08-05 18:29:08 INFO cloud-compute-relation-changed self._hooks[hook_name]() 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/cloud-c ompute-relation-changed", line 618, in compute_changed 2016-08-05 18:29:08 INFO cloud-compute-relation-changed ssh_compute_add(key, rid=rid, unit=unit) 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/nova_cc _utils.py", line 751, in ssh_compute_add 2016-08-05 18:29:08 INFO cloud-compute-relation-changed add_known_host(host, unit, user) 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/nova_cc _utils.py", line 706, in add_known_host 2016-08-05 18:29:08 INFO cloud-compute-relation-changed raise e 2016-08-05 18:29:08 INFO cloud-compute-relation-changed subprocess.CalledProcessError: Command '['ssh-keyscan', '-H', '-t', 'rsa', u' grays']' returned non-zero exit status 255 2016-08-05 18:29:08 ERROR juju.worker.uniter.operation runhook.go:107 hook "cloud-compute-relation-changed" failed: exit status 1 ii maas 2.0.0~rc2+bzr5156-0ubuntu1~16.04.2 $ juju --version # 2.0-beta12-xenial-amd64 nova-cloud-controller r287 == What happened == I have a 8 node maas server, all 8 nodes are in a domain called 'massive'. I actually do-release-upgraded this system from trusty and maas1.9 to xenial and maas2, and it kept all these settings. On upgrade, it created a default 'maas' domain, which was empty. I then used the autopilot to deploy a cloud. It broke trying to relate nova-c-c to nova-compute, for a host resolution error: ------------------ 2016-08-05 18:29:08 INFO cloud-compute-relation-changed getaddrinfo grays: Name or service not known 2016-08-05 18:29:08 ERROR juju-log cloud-compute:54: Could not obtain SSH host key from grays ------------------ == What I think should have happened == 1) nova-cloud-controller. It should not assume the bare 'hostname' field is resolvable. If juju had a 'fqdn' parameter, that would be a different story. It does this for the ssh_compute_add method, which I'm sure tries to set up ssh key auth between systems, but that step where it failed is a critical one. It also perhaps may want to not fatal error on this ssh key add for the host. But I'm not sure of the exact reason it's there. 2) juju. a) Juju should grab IPs for lxds from the same domain *of the physical machine* where it is creating the LXD. *Not* from the default domain. b) Juju also may want to expose an FQDN parameter in relation settings. I would not suggest changing the semantics of 'hostname'. 3) Maas. Maas should ideally expose a way on the UI to edit the default domain, as I don't particularly want to have two domains on this system, I just don't want my domain called 'maas'. == Full stacktrace == 2016-08-05 18:29:08 INFO cloud-compute-relation-changed # 10.5.200.38 SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.7 2016-08-05 18:29:08 INFO juju-log cloud-compute:54: Known host key for compute host 10.5.200.38 up to date. 2016-08-05 18:29:08 INFO cloud-compute-relation-changed getaddrinfo grays: Name or service not known 2016-08-05 18:29:08 ERROR juju-log cloud-compute:54: Could not obtain SSH host key from grays 2016-08-05 18:29:08 INFO cloud-compute-relation-changed Traceback (most recent call last): 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/cloud-c ompute-relation-changed", line 1102, in <module> 2016-08-05 18:29:08 INFO cloud-compute-relation-changed main() 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/cloud-c ompute-relation-changed", line 1096, in main 2016-08-05 18:29:08 INFO cloud-compute-relation-changed hooks.execute(sys.argv) 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/charmhe lpers/core/hookenv.py", line 715, in execute 2016-08-05 18:29:08 INFO cloud-compute-relation-changed self._hooks[hook_name]() 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/cloud-c ompute-relation-changed", line 618, in compute_changed 2016-08-05 18:29:08 INFO cloud-compute-relation-changed ssh_compute_add(key, rid=rid, unit=unit) 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/nova_cc _utils.py", line 751, in ssh_compute_add 2016-08-05 18:29:08 INFO cloud-compute-relation-changed add_known_host(host, unit, user) 2016-08-05 18:29:08 INFO cloud-compute-relation-changed File "/var/lib/juju/agents/unit-nova-cloud-controller-0/charm/hooks/nova_cc _utils.py", line 706, in add_known_host 2016-08-05 18:29:08 INFO cloud-compute-relation-changed raise e 2016-08-05 18:29:08 INFO cloud-compute-relation-changed subprocess.CalledProcessError: Command '['ssh-keyscan', '-H', '-t', 'rsa', u' grays']' returned non-zero exit status 255 2016-08-05 18:29:08 ERROR juju.worker.uniter.operation runhook.go:107 hook "cloud-compute-relation-changed" failed: exit status 1
2016-08-05 19:36:13 Alexis Bruemmer juju-core: status New Triaged
2016-08-05 19:36:30 Alexis Bruemmer juju-core: importance Undecided High
2016-08-05 19:38:32 Alexis Bruemmer juju-core: assignee Richard Harding (rharding)
2016-08-05 19:50:28 🤖 Landscape Builder tags kanban-cross-team landscape landscape
2016-08-09 14:47:00 Launchpad Janitor branch linked lp:~andreserl/maas/lp1610397
2016-08-09 16:31:26 MAAS Lander maas: status New Fix Committed
2016-08-17 21:14:52 Anastasia juju-core: milestone 2.1.0
2016-08-22 23:09:53 Canonical Juju QA Bot affects juju-core juju
2016-08-22 23:09:53 Canonical Juju QA Bot juju: milestone 2.1.0
2016-08-22 23:09:56 Canonical Juju QA Bot juju: milestone 2.1.0
2016-10-13 15:03:42 Andres Rodriguez maas: status Fix Committed Fix Released
2016-12-01 15:45:23 Ryan Beisner bug added subscriber Ryan Beisner
2016-12-01 15:45:55 Richard Harding juju: importance High Critical
2016-12-12 21:44:32 Richard Harding juju: importance Critical High
2016-12-12 21:44:36 Richard Harding juju: milestone 2.1.0 2.2.0-alpha1
2017-02-02 11:07:38 Anastasia juju: assignee Richard Harding (rharding)
2017-02-02 14:59:54 James Page nova-cloud-controller (Juju Charms Collection): status New Won't Fix
2017-03-16 04:13:02 Anastasia juju: milestone 2.2-alpha1 2.2.0
2017-03-16 04:13:09 Anastasia juju: milestone 2.2.0 2.2-beta1
2017-03-24 16:56:30 Curtis Hovey juju: milestone 2.2-beta1 2.2-beta2
2017-03-30 20:41:05 Curtis Hovey juju: milestone 2.2-beta2 2.2-beta3
2017-04-28 15:27:19 Canonical Juju QA Bot juju: milestone 2.2-beta3 2.2-beta4
2017-05-11 18:22:00 Canonical Juju QA Bot juju: milestone 2.2-beta4 2.2-rc1
2017-06-01 01:46:46 Tim Penhey juju: milestone 2.2-rc1
2017-06-01 01:46:51 Tim Penhey juju: status Triaged Incomplete
2017-06-01 01:47:40 Tim Penhey juju: importance High Medium
2022-11-03 16:47:33 Canonical Juju QA Bot juju: status Incomplete Expired
2022-11-03 16:47:37 Canonical Juju QA Bot tags landscape expirebugs-bot landscape