Ask Your Question

Why is the recently added compute node ignored when starting new instances?

asked 2019-11-25 03:38:22 -0600

BenvanDamme gravatar image

Every new Instance is started on one of the three old nodes. The fourth node is ignored and idles.

Kind regards

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2019-11-25 04:10:24 -0600

updated 2019-11-25 06:12:28 -0600

Might u already have space available in old computes.

you can try below steps create Host Aggregates add newly compute with zone X

Try to instantiate new VM with availability-zone zone X. step 1 source your rc file

openstack hypervisor list

or you will get in GUI if you login via admin in hypervisor section.

find out new compute ie. overcloud-compute-7.localdomain

2: openstack aggregate create --zone ZONEX ZONEX

3: openstack aggregate add host ZONEX overcloud-compute-7.localdomain

4: Now you can create instance via GUI : go to project > instance > launch instance option in details section select Availability Zone in drop down menu u will fine ZONEX.

or you can use nova boot command

openstack server create --image IMAGE --flavor test --availability-zone ZONEX --nic net-id=UUID SERVERNAME

edit flag offensive delete link more


I dont now how to achieve this. I created the hostaggregat but during the instance-launch there is no new element in the dropdown.

BenvanDamme gravatar imageBenvanDamme ( 2019-11-25 05:12:20 -0600 )edit

updated steps above

piyushsrivastava gravatar imagepiyushsrivastava ( 2019-11-25 06:36:22 -0600 )edit

That works just fine. I think the problem is how the system determines which computehost is sufficient. Perhaps it goes for free ram and not free cpu-cores

BenvanDamme gravatar imageBenvanDamme ( 2019-11-25 07:15:14 -0600 )edit

true it always goes for free ram

piyushsrivastava gravatar imagepiyushsrivastava ( 2019-11-26 00:30:14 -0600 )edit

answered 2019-11-25 05:04:39 -0600

BenvanDamme gravatar image

Is it possible that he only checks for free memory? The new Host has less memory than the old ones have left, but the old ones use nearly all of the cpu-cores.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-11-25 03:38:22 -0600

Seen: 100 times

Last updated: Nov 25 '19