Removing compute node from database

Asked by David Kranz on 2011-09-27

I have observed that the database node is informed of the services running on a new compute node when that node starts up, and that nova-manage reports a service on a compute node as disabled when it is no longer running. But, except for tests, I didn't see any code that would remove a service from the database.

If a compute node is removed from a cluster, how is the db entry ever deleted? Is the administrator supposed to tweak the database directly to remove it? And are there any issues like this for volumes or anything else if they are removed from a cluster?

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
2011-09-27
Last reply:
2011-09-27
Vish Ishaya (vishvananda) said : #1

Yes currently you would have to delete the row manually. I don't know of any issues with removing old entries.

Vish

On Sep 27, 2011, at 7:01 AM, David Kranz wrote:

> New question #172482 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/172482
>
> I have observed that the database node is informed of the services running on a new compute node when that node starts up, and that nova-manage reports a service on a compute node as disabled when it is no longer running. But, except for tests, I didn't see any code that would remove a service from the database.
>
> If a compute node is removed from a cluster, how is the db entry ever deleted? Is the administrator supposed to tweak the database directly to remove it? And are there any issues like this for volumes or anything else if they are removed from a cluster?
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Steve Vezina (steve.vezina) said : #2

Any update about this problem or we still need to delete the row manually from nova database?

Vangelis Tasoulas (cyberang3l) said : #3

Same question here: Any update or still need to delete the row manually from nova database?

Can you help with this problem?

Provide an answer of your own, or ask David Kranz for more information if necessary.

To post a message you must log in.