Ask Your Question

How to remove compute Node.

asked 2019-03-06 06:11:55 -0500

Abhisheks gravatar image

updated 2019-03-06 06:12:55 -0500


I am running one Openstack cluster with Rocky version and there are few of the compute nodes attached, one of the compute node (compute7) hardware is causing some issue, so I want to remove compute7 and add another machine with this name compute7, but when I am adding new node with name compute7 and trying to create any VM on that, I am getting below error

--> "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: compute7 already exists. ", "title": "Conflict"}]}."

Please suggest.

Thanks, Abhishek

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-03-06 08:34:20 -0500

eblock gravatar image

updated 2019-03-07 02:28:07 -0500

What have you tried so far? Have a look at this question. It's been a while since I did that, but I'd start with:

root@dfa-16-3e-14-27-0e:~ # openstack compute service list
| ID | Binary           | Host               | Zone     | Status  | State | Updated At                 |
|  3 | nova-scheduler   | dfa-16-3e-14-27-0e | internal | enabled | up    | 2019-03-07T08:26:12.000000 |
|  5 | nova-conductor   | dfa-16-3e-14-27-0e | internal | enabled | up    | 2019-03-07T08:26:16.000000 |
|  6 | nova-consoleauth | dfa-16-3e-14-27-0e | internal | enabled | up    | 2019-03-07T08:26:17.000000 |
|  7 | nova-compute     | dfa-16-3e-ec-08-35 | nova     | enabled | up    | 2019-03-07T08:26:12.000000 |

openstack compute service delete 7

After that I'd have a look at:

nova-manage cell_v2 list_hosts
nova-manage cell_v2 delete_host --cell_uuid <CELL_UUID> --host <HOST>

The last step should remove the host from the database. I'm not sure if more steps are required, but you can give it a try and report back. Is this a production environment or something you could break and start over?

edit flag offensive delete link more


Thanks for prompt response! I am not getting any ID to run below command, how to pull that. openstack compute service delete <id>

Abhisheks gravatar imageAbhisheks ( 2019-03-06 08:56:05 -0500 )edit

I updated the answer. You should get an ID for each compute service, delete the one you don't need anymore (or want to replace). <...> is a placeholder, I assume you realize that.

eblock gravatar imageeblock ( 2019-03-07 02:30:08 -0500 )edit

didn't worked :( getting same issue while I am adding new compute.

Abhisheks gravatar imageAbhisheks ( 2019-03-07 06:49:25 -0500 )edit

Take a look at this link

TijoV gravatar imageTijoV ( 2019-03-07 07:34:53 -0500 )edit

Did you verify that the old compute node was indeed removed before adding the new one?

eblock gravatar imageeblock ( 2019-03-07 07:54: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


Asked: 2019-03-06 06:11:55 -0500

Seen: 95 times

Last updated: Mar 07