Launching instance fails: no tty present and no askpass program specified (qemu-nbd)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
High
|
Thierry Carrez | ||
nova (Ubuntu) |
Fix Released
|
High
|
Thierry Carrez |
Bug Description
Fresh server (Ubuntu 10.10), installed from trunk (nova-compute: 2011.1~
), no modifications
Following error occurs when trying to launch any instance: (snippet from nova-compute.log)
(nova.virt.
Command: sudo qemu-nbd -c /dev/nbd7 /var/lib/
Exit code: 1
Stdout: ''
Stderr: 'sudo: no tty present and no askpass program specified\n')
libvir: QEMU error : operation failed: failed to retrieve chardev info in qemu with 'info chardev'
(nova.exception 2011.1-
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: self._conn.
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: if ret is None:raise libvirtError(
(nova.exception): TRACE: libvirtError: operation failed: failed to retrieve chardev info in qemu with 'info chardev'
(nova.exception): TRACE:
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
libvir: QEMU error : Domain not found: no domain with matching name 'instance-0000000e'
Related branches
- OpenStack Ubuntu packagers: Pending requested
-
Diff: 27 lines (+5/-1)2 files modifieddebian/changelog (+4/-1)
debian/nova_sudoers (+1/-0)
Changed in nova: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in nova: | |
assignee: | nobody → Thierry Carrez (ttx) |
status: | Triaged → In Progress |
Changed in nova (Ubuntu): | |
assignee: | nobody → Thierry Carrez (ttx) |
importance: | Undecided → High |
status: | New → In Progress |
summary: |
Launching instance fails: no tty present and no askpass program - specified + specified (qemu-nbd) |
qemu-nbd needs to be added to sudoers file in the packaging