Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Fixed. Turns out the Controller and Compute Nodes CANNOT have the same hostname. I believe the database users that as a key identifier (which is bad, as it should use a UUID). This is why only one was appearing (even though both were up).

FIX: Change the hostnames of the controller and compute by editing /etc/hostname.

At this point, you should see 2 of each entries in the nova service-list and neutron agent-list. Some with the old hostname will be changing to xxx as the services with the new hostnames come up.

Then follow this link to delete the duplicate entries from the mysql database (entries from the previous hostname). https://thornelabs.net/2014/08/03/delete-duplicate-openstack-hypervisors-and-services.html

Now the commands should show the correct number of services.

Fixed. Turns out the Controller and Compute Nodes CANNOT have the same hostname. I believe the database users that as a key identifier (which is bad, as it should use a UUID). This is why only one was appearing (even though both were up).

FIX: Change the hostnames of the controller and compute by editing /etc/hostname.

At this point, you should see 2 of each entries in the nova service-list and neutron agent-list. Some with the old hostname will be changing to xxx as the services with the new hostnames come up.

Then follow this link link to delete the duplicate entries from the mysql database (entries from the previous hostname). https://thornelabs.net/2014/08/03/delete-duplicate-openstack-hypervisors-and-services.htmlhostname).

Now the commands should show the correct number of services.

Fixed. Turns out the Controller and Compute Nodes CANNOT have the same hostname. I believe the database users that as a key identifier (which is bad, as it should use a UUID). This is why only one was appearing (even though both were up).

FIX: Change the hostnames of the controller and compute by editing /etc/hostname.

At this point, you should see 2 of each entries in the nova service-list and neutron agent-list. Some with the old hostname will be changing to xxx as the services with the new hostnames come up.

Then follow this link to delete the duplicate entries from the mysql database (entries from the previous hostname).

Now the commands should show the correct number of services.