Ask Your Question

How does a hypervisor is reconciled with controller node?

asked 2015-06-10 00:30:43 -0500

manish gravatar image

I have a KVM and VMware cluster as compute node. This gets listed as output of nova hypervisor-list command with names: 1> KVM with system name ex. 2>VMware with mor(clustername) ex domain-c15(Shire Cluster)

In case of instance/VM it uses UUID to uniquely identify a system but how a hypervisor is reconciled. if i changes the name of system will communication between controller and compute node break or it uses some other parameter to reconciled is such case.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-06-11 06:20:10 -0500

sunnyarora gravatar image

But apart from name Isnt There is corresponding ID present for every node?

[root@controller~(openstack_admin)]# nova hypervisor-list
| ID | Hypervisor hostname                  |
| 3  | Computenode1 |
| 6  | Computenode2 |
| 9  | Computenode3 |
| 12 | Computenode4 |
| 13 | domain-c17050(Cluster1)              |
| 15 | domain-c17050(Cluster1)              |
| 17 | domain-c17050(Cluster1)              |

If hostname of any of the OpenStack nodes are changed and then you restart the OpenStack services on those nodes, the services are going to re-register to the OpenStack under the new hostname. There is a nice article which you can check here

And for VMware nodes as you have mentioned - for ex domain-c15(Shire Cluster), i believe you had mentioned the correct clustername i.e cluster_name=Shire Cluster in nova.conf . The same name should be present on the VMware side. If you rename the cluster on vmware, the deployment wont happen until you change the same in nova.conf.

edit flag offensive delete link more

answered 2015-06-11 22:40:06 -0500

manish gravatar image

Thanks Sunny, my understanding of this was also same, just trying to verify in case with new release of openstack if it has changed. w.r.t ID it is specific to openstack DB. my requirement was to see what is unique common attribute in case i collect hypervisor (compute node) details from two different data source. for example i get KVM compute node from nova api and directly using libvirt

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-06-10 00:30:43 -0500

Seen: 424 times

Last updated: Jun 11 '15