glance-combined needs --sql-connection option

Bug #711385 reported by Rick Harris
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Medium
Rick Harris

Bug Description

Cactus now has the use_optparse blueprint merged in. It looks like the --filesystem-store-data option is referenced but never scraped from the CLI options.

We need to add the Optparse.Option in `glance-api` and `glance-combined`.

Also, when we add ConfigParser, we'll need to make sure this gets populated.

Related branches

Revision history for this message
Rick Harris (rconradharris) wrote :

While we're at it, looks like glance-combined needs --sql-connection (glance-registry already has it).

Revision history for this message
Jay Pipes (jaypipes) wrote : Re: [Bug 711385] Re: Use_optparse lacks --filesystem-store-datadir

Nice catch.

On Tue, Feb 1, 2011 at 1:08 PM, Rick Harris <email address hidden> wrote:
> While we're at it, looks like glance-combined needs --sql-connection
> (glance-registry already has it).
>
> --
> You received this bug notification because you are a member of Glance
> Bug Team, which is subscribed to Glance.
> https://bugs.launchpad.net/bugs/711385
>
> Title:
>  Use_optparse lacks --filesystem-store-datadir
>

Revision history for this message
Jay Pipes (jaypipes) wrote : Re: Use_optparse lacks --filesystem-store-datadir

The --filesystem-store-datadir is indeed present in glance-api and glance-connection. Do a --help to see.

Check out the call to glance.store.add_options() in glance-api and glance-combined. That function loops through the stores and asks each if they want to add any options to the parser.

Could you verify this bug again?

Revision history for this message
Jay Pipes (jaypipes) wrote :

s/glance-connection/glance-combined/

Revision history for this message
Rick Harris (rconradharris) wrote :

Oops, strike the --filesystem-store-data issue; I see it defined in filesystem.add_options.

Leaving this tix around since -sql-connection still looks like a legit issue.

Jay Pipes (jaypipes)
summary: - Use_optparse lacks --filesystem-store-datadir
+ glance-combined needs --sql-connection option
Changed in glance:
status: New → Confirmed
milestone: none → cactus-2011-02-21
Jay Pipes (jaypipes)
Changed in glance:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: cactus-2011-02-21 → 2011.2
status: Fix Committed → Fix Released
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.