Ask Your Question

Revision history [back]

check rabbitmq and nova-compute logs

check rabbitmq the connectivity between the compute nodes you have, and nova-compute logscheck the rabbitmq-server logs, because if rabbit-mq fails during the vm's starting stage it will fail,if rabbit-mq is the problem restart the rabbit-mq service. if you changed the hostname, try to reset the rabbit-mq credentials. Or maybe The compute and controller nodes had FQDNs configured for their hostnames. The contents of /etc/hostname, and the value returned by hostname were FQDNs.

check the connectivity between the compute nodes you have, and check the rabbitmq-server logs, because if rabbit-mq fails during the vm's starting stage it will fail,if rabbit-mq is the problem restart the rabbit-mq service. if you changed the hostname, try to reset the rabbit-mq credentials. Or maybe The compute and controller nodes had FQDNs configured for their hostnames. The contents of /etc/hostname, and the value returned by hostname were FQDNs.FQDNs.If you have no data in tabels,, dropping all the SQL tables for nova, nova_api, and nova_cell0, and again sync the database and restart the service

check the connectivity between the compute nodes you have, and check the rabbitmq-server logs, because if rabbit-mq fails during the vm's starting stage it will fail,if rabbit-mq is the problem restart the rabbit-mq service. if you changed the hostname, try to reset the rabbit-mq credentials. Or maybe The compute and controller nodes had FQDNs configured for their hostnames. The contents of /etc/hostname, and the value returned by hostname were FQDNs.If you have no data in tabels,, dropping all the SQL tables for nova, nova_api, and nova_cell0, and again sync the database and restart the service

sync commands

su -s /bin/sh -c "nova-manage api_db sync" nova

su -s /bin/sh -c "nova-manage db sync" nova

Verify nova cell0 and cell1 are registered correctly:

nova-manage cell_v2 list_cells

check the connectivity between the compute nodes you have, and check the rabbitmq-server logs, because if rabbit-mq fails during the vm's starting stage it will fail,if rabbit-mq is the problem restart the rabbit-mq service. if you changed the hostname, try to reset the rabbit-mq credentials. Or maybe The compute and controller nodes had FQDNs configured for their hostnames. The contents of /etc/hostname, and the value returned by hostname were FQDNs.If you have no data in tabels,, tables,, dropping all the SQL tables for nova, Nova, nova_api, and nova_cell0, and again sync the database and restart the service

sync commands

su -s /bin/sh -c "nova-manage api_db sync" nova

su -s /bin/sh -c "nova-manage db sync" nova

Verify nova cell0 and cell1 are registered correctly:

nova-manage cell_v2 list_cells

check the connectivity between the compute nodes you have, and check the rabbitmq-server logs, because if rabbit-mq fails during the vm's starting stage it will fail,if rabbit-mq is the problem restart the rabbit-mq service. if you changed the hostname, try to reset the rabbit-mq credentials. Or maybe The compute and controller nodes had FQDNs configured for their hostnames. The contents of /etc/hostname, and the value returned by hostname were FQDNs.If you have no data in tables,, dropping all the SQL tables for Nova, nova_api, and nova_cell0, and again sync the database and restart the service

sync commands

su -s /bin/sh -c "nova-manage api_db sync" nova

su -s /bin/sh -c "nova-manage db sync" nova

Verify nova cell0 and cell1 are registered correctly:

nova-manage cell_v2 list_cells

for register compute node try this su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova

check the connectivity between the compute nodes you have, and check the rabbitmq-server logs, because if rabbit-mq fails during the vm's starting stage it will fail,if rabbit-mq is the problem restart the rabbit-mq service. if you changed the hostname, try to reset the rabbit-mq credentials. Or maybe The compute and controller nodes had FQDNs configured for their hostnames. The contents of /etc/hostname, and the value returned by hostname were FQDNs.If you have no data in tables,, dropping all the SQL tables for Nova, nova_api, and nova_cell0, and again sync the database and restart the service

sync commands

su -s /bin/sh -c "nova-manage api_db sync" nova

su -s /bin/sh -c "nova-manage db sync" nova

Verify nova cell0 and cell1 are registered correctly:

nova-manage cell_v2 list_cells

for register discover compute node try this su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova

check the connectivity between the compute nodes you have, and check the rabbitmq-server logs, because if rabbit-mq fails during the vm's starting stage it will fail,if rabbit-mq is the problem restart the rabbit-mq service. if you changed the hostname, try to reset the rabbit-mq credentials. Or maybe The compute and controller nodes had FQDNs configured for their hostnames. The contents of /etc/hostname, and the value returned by hostname were FQDNs.If you have no data in tables,, dropping all the SQL tables for Nova, nova_api, and nova_cell0, and again sync the database and restart the service

sync commands

su -s /bin/sh -c "nova-manage api_db sync" nova

su -s /bin/sh -c "nova-manage db sync" nova

Verify nova cell0 and cell1 are registered correctly:

nova-manage cell_v2 list_cells

for discover compute node try this su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova

check the connectivity between the compute nodes you have, and check the rabbitmq-server logs, because if rabbit-mq fails during the vm's starting stage it will fail,if rabbit-mq is the problem restart the rabbit-mq service. if you changed the hostname, try to reset the rabbit-mq credentials. Or maybe The compute and controller nodes had FQDNs configured for their hostnames. The contents of /etc/hostname, and the value returned by hostname were FQDNs.If you have no data in tables,, dropping all the SQL tables for Nova, nova_api, and nova_cell0, and again sync the database and restart the service

sync commands

su -s /bin/sh -c "nova-manage api_db sync" nova

su -s /bin/sh -c "nova-manage db sync" nova

Verify nova cell0 and cell1 are registered correctly:

nova-manage cell_v2 list_cellslist_cells image descriptionin nova database there is a table compute node will there,in that table change mapped column's value form 0 to 1

check the connectivity between the compute nodes you have, and check the rabbitmq-server logs, because if rabbit-mq fails during the vm's starting stage it will fail,if rabbit-mq is the problem restart the rabbit-mq service. if you changed the hostname, try to reset the rabbit-mq credentials. Or maybe The compute and controller nodes had FQDNs configured for their hostnames. The contents of /etc/hostname, and the value returned by hostname were FQDNs.If you have no data in tables,, dropping all the SQL tables for Nova, nova_api, and nova_cell0, and again sync the database and restart the service

sync commands

su -s /bin/sh -c "nova-manage api_db sync" nova

su -s /bin/sh -c "nova-manage db sync" nova

Verify nova cell0 and cell1 are registered correctly:

nova-manage cell_v2 list_cells image descriptionin nova database there is a table compute node will there,in that table change mapped column's value form 0 to 1

In nova api-database host mapping table will there,you can manually map your hosts in that table

check the connectivity between the compute nodes you have, and check the rabbitmq-server logs, because if rabbit-mq fails during the vm's starting stage it will fail,if rabbit-mq is the problem restart the rabbit-mq service. if you changed the hostname, try to reset the rabbit-mq credentials. Or maybe The compute and controller nodes had FQDNs configured for their hostnames. The contents of /etc/hostname, and the value returned by hostname were FQDNs.If you have no data in tables,, dropping all the SQL tables for Nova, nova_api, and nova_cell0, and again sync the database and restart the service

sync commands

su -s /bin/sh -c "nova-manage api_db sync" nova

su -s /bin/sh -c "nova-manage db sync" nova

Verify nova cell0 and cell1 are registered correctly:

nova-manage cell_v2 list_cells image descriptionin nova Nova database there is a table compute node will there,in that table change mapped column's value form from 0 to 1

In nova api-database host mapping table will there,you can manually map your hosts in that table