datastore.models.update_datastore cannot unset default_version

Bug #1463292 reported by Sushil Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
Sushil Kumar

Bug Description

https://github.com/openstack/trove/blob/master/trove/datastore/models.py#L490-L506, implements update_datastore in such a way that once a default_version has been setup for a datastore it cannot be unset.

This is probably because
https://github.com/openstack/trove/blob/master/trove/datastore/models.py#L504 is under the conditions which bars the execution of this line.

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

Changed in trove:
assignee: nobody → Sushil Kumar (sushil-kumar2)
status: New → In Progress
Changed in trove:
importance: Undecided → Medium
Changed in trove:
status: In Progress → Fix Committed
Changed in trove:
milestone: none → liberty-2
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: liberty-2 → 4.0.0
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.