← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1204204] Re: ./tools/config/generate_sample.sh requires a -b parameter

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-3

** Changed in: oslo
       Status: Fix Committed => Fix Released

** Changed in: oslo
    Milestone: None => havana-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1204204

Title:
  ./tools/config/generate_sample.sh  requires a -b parameter

Status in OpenStack Compute (Nova):
  Fix Released
Status in Oslo - a Library of Common OpenStack Code:
  Fix Released

Bug description:
  Based on:

  https://github.com/openstack/nova/blob/ca08c4447a11192f5ca2a5a63ffe3f2656dda2b7/tools/config/README#L5

  ./tools/config/generate_sample.sh

  should be executed in place of the previous:

  ./tools/conf/generate_sample.sh

  The README file should be updated specifying that generate_sample.sh
  requires a mandatory -b / --base-dir parameter

  Furthermore the path must not end with "/" or "nova" must be specified
  as package name (this is IMO a bug in the config script, so it can be
  considered related to oslo)

  -o etc/nova must be specified as output directory as well.

  e.g.:

  WRONG - Will generate a file called ..conf.sample
  ./tools/config/generate_sample.sh -b /path/nova/ -o etc/nova

  OK
  ./tools/config/generate_sample.sh -b /path/nova -o etc/nova

  OK
  /tools/config/generate_sample.sh -b . -p nova -o etc/nova

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1204204/+subscriptions