← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1350799] Re: libvirt: inject password failure due to libguestfs can't write/read image disk located in XFS file system(havana)

 

or  I  format the xfs with  mkfs.xfs -f -s size=512 , that works well for me ,
this is not a openstack bug , will close the bug soon.

** Changed in: nova
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1350799

Title:
  libvirt:  inject password  failure due to libguestfs can't write/read
  image disk located in XFS file system(havana)

Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  test env:
   havana version  nova(2013.2.3)

  libvirt-client-0.10.2-19.el6.x86_64
  libvirt-python-0.10.2-19.el6.x86_64
  libvirt-0.10.2-19.el6.x86_64
  libguestfs-1.20.11-2
  python-libguestfs-1.20.11-2
  libguestfs-tools-c-1.20.11-2

  
  after  setting option  libvirt_inject_password = true and libvirt_inject_partition=-1

  Find warning in compute.log:
  2014-07-31 14:38:44.041 5455 INFO nova.virt.libvirt.driver [req-c80fec35-6558-4327-baed-3f8a4ec00ad5 5e6036480fc3493697188fae7a27804e 1a35053493894082917315de2d5571db] [instance: e9747c77-f1a7-41ce-8934-b4d1270ac90f] Injecting admin_pass into image 9c5b600b-b108-4fdb-a7b4-e707ac4436a5
  2014-07-31 14:38:44.042 5455 DEBUG nova.virt.disk.api [req-c80fec35-6558-4327-baed-3f8a4ec00ad5 5e6036480fc3493697188fae7a27804e 1a35053493894082917315de2d5571db] Inject data image=/var/lib/nova/instances/e9747c77-f1a7-41ce-8934-b4d1270ac90f/disk key=None net=None metadata=[] admin_password=<SANITIZED> files=[] partition=-1 use_cow=True inject_data /usr/lib/python2.6/site-packages/nova/virt/disk/api.py:321
  2014-07-31 14:38:44.043 5455 DEBUG nova.virt.disk.vfs.api [req-c80fec35-6558-4327-baed-3f8a4ec00ad5 5e6036480fc3493697188fae7a27804e 1a35053493894082917315de2d5571db] Instance for image imgfile=/var/lib/nova/instances/e9747c77-f1a7-41ce-8934-b4d1270ac90f/disk imgfmt=qcow2 partition=-1 instance_for_image /usr/lib/python2.6/site-packages/nova/virt/disk/vfs/api.py:31
  2014-07-31 14:38:44.044 5455 DEBUG nova.virt.disk.vfs.api [req-c80fec35-6558-4327-baed-3f8a4ec00ad5 5e6036480fc3493697188fae7a27804e 1a35053493894082917315de2d5571db] Trying to import guestfs instance_for_image /usr/lib/python2.6/site-packages/nova/virt/disk/vfs/api.py:34
  2014-07-31 14:38:44.045 5455 DEBUG nova.virt.disk.vfs.api [req-c80fec35-6558-4327-baed-3f8a4ec00ad5 5e6036480fc3493697188fae7a27804e 1a35053493894082917315de2d5571db] Using primary VFSGuestFS instance_for_image /usr/lib/python2.6/site-packages/nova/virt/disk/vfs/api.py:41
  2014-07-31 14:38:44.046 5455 DEBUG nova.virt.disk.vfs.guestfs [req-c80fec35-6558-4327-baed-3f8a4ec00ad5 5e6036480fc3493697188fae7a27804e 1a35053493894082917315de2d5571db] Setting up appliance for /var/lib/nova/instances/e9747c77-f1a7-41ce-8934-b4d1270ac90f/disk qcow2 setup /usr/lib/python2.6/site-packages/nova/virt/disk/vfs/guestfs.py:111
  2014-07-31 14:38:48.262 5455 DEBUG nova.virt.disk.vfs.guestfs [req-c80fec35-6558-4327-baed-3f8a4ec00ad5 5e6036480fc3493697188fae7a27804e 1a35053493894082917315de2d5571db] Tearing down appliance teardown /usr/lib/python2.6/site-packages/nova/virt/disk/vfs/guestfs.py:140
  2014-07-31 14:38:48.264 5455 WARNING nova.virt.disk.vfs.guestfs [req-c80fec35-6558-4327-baed-3f8a4ec00ad5 5e6036480fc3493697188fae7a27804e 1a35053493894082917315de2d5571db] Failed to close augeas aug_close: call launch before using this function\n(in guestfish, don't forget to use the 'run' command)
  2014-07-31 14:38:48.277 5455 WARNING nova.virt.disk.api [req-c80fec35-6558-4327-baed-3f8a4ec00ad5 5e6036480fc3493697188fae7a27804e 1a35053493894082917315de2d5571db] Ignoring error injecting data into image (Error mounting /var/lib/nova/instances/e9747c77-f1a7-41ce-8934-b4d1270ac90f/disk with libguestfs (guestfs_launch failed.
  See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
  and/or run 'libguestfs-test-tool'.))

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1350799/+subscriptions


References