Public bug reported: Upstart scripts currently specify command line options for nova programs:
$ tail -n 1 /etc/init/nova-compute.conf exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-compute -- --config-file=/etc/nova/nova.conf --config-file=/etc/nova/nova-compute.conf Specifying --config-file to these programs asserts that Openstack's config package Oslo should not perform directory searching for configs. The expected behavior would be to put these lines into an /etc/default /nova-XXX file. That way, other options could also be passed to the commands without having to directly edit the file in /etc/init. Alternatively, just removing the --config-path options would be OK because Oslo can find config files all over. Oslo lets you provide per-program configs instead of one gigantic nova.conf which can be very helpful (think of the way ubuntu packages apache configs). # lsb_release -rd Description: Ubuntu 12.04.2 LTS Release: 12.04 Software versions: nova-api-ec2: 1:2013.1.2-0ubuntu1~cloud0 nova-api-metadata: 1:2013.1.2-0ubuntu1~cloud0 nova-api-os-compute: 1:2013.1.2-0ubuntu1~cloud0 nova-cert: 1:2013.1.2-0ubuntu1~cloud0 nova-compute: 1:2013.1.2-0ubuntu1~cloud0 nova-conductor: 1:2013.1.2-0ubuntu1~cloud0 nova-consoleauth: 1:2013.1.2-0ubuntu1~cloud0 nova-network: 1:2013.1.2-0ubuntu1~cloud0 nova-novncproxy: 1:2013.1.2-0ubuntu1~cloud0 nova-scheduler: 1:2013.1.2-0ubuntu1~cloud0 ** Affects: nova (Ubuntu) Importance: Undecided Status: New ** Tags: openstack upstart ** Description changed: Upstart scripts currently specify command line options for nova programs: $ tail -n 1 /etc/init/nova-compute.conf exec start-stop-daemon --start --chuid nova --exec /usr/bin/nova-compute -- --config-file=/etc/nova/nova.conf --config-file=/etc/nova/nova-compute.conf Specifying --config-file to these programs asserts that Openstack's config package Oslo should not perform directory searching for configs. The expected behavior would be to put these lines into an /etc/default /nova-XXX file. That way, other options could also be passed to the commands without having to directly edit the file in /etc/init. + Alternatively, just removing the --config-path options would be OK + because Oslo can find config files all over. + + Oslo lets you provide per-program configs instead of one gigantic + nova.conf which can be very helpful (think of the way ubuntu packages + apache configs). # lsb_release -rd Description: Ubuntu 12.04.2 LTS Release: 12.04 Software versions: nova-api-ec2: 1:2013.1.2-0ubuntu1~cloud0 nova-api-metadata: 1:2013.1.2-0ubuntu1~cloud0 nova-api-os-compute: 1:2013.1.2-0ubuntu1~cloud0 nova-cert: 1:2013.1.2-0ubuntu1~cloud0 nova-compute: 1:2013.1.2-0ubuntu1~cloud0 nova-conductor: 1:2013.1.2-0ubuntu1~cloud0 nova-consoleauth: 1:2013.1.2-0ubuntu1~cloud0 nova-network: 1:2013.1.2-0ubuntu1~cloud0 nova-novncproxy: 1:2013.1.2-0ubuntu1~cloud0 nova-scheduler: 1:2013.1.2-0ubuntu1~cloud0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1210308 Title: Upstart scripts to use /etc/default for options. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1210308/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs