Can't generate sample configuration file by generate_sample.sh

Bug #1204762 reported by Haomai Wang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

I'm working on a patch and submit my codes to Jenkins. Jenkins reminds me of mismatch with nova.conf.sample.

Now I run command below:
shell > tools/config/generate_sample.sh -b ./
generate_sample.sh: missing project base directory
Try `generate_sample.sh --help' for more information.

Is there exists bug in it?

Revision history for this message
Matt Riedemann (mriedem) wrote :

If you're using devstack and the absolute path to nova is /opt/stack/nova, then specify this:

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

The -o option is necessary on nova because the sample is under nova/etc/nova/.

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.