openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #11264
Re: Launching vpn image issue
hi
I found guestmount in libguestfs-tools-c package.
and I had such issue with guestmount in centos.
in ubuntu I thought by default nova-compute would use nbd . if you did not
change img_handlers flag.
On Fri, May 4, 2012 at 8:41 PM, Vijay <vijayrg@xxxxxxxxx> wrote:
> Hello,
> I built cloudpipe image using base oneiric ubuntu iso and uploaded it to
> glance as a raw image.
> (glance add is_public=true disk_format=raw container_format=ovf
> name="cloudpipe image" < cloudpipeimage.img)
> I am trying to launch it using nova api(cloudpipe-create). It does not
> launch correctly. Though euca-describe-instances status says "running", I
> cannot vnc into that vm.
> I see the following errors in nova-compute.log
> guestmount command not found error and other erros following it. (Detailed
> log below)
>
> I am running essex released version on oneiric. I could not find any
> package that has guestmount.
> Is there any package that I am missing?
> Thanks,
> -Vijay
>
> 2012-05-03 15:05:40 DEBUG nova.utils
> [req-7ae87f58-34e4-4800-b2c0-bbac606602d9 project-vpn
> 54dcafb79fcf4438a849bde92a432363] Unexpected error while running command.
> Command: sudo guestmount --rw -a
> /var/lib/nova/instances/instance-00000004/disk -m /dev/sda1 /tmp/tmpX46A8y
> Exit code: 1
> Stdout: ''
> Stderr: 'sudo: guestmount: command not found\n' from (pid=1617) trycmd
> /usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/utils.py:277
> 2012-05-03 15:05:40 DEBUG nova.utils
> [req-7ae87f58-34e4-4800-b2c0-bbac606602d9 project-vpn
> 54dcafb79fcf4438a849bde92a432363] Running cmd (subprocess): sudo fusermount
> -u /tmp/tmpX46A8y from (pid=1617) execute
> /usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/utils.py:219
> 2012-05-03 15:05:40 DEBUG nova.utils
> [req-7ae87f58-34e4-4800-b2c0-bbac606602d9 project-vpn
> 54dcafb79fcf4438a849bde92a432363] Result was 1 from (pid=1617) execute
> /usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/utils.py:235
> 2012-05-03 15:05:40 DEBUG nova.utils
> [req-7ae87f58-34e4-4800-b2c0-bbac606602d9 project-vpn
> 54dcafb79fcf4438a849bde92a432363] Unexpected error while running command.
> Command: sudo fusermount -u /tmp/tmpX46A8y
> Exit code: 1
> Stdout: ''
> Stderr: 'fusermount: failed to unmount /tmp/tmpX46A8y: Invalid argument\n'
> from (pid=1617) trycmd
> /usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/utils.py:277
> 2012-05-03 15:05:40 DEBUG nova.virt.disk.api
> [req-7ae87f58-34e4-4800-b2c0-bbac606602d9 project-vpn
> 54dcafb79fcf4438a849bde92a432363] Failed to mount filesystem: Unexpected
> error while running command.
> Command: sudo guestmount --rw -a
> /var/lib/nova/instances/instance-00000004/disk -m /dev/sda1 /tmp/tmpX46A8y
> Exit code: 1
> Stdout: ''
> Stderr: 'sudo: guestmount: command not found\n' from (pid=1617) mount
> /usr/local/lib/python2.7/dist-packages/nova-2012.1-py2.7.egg/nova/virt/disk/api.py:205
> 2012-05-03 15:05:40 WARNING nova.virt.libvirt.connection
> [req-7ae87f58-34e4-4800-b2c0-bbac606602d9 project-vpn
> 54dcafb79fcf4438a849bde92a432363] [instance:
> 242a54e8-b7b0-4517-8582-b1321376aa0a] Ignoring error injecting data into
> image 705ba7d3-945a-4b32-b103-8f958fc72a7a (
> --
> Failed to map partitions: no partitions found
> --
> Failed to mount filesystem: Unexpected error while running command.
> Command: sudo guestmount --rw -a
> /var/lib/nova/instances/instance-00000004/disk -m /dev/sda1 /tmp/tmpX46A8y
> Exit code: 1
> Stdout: ''
> Stderr: 'sudo: guestmount: command not found\n')
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References