live-migration fails with ssh due to offending key for ip in known_hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Cloud Controller Charm |
Fix Released
|
High
|
James Page | ||
nova-cloud-controller (Juju Charms Collection) |
Invalid
|
Medium
|
Unassigned |
Bug Description
It has been brought to my attention that when doing live-migration between compute-nodes it fails with "Host key verification failed", even if the following has been setted :
$juju set nova-compute-kvm enable-
$juju set nova-compute-kvm migration-
In this case, this is a Autopilot/Landscape deployment (where the charm version are pinned), the compute-node-kvm has two nics eth0 (x.x.x.x/x) subnet and juju-br0 (eth4) (y.y.y.y/y) subnet.
The same problem also occurred when adding new machines (compute-node) unit.
Live migration doesn't work :
"... ERROR nova.virt.
$ juju run --unit nova-cloud-
<IP_OF_
$ juju run --unit nova-cloud-
<IP_OF_
$ juju run --unit nova-compute-kvm/0 "unit-get private-address"
<IP_OF_
$ juju run --unit nova-compute-kvm/0 "unit-get private-address"
<IP_OF_
If ssh by hand as user 'root'
$ ssh root@<IP_
$ ssh root@<IP_
Some workarounds :
* Manually remove the offending entries in /root/.
* Set "StrictHostKeyC
* ...
Related src code:
https:/
https:/
Changed in nova-cloud-controller (Juju Charms Collection): | |
status: | New → Confirmed |
description: | updated |
Changed in charm-nova-cloud-controller: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in nova-cloud-controller (Juju Charms Collection): | |
status: | Triaged → Invalid |
tags: | added: canonical-bootstack |
Changed in charm-nova-cloud-controller: | |
status: | Triaged → In Progress |
importance: | Medium → High |
assignee: | nobody → James Page (james-page) |
Changed in charm-nova-cloud-controller: | |
milestone: | none → 18.08 |
Changed in charm-nova-cloud-controller: | |
status: | Fix Committed → Fix Released |
[Services] ceilometer- 237 ceilometer- agent-233 ceph-mon- 3 ceph-osd- 236 ceph-radosgw- 242 cinder- 255 glance- 251 simplestreams- sync active false cs:~landscape- charmers/ trusty/ glance- simplestreams- sync-12 ceilometer false cs:trusty/ hacluster- 29 ceph-radosgw false cs:trusty/ hacluster- 29 hacluster- 29 hacluster- 29 hacluster- 29 hacluster- 29 neutron- api false cs:trusty/ hacluster- 29 nova-cloud- controller false cs:trusty/ hacluster- 29 openstack- dashboard false cs:trusty/ hacluster- 29 keystone- 256 landscape- client- 14 mongodb- 37 percona- cluster- 244 neutron- api-244 neutron- gateway- 229 neutron- openvswitch- 236 controller blocked false cs:trusty/ nova-cloud- controller- 287
NAME STATUS EXPOSED CHARM
base-machine unknown false cs:trusty/ubuntu-0
ceilometer active false cs:trusty/
ceilometer-agent false cs:trusty/
ceph-mon active false cs:trusty/
ceph-osd active false cs:trusty/
ceph-radosgw active false cs:trusty/
cinder active false cs:trusty/
glance active false cs:trusty/
glance-
hacluster-
hacluster-
hacluster-cinder false cs:trusty/
hacluster-glance false cs:trusty/
hacluster-keystone false cs:trusty/
hacluster-mysql false cs:trusty/
hacluster-
hacluster-
hacluster-
keystone active false cs:trusty/
landscape-client false cs:trusty/
mongodb unknown false cs:trusty/
mysql active false cs:trusty/
nagios unknown false cs:trusty/nagios-10
neutron-api active false cs:trusty/
neutron-gateway active false cs:trusty/
neutron-openvswitch false cs:trusty/
nova-cloud-