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/.
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/.