failed to retrieve chardev info with 'info chardev'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Critical
|
Vish Ishaya |
Bug Description
Fresh server (Ubuntu 10.10), installed from trunk (nova-compute: 2011.1~
), Added qemu-nbd to sudoers list per bug #702723
This occurs when trying to launch a new instance.
(nova.virt.
(nova.virt.
(nova.virt.
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-00000014'
Related branches
- Devin Carlen (community): Approve
- Thierry Carrez (community): Approve
- Soren Hansen (community): Approve
-
Diff: 131 lines (+20/-17)3 files modifiednova/tests/test_virt.py (+6/-3)
nova/virt/libvirt.xml.template (+5/-5)
nova/virt/libvirt_conn.py (+9/-9)
Changed in nova: | |
assignee: | nobody → Vish Ishaya (vishvananda) |
status: | New → In Progress |
importance: | Undecided → Critical |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.1 |
status: | Fix Committed → Fix Released |
The nbd issue seems unrelated to the info chardev error. Did you modprobe nbd?
Vish
On Jan 13, 2011, at 9:25 PM, Jordan Rinke wrote:
> Public bug reported: bzr562- 0ubuntu0ppa1~ maverick1 libvirt_ conn 2011.1- workspace: tarmac- 20110114001914- 5vbfe8sm72xr2py 4): INFO [N/A] instance instance-00000014: Creating image libvirt_ conn 2011.1- workspace: tarmac- 20110114001914- 5vbfe8sm72xr2py 4): INFO [N/A] instance instance-00000014: injecting key into image ami-tty libvirt_ conn 2011.1- workspace: tarmac- 20110114001914- 5vbfe8sm72xr2py 4): WARNING [N/A] instance instance-00000014: ignoring error injecting data into image ami-tty (nbd device /dev/nbd2 did not show up) workspace: tarmac- 20110114001914- 5vbfe8sm72xr2py 4): ERROR [N/A] Uncaught exception pymodules/ python2. 6/nova/ exception. py", line 82, in _wrap pymodules/ python2. 6/nova/ virt/libvirt_ conn.py" , line 382, in spawn createXML( xml, 0) python2. 6/dist- packages/ libvirt. py", line 1289, in createXML 'virDomainCreat eXML() failed', conn=self) manager 2011.1- workspace: tarmac- 20110114001914- 5vbfe8sm72xr2py 4): ERROR [ZL6YAREVPQG6RL HDA1QX admin admin] instance 20: Failed to spawn manager) : TRACE: Traceback (most recent call last): manager) : TRACE: File "/usr/lib/ pymodules/ python2. 6/nova/ compute/ manager. py", line 208, in run_instance manager) : TRACE: self.driver. spawn(instance_ ref) manager) : TRACE: File "/usr/lib/ pymodules/ python2. 6/nova/ exception. py", line 88, in _wrap manager) : TRACE: raise Error(str(e)) manager) : TRACE: Error: operation failed: failed to retrieve chardev info in qemu with 'info chardev' manager) : TRACE: /bugs.launchpad .net/bugs/ 702741 bzr562- 0ubuntu0ppa1~ maverick1
>
> Fresh server (Ubuntu 10.10), installed from trunk (nova-compute: 2011.1~
> ), Added qemu-nbd to sudoers list per bug #702723
>
> This occurs when trying to launch a new instance.
>
> (nova.virt.
> (nova.virt.
> (nova.virt.
> 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-00000014'
>
> ** Affects: nova
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Nova Bug
> Team, which is subscribed to OpenStack Compute (nova).
> https:/
>
> Title:
> nbd device did not show up
>
> Status in OpenStack Compute (Nova):
> New
>
> Bug description:
> Fresh server (Ubuntu 10.10), installed from trunk (nova-compute: 2011.1~
> ), Added qemu-nbd to sudoers list per bug #702723
>
> This occurs when...