Slave can be created from master that's not in ACTIVE state

Bug #1357705 reported by Denis M.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
In Progress
High
Denis M.

Bug Description

Slave can be created from master that's not in ACTIVE state

Use case: Master instance is not ACTIVE. In this case we need to check if master is ACTIVE and raise HTTP 422 UnprocessableEntity in cases when status is something else than ACTIVE (BUILD, ERROR, BACKUP, FAILED, RESIZE, etc.).

Bug described here https://review.openstack.org/#/c/98147/23/trove/instance/models.py,cm

Denis M. (dmakogon)
Changed in trove:
milestone: none → juno-3
assignee: nobody → Denis M. (dmakogon)
Denis M. (dmakogon)
Changed in trove:
importance: Undecided → Critical
importance: Critical → Medium
Denis M. (dmakogon)
description: updated
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/117255

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

Change abandoned by Denis M. (<email address hidden>) on branch: master
Review: https://review.openstack.org/117255

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/119770

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on trove (master)

Change abandoned by Denis M. (<email address hidden>) on branch: master
Review: https://review.openstack.org/119770
Reason: Abandoned in favor of https://review.openstack.org/#/c/117222

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.