Ask Your Question
0

instance_faults table

asked 2013-10-08 21:22:44 -0500

thuy gravatar image

How do records in the instance_faults table get deleted and archived?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2013-10-09 02:02:12 -0500

gtt116 gravatar image

You can have a try this command:

nova-manage db archive_deleted_rows [-h] [--max_rows <number>] [action_args [action_args ...]]

it will move rows which in table instance_faults to table shadow_instance_faults.

2013/10/9 Thuy Christenson question237048@answers.launchpad.net

New question #237048 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+question/237048 (https://answers.launchpad.net/nova/+q...)

How do records in the instance_faults table get deleted and archived?


You received this question notification because you are an answer contact for OpenStack Compute (nova).


Best regards, gtt

edit flag offensive delete link more
0

answered 2013-10-09 02:16:10 -0500

thuy gravatar image

Thanks Tiantian, but that command only move the 'deleted' rows. The rows in the instance_faults table are not marked deleted.

edit flag offensive delete link more
0

answered 2013-10-09 02:50:44 -0500

gtt116 gravatar image

It looks like a bug. When deleting a instance, the instance_fault relative to the instance should be deleted at the same time. Otherwise the records in instance_fault will grow up forever.

How about report a bug about this, and see other guys think about that?

2013/10/9 Thuy Christenson question237048@answers.launchpad.net

Question #237048 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+question/237048 (https://answers.launchpad.net/nova/+q...)

Thuy Christenson posted a new comment: Thanks Tiantian, but that command only move the 'deleted' rows. The rows in the instance_faults table are not marked deleted.


You received this question notification because you are an answer contact for OpenStack Compute (nova).


Best regards, gtt

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: 2013-10-08 21:22:44 -0500

Seen: 65 times

Last updated: Oct 09 '13