instance_faults table

Asked by Thuy Christenson

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

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tiantian Gao (gtt116) said :
#1

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 <email address hidden>

> New question #237048 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/237048
>
> 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

Revision history for this message
Thuy Christenson (thuy) said :
#2

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

Revision history for this message
Tiantian Gao (gtt116) said :
#3

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 <email address hidden>

> Question #237048 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/237048
>
> 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

Can you help with this problem?

Provide an answer of your own, or ask Thuy Christenson for more information if necessary.

To post a message you must log in.