oparser missing in bin/glance-control

Bug #911681 reported by Zhongyue Luo on 2012-01-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Yaguang Tang

Bug Description

"oparser" is defined nowhere.


if __name__ == '__main__':
    conf = config.GlanceConfigOpts(usage=USAGE)
                                     help='File to use as pid file. Default: '
    args = conf()

    if len(args) < 2:

    server = args.pop(0).lower()

Yaguang Tang (heut2008) on 2012-01-04
Changed in glance:
assignee: nobody → yaguang tang (heut2008)

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

Changed in glance:
status: New → In Progress
Jay Pipes (jaypipes) on 2012-01-04
Changed in glance:
milestone: none → essex-3
importance: Undecided → Low

Reviewed: https://review.openstack.org/2784
Committed: http://github.com/openstack/glance/commit/2528e569d0a53248dd9cae9b1f6aa2da5f455cdd
Submitter: Jenkins
Branch: master

commit 2528e569d0a53248dd9cae9b1f6aa2da5f455cdd
Author: Yaguang Tang <email address hidden>
Date: Wed Jan 4 23:28:05 2012 +0800

    fix bug 911681

    need not to use optparse in bin/glance-control.

    Change-Id: I3096a39fd0c26f9fa5243f7cc2bd25dd8d5235ea

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-01-25
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in glance:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers