nova compute cannot run radvd

Bug #758072 reported by Mark Washenberger on 2011-04-11
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Undecided
Unassigned
nova (Ubuntu)
High
Unassigned

Bug Description

This might be a bug that belongs in the packaging project. . . I believe the problem is that nova_sudoers in the packaging for nova does not have /usr/sbin/radvd enabled. This might be able to be addressed in bzr branch lp:~openstack-ubuntu-packagers/ubuntu/natty/nova/ubuntu

Here are the logs that show this problem.

2011-04-11 20:50:26,786 ERROR nova [-] Exception during message handling
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/rpc.py", line 188, in _receive
(nova): TRACE: rval = node_func(context=ctxt, **node_args)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 120, in _wrap
(nova): TRACE: return f(*args, **kw)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 219, in run_instance
(nova): TRACE: self.get_network_topic(context),
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 173, in get_network_topic
(nova): TRACE: host = self.network_manager.get_network_host(context)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/manager.py", line 290, in get_network_host
(nova): TRACE: "args": {"network_id": network_ref['id']}})
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/rpc.py", line 385, in call
(nova): TRACE: raise wait_msg.result
(nova): TRACE: RemoteError: ProcessExecutionError Unexpected error while running command.
(nova): TRACE: Command: sudo -E radvd -C \/var\/lib\/nova\/networks\/nova-ra-br100.conf -p \/var\/lib\/nova\/networks\/nova-ra-br100.pid
(nova): TRACE: Exit code: 1
(nova): TRACE: Stdout: ''
(nova): TRACE: Stderr: 'sudo: no tty present and no askpass program specified\n'
(nova): TRACE: ['Traceback (most recent call last):\n', ' File "\\/usr\\/lib\\/pymodules\\/python2.6\\/nova\\/rpc.py", line 188, in _receive\n rval = node_func(context=ctxt, **node_args)\n', ' File "\\/usr\\/lib\\/pymodules\\/python2.6\\/nova\\/network\\/manager.py", line 165, in set_network_host\n self._on_set_network_host(context, network_id)\n', ' File "\\/usr\\/lib\\/pymodules\\/python2.6\\/nova\\/network\\/manager.py", line 478, in _on_set_network_host\n self.driver.update_ra(context, network_id)\n', ' File "\\/usr\\/lib\\/pymodules\\/python2.6\\/nova\\/utils.py", line 607, in inner\n retval = f(*args, **kwargs)\n', ' File "\\/usr\\/lib\\/pymodules\\/python2.6\\/nova\\/network\\/linux_net.py", line 629, in update_ra\n _execute(*command)\n', ' File "\\/usr\\/lib\\/pymodules\\/python2.6\\/nova\\/network\\/linux_net.py", line 666, in _execute\n return utils.execute(*cmd, **kwargs)\n', ' File "\\/usr\\/lib\\/pymodules\\/python2.6\\/nova\\/utils.py", line 173, in execute\n cmd=\' \'.join(cmd))\n', "ProcessExecutionError: Unexpected error while running command.\nCommand: sudo -E radvd -C \\/var\\/lib\\/nova\\/networks\\/nova-ra-br100.conf -p \\/var\\/lib\\/nova\\/networks\\/nova-ra-br100.pid\nExit code: 1\nStdout: ''\nStderr: 'sudo: no tty present and no askpass program specified\\n'\n"]
(nova): TRACE:

Thierry Carrez (ttx) on 2011-04-12
Changed in nova (Ubuntu):
importance: Undecided → High
status: New → Triaged
Changed in nova:
status: New → Invalid
Chuck Short (zulcss) wrote :

It is a suggests in for the ubuntu packaging. It should probably stay there.

Thierry Carrez (ttx) on 2011-08-01
Changed in nova (Ubuntu):
assignee: nobody → Thierry Carrez (ttx)
status: Triaged → Fix Committed
Thierry Carrez (ttx) on 2011-08-10
Changed in nova (Ubuntu):
assignee: Thierry Carrez (ttx) → nobody
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers