quantum-server upstart script fails to start

Bug #1047404 reported by Emilien Macchi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
quantum (Ubuntu)
Fix Released
High
Chuck Short

Bug Description

Using Folsom Testing Packages [1] in Ubuntu 12.04, I can see that

service quantum-server start

fails to run [2]

[1] https://launchpad.net/~openstack-ubuntu-testing/+archive/folsom-trunk-testing
[2] http://paste.openstack.org/show/Y8iZG0MBNuChfuWCAjn0/

no longer affects: quantum
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hello Emilien, can you attach /var/log/upstart/quantum.log if it exists (or let us know if it doesn't)

Changed in quantum (Ubuntu):
status: New → Incomplete
importance: Undecided → High
Revision history for this message
Emilien Macchi (emilienm) wrote :

root@precise:~# more /var/log/upstart/quantum-server.log
start-stop-daemon: unrecognized option '--config-file'
Try 'start-stop-daemon --help' for more information.
start-stop-daemon: unrecognized option '--config-file'

root@precise:~# more /var/log/upstart/quantum-plugin-openvswitch-agent.log
start-stop-daemon: unable to start /usr/bin/quantum-openvswitch-agent (Permissio
n denied)
start-stop-daemon: unable to start /usr/bin/quantum-openvswitch-agent (Permissio
n denied)

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Thanks Emilien, this looks like a fairly recent change in the PPA packaging:

exec start-stop-daemon --start --chuid quantum --exec /usr/sbin/quantum-server --config-file /etc/quantum/quantum.conf --log-file /var/log/quantum/server.log

I believe that needs to be

exec start-stop-daemon --start --chuid quantum --exec /usr/sbin/quantum-server -- --config-file /etc/quantum/quantum.conf --log-file /var/log/quantum/server.log

Its not at all clear how that got into the PPA, as the Vcs-Bzr tree here does not show it:
lp:~ubuntu-server-dev/quantum/folsom

I'm assigning this to Chuck Short as the last to touch this. To be clear, this is *not* a bug in the official quantal packages, but rather a problem with packags uploaded to the testing PPA by the openstack-ubuntu-testing-bot

Changed in quantum (Ubuntu):
assignee: nobody → Chuck Short (zulcss)
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package quantum - 2012.2~rc1-0ubuntu1

---------------
quantum (2012.2~rc1-0ubuntu1) quantal; urgency=low

  [ Adam Gandelman ]
  * debain/*.postrm: Fix argument-less calls to update-rc.d, redirect
    to /dev/null. (LP: #1047560)
  * debian/quantum-server.upstart: Invoke start-stop-daemon properly.
    (LP: #1047404)
  * debain/*.postrm, *.upstart: Ensure files are named for corresponding
    agent package, not plugin package.
  * debian/control:
    - Group agents with plugins.
    - Fix some copy/paste mistakes.
    - Set dependencies between agents and corresponding plugins.
    - Recommend quantum-plugin-openvswitch for quantum-server.
    - Require the same version of quantum-common and python-quantum.
    - Add quantum-netns-cleanup utility to quantum-common.
  * debian/patches/fix-quantum-configuration.patch: Use correct database
    for linuxbridge plugin, use OVS plugin by default, call quantum-rootwrap
    correctly. (LP: #1048668)
  * Fix all use of /usr/sbin, things should go in /usr/bin.
  * Remove dhcp and l3 plugins, they are not actually plugins.
  * Rename packages quantum-plugin-{l3, dhcp}-agent to
    quantum-{l3, dhcp}-agent.
  * debain/quantum-*-agent.upstart: Specify config files as a
    parameter to --config-file, specify log files for all.
  * debian/*.logrotate: Add logrotate configs for server and agents.
  * Install quantum_sudoers with quantum-common, not quantum-server.
  * Install rootwrap filters only with the packages that require them.
  * debian/*-agent.upstart: Specify --config-file=/etc/quantum/quantum.conf
    in addition to plugin-specific config. Specify log files for all agents.
  * Allow group 'adm' read access to /var/log/quantum.
  * debian/quantum-server.postinst: Drop, all has been moved to quantum-common.
  * Add packaging for quantum-plugin-nec.

  [ Chuck Short ]
  * New usptream release.
 -- Chuck Short <email address hidden> Wed, 12 Sep 2012 13:41:20 -0500

Changed in quantum (Ubuntu):
status: New → Fix Released
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.