ssh-keyscan of hosts in MAAS environments is incomplete

Bug #1329251 reported by James Page
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-cloud-controller (Juju Charms Collection)
Fix Released
High
Unassigned
nova-compute (Juju Charms Collection)
Fix Released
High
Unassigned

Bug Description

The nova-compute and nova-cloud-controller charms setup know_hosts files for the nova and root users to support live-migration and cold migration/resize of instances.

However, the 'private-address' key passed from nova-compute to nova-cc is an IP address, which reverse lookups to the PTR record held in MAAS DNS which is <IP>.domainname rather than <HOSTNAME>.domainname, so the actual hostname the server is configured with never gets added to the known_hosts file.

The solution is probably to add a new piece of data to the relation 'hostname' which is passed from the nova-compute charm - this way the hostname the compute servers think they are using will be scanned.

Tags: openstack

Related branches

Revision history for this message
James Page (james-page) wrote :

The impact of this bug is that live migrations won't work

Changed in nova-cloud-controller (Juju Charms Collection):
importance: Undecided → High
Changed in nova-compute (Juju Charms Collection):
importance: Undecided → High
Jonathan Davies (jpds)
Changed in nova-cloud-controller (Juju Charms Collection):
status: New → In Progress
Changed in nova-compute (Juju Charms Collection):
status: New → In Progress
Revision history for this message
Bryan Quigley (bryanquigley) wrote :

What's stopping this from being approved? Should it be re-proposed to the Github Charms project?

James Page (james-page)
Changed in nova-compute (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in nova-cloud-controller (Juju Charms Collection):
status: In Progress → Fix Committed
tags: added: openstack
Changed in nova-cloud-controller (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in nova-compute (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.