Ask Your Question
0

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

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

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
0

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

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

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

Comments

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 -0500 )edit

updated steps above

piyushsrivastava gravatar imagepiyushsrivastava ( 2019-11-25 06:36:22 -0500 )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 -0500 )edit
1

true it always goes for free ram

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

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

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

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: 2019-11-25 03:38:22 -0500

Seen: 42 times

Last updated: Nov 25 '19