Ask Your Question
0

openstack nova services shows different host names

asked 2016-02-23 16:38:24 -0500

Praveen N gravatar image

updated 2016-02-23 17:26:02 -0500

Hi All,

Am able to install successfully the OpenStack PackStack(Kilo) multinode(1 aio & 1compute node) setup using CentOS7 VMs. The contents of /etc/hosts on aio & compute node is given below,

10.1.64.132 aio132.onecloud aio132
10.1.64.142 compute142.onecloud compute142

Am working on the live VM migration but i faced difficulty with the hostnames.The issue observed here is when i check the nova services list, noticed the additional Hosts as aio132.novalocal and compute142.novalocal.(C:\fakepath\nova_services.jpeg).

The hypervisor list shows C:\fakepath\hypervisor_list.JPG

I dont understand why this kind of hosts are present..!! Sometimes am not able see these hosts C:\fakepath\nova_services_up.jpeg I need some inputs about to how to remove these hosts with .novalocal and left only with desired hostname aio132 & compute142. The hostnames with .novalocal are troublesome for me during live VM migration. Please help me to fix this..!!

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-02-26 07:12:40 -0500

updated 2016-02-26 07:12:55 -0500

Hi,

check compute nodes hostname and configuration files searching for any incongruity between them.

If you need to remove compute nodes from nova service-list, use:

nova service-disable <hostname> >binary>
nova service-delete <ID>

Some python-novaclient don't have disable option, at least 2.17.0 from Ubuntu repository don't have it. Version 2.23.0 from RDO have it.

Regards

edit flag offensive delete link more

Comments

Thanks for quick reply. This issue am facing on a remote setup, will check.

Praveen N gravatar imagePraveen N ( 2016-02-26 07:55:17 -0500 )edit

If this answer don't apply, tell me and i'll delete it for avoiding confusions with other issues.

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-02-26 08:00:59 -0500 )edit

When troubleshooting this on my remote environment, i still remember following https://thornelabs.net/2014/08/03/del... and didn't work. The remote setup is unavailable for me now, once its available, will check and tell you soon..!!

Praveen N gravatar imagePraveen N ( 2016-02-26 11:46:42 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-02-23 16:38:24 -0500

Seen: 607 times

Last updated: Feb 26 '16