./tools/config/generate_sample.sh requires a -b parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Zhongyue Luo | ||
oslo-incubator |
Fix Released
|
Wishlist
|
Ben Nemec |
Bug Description
Based on:
./tools/
should be executed in place of the previous:
./tools/
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/
OK
./tools/
OK
/tools/
description: | updated |
description: | updated |
affects: | nova → oslo |
Changed in nova: | |
assignee: | nobody → Zhongyue Luo (zyluo) |
Changed in nova: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | none → havana-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
importance: | Undecided → Medium |
status: | Fix Released → In Progress |
milestone: | havana-3 → none |
Changed in nova: | |
milestone: | none → havana-rc1 |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | havana-3 → 2013.2 |
Changed in nova: | |
milestone: | havana-rc1 → 2013.2 |
Oh look, there's a bug for this. I've submitted a patch that simplifies running generate_sample.sh in Nova. With that it should be possible to run it with no parameters as long as you're in the root of the Nova tree (as in the examples above).
The change is here and I'll add this bug to the commit message when I get a chance: https:/ /review. openstack. org/#/c/ 43160/