Restart Required Instance status is changed to RUNNING automatically without restart action

Bug #1739588 reported by renminmin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
In Progress
Medium
renminmin

Bug Description

I create trove instance with postgresql datastore. When the guest log is enabled, the instance status became "RESTART_REQUIRED". However, the instance status is changed to "ACTIVE" automatically without database restart action.

Root cause is that guestagent report DB actual status in the periodic task.
https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/manager.py#L252
https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/service.py#L182
The update db periodic checking should keep "RESTART_REQUIRED" status.

renminmin (rmm0811)
Changed in trove:
assignee: nobody → renminmin (rmm0811)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/529539

Changed in trove:
status: New → In Progress
Changed in trove:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on trove (master)

Change abandoned by renminmin (<email address hidden>) on branch: master
Review: https://review.opendev.org/529539

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.