"device-mapper resume ioctl failed" when run a instance

Posted by user1490377 on Stack Overflow See other posts from Stack Overflow or by user1490377
Published on 2012-06-29T07:04:04Z Indexed on 2012/06/29 9:16 UTC
Read the original article Hit count: 1111

Filed under:
|
|
|

I install ubuntu-12.04 server and openstack on two computer.

When Launch an image, the instance can't run and show error state!

nova-compute.log details:

2012-06-24 12:02:00 DEBUG nova.utils [req-71fdca27-5f93-438e-a4be-ddc54f698171 c737b66b2102415f817ca50b9649fd8f 5b1da4eaee3643919a230efc06473720] Unexpected error while running command.

Command: sudo nova-rootwrap kpartx -a /dev/nbd15

Exit code: 1

Stdout: ''

Stderr:

'device-mapper: resume ioctl failed: Invalid
argument\ncreate/reload failed on nbd15p1\n' from (pid=1267) trycmd
/usr/lib/python2.7/dist-packages/nova/utils.py:277

2012-06-24 12:02:00 DEBUG nova.utils [req-71fdca27-5f93-438e-a4be-ddc54f698171 c737b66b2102415f817ca50b9649fd8f 5b1da4eaee3643919a230efc06473720] Running cmd (subprocess): sudo nova-rootwrap qemu-nbd -d /dev/nbd15 from (pid=1267) execute /usr/lib/python2.7/dist-packages/nova/utils.py:219

2012-06-24 12:02:02 DEBUG nova.virt.disk.api [req-71fdca27-5f93-438e-a4be-ddc54f698171 c737b66b2102415f817ca50b9649fd8f 5b1da4eaee3643919a230efc06473720] Failed to map partitions: Unexpected error while running command.

Command: sudo nova-rootwrap kpartx -a /dev/nbd15

Exit code: 1

Stdout: ''

Stderr:

'device-mapper: resume ioctl failed: Invalid

argument\ncreate/reload failed on nbd15p1\n' from (pid=1267) mount /usr/lib/python2.7/dist-packages/nova/virt/disk/api.py:205

© Stack Overflow or respective owner

Related posts about linux

Related posts about ubuntu