glance-manage should work like nova-manage, support db sync

Bug #1213197 reported by Jesse Keating
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Wishlist
Amala Basha

Bug Description

nova-manage uses the syntax "nova-manage db sync". Arguably glance-manage should support the same. For whatever reason glance-manage uses "db_sync" instead. Probably too late to deprecate db_sync, but adding "db sync" and all other db calls would be useful for us people scripting things. this essentially would mean all db operations, (sync, upgrade, downgrade etc) would become subcommands of db as in nova.

Changed in glance:
assignee: nobody → Sridevi Koushik (sridevik)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

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

Changed in glance:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in glance:
assignee: Sridevi Koushik (sridevik) → Amala Basha (amalabasha)
Amala Basha (amalabasha)
description: updated
Changed in glance:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/47161
Committed: http://github.com/openstack/glance/commit/7e6319d95554413f1a0856603f434c9c60b8d256
Submitter: Jenkins
Branch: master

commit 7e6319d95554413f1a0856603f434c9c60b8d256
Author: AmalaBasha <email address hidden>
Date: Wed Sep 18 18:52:47 2013 +0530

    glance-manage should work like nova-manage

    nova-manage supports subcommands of db, for nova-manage,
    eg) 'nova-manage db sync',
    glance manage however has individual commands like db_sync, db_version
    etc. This patch aims at adding the db operations as subcommands to db in
    glance-manage similar to nova and refactoring this bit of code in
    cmd/manage.py

    Fixes: bug 1213197
    Change-Id: I6fad31766bc1cec2a666a7ebc8df5c732007c5f1

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: icehouse-1 → 2014.1
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.