Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 851487 Details for
Bug 1053684
Usage of the relative pathes for backing disks impedes the work of libguestfs (RHEV 3.1)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Failed libguestfs launches with different filenames of the inspected disk image
failed_launches_with_other_files (text/plain), 12.32 KB, created by
Vitaly Isaev
on 2014-01-17 09:30:31 UTC
(
hide
)
Description:
Failed libguestfs launches with different filenames of the inspected disk image
Filename:
MIME Type:
Creator:
Vitaly Isaev
Created:
2014-01-17 09:30:31 UTC
Size:
12.32 KB
patch
obsolete
>----------------------DEFINE CWD for QEMU------------------------------------ >[root@rhevh1 /]# pids=`ps aux | grep qemu | gawk '{print $2}'` >[root@rhevh1 /]# for i in ${pids}; do ll /proc/$i/cwd; done >lrwxrwxrwx. 1 qemu qemu 0 2014-01-13 09:04 /proc/5486/cwd -> / >ls: cannot read symbolic link /proc/6175/cwd: No such file or directory >lrwxrwxrwx. 1 root root 0 2014-01-13 09:04 /proc/6175/cwd >lrwxrwxrwx. 1 qemu qemu 0 2014-01-13 09:04 /proc/9253/cwd -> / >lrwxrwxrwx. 1 qemu qemu 0 2013-11-22 10:16 /proc/13747/cwd -> / >lrwxrwxrwx. 1 qemu qemu 0 2014-01-17 07:50 /proc/15217/cwd -> / >lrwxrwxrwx. 1 qemu qemu 0 2014-01-13 09:04 /proc/17936/cwd -> / >lrwxrwxrwx. 1 qemu qemu 0 2014-01-13 09:04 /proc/19676/cwd -> / >lrwxrwxrwx. 1 qemu qemu 0 2013-12-03 12:19 /proc/24174/cwd -> / >ls: cannot access /proc/25508/cwd: No such file or directory >lrwxrwxrwx. 1 qemu qemu 0 2014-01-14 11:53 /proc/32161/cwd -> / > >---------------------TRYING TO FIND DESIRED IDS...--------------------------- >[root@rhevh1 integrity]# find / -name 666faa62-da73-4465-aed2-912119fcf67f >/dev/1a9aa971-f81f-4ad8-932f-607034c924fc/666faa62-da73-4465-aed2-912119fcf67f >/var/lib/stateless/writable/rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f >/rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f > >---------------------TRYING TO OPEN /dev/1a9aa971-f81f-4ad8-932f-607034c924fc/666faa62-da73-4465-aed2-912119fcf67f------------------------------------------------ >[root@rhevh1 /]# mount -o remount,rw / >[root@rhevh1 /]# cp /tmp/integrity/test.py / >[root@rhevh1 /]# mount -o remount,ro / >[root@rhevh1 /]# /test.py /dev/1a9aa971-f81f-4ad8-932f-607034c924fc/666faa62-da73-4465-aed2-912119fcf67f >libguestfs: new guestfs handle 0x21c15d0 >libguestfs: trace: add_drive_opts "/dev/1a9aa971-f81f-4ad8-932f-607034c924fc/666faa62-da73-4465-aed2-912119fcf67f" "readonly:true" >libguestfs: trace: add_drive_opts = 0 >libguestfs: trace: launch >libguestfs: [00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/lib64/guestfs/supermin.d' x86_64 >supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) >supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d >checking modpath /lib/modules/2.6.32-358.6.1.el6.x86_64 is a directory >picked vmlinuz-2.6.32-358.6.1.el6.x86_64 because modpath /lib/modules/2.6.32-358.6.1.el6.x86_64 exists >supermin helper [00000ms] finished creating kernel >supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d >supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/base.img >supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img >supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles >supermin helper [00025ms] visiting /usr/lib64/guestfs/supermin.d/init.img >supermin helper [00025ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.hostfiles >supermin helper [00026ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.img >supermin helper [00026ms] adding kernel modules >supermin helper [00052ms] finished creating appliance >libguestfs: [00056ms] begin testing qemu features >libguestfs: [00081ms] finished testing qemu features >libguestfs: accept_from_daemon: 0x21c15d0 g->state = 1 >[00081ms] /usr/libexec/qemu-kvm \ > -global virtio-blk-pci.scsi=off \ > -nodefconfig \ > -nodefaults \ > -nographic \ > -drive file=/dev/1a9aa971-f81f-4ad8-932f-607034c924fc/666faa62-da73-4465-aed2-912119fcf67f,snapshot=on,if=virtio \ > -nodefconfig \ > -machine accel=kvm:tcg \ > -m 500 \ > -no-reboot \ > -device virtio-serial \ > -serial stdio \ > -device sga \ > -chardev socket,path=/tmp/libguestfsh3KANm/guestfsd.sock,id=channel0 \ > -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ > -kernel /var/tmp/.guestfs-0/kernel.26286 \ > -initrd /var/tmp/.guestfs-0/initrd.26286 \ > -append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \ > -drive file=/var/tmp/.guestfs-0/root.26286,snapshot=on,if=virtio,cache=unsafeqemu-kvm: -drive file=/dev/1a9aa971-f81f-4ad8-932f-607034c924fc/666faa62-da73-4465-aed2-912119fcf67f,snapshot=on,if=virtio: could not open disk image /dev/1a9aa971-f81f-4ad8-932f-607034c924fc/666faa62-da73-4465-aed2-912119fcf67f: No such file or directory >libguestfs: child_cleanup: 0x21c15d0: child process died >libguestfs: trace: launch = -1 (error) >Traceback (most recent call last): > File "/test.py", line 8, in <module> > g.launch() > File "/usr/lib/python2.6/site-packages/guestfs.py", line 251, in launch >RuntimeError: guestfs_launch failed, see earlier error messages >libguestfs: trace: close >libguestfs: closing guestfs handle 0x21c15d0 (state 0) > > >---------------------TRYING TO OPEN /var/lib/stateless/writable/rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f------------------------------------------------ >[root@rhevh1 /]# /test.py /var/lib/stateless/writable/rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f >libguestfs: new guestfs handle 0x1bac5d0 >libguestfs: trace: add_drive_opts "/var/lib/stateless/writable/rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f" "readonly:true" >libguestfs: trace: add_drive_opts = 0 >libguestfs: trace: launch >libguestfs: [00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/lib64/guestfs/supermin.d' x86_64 >supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) >supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d >checking modpath /lib/modules/2.6.32-358.6.1.el6.x86_64 is a directory >picked vmlinuz-2.6.32-358.6.1.el6.x86_64 because modpath /lib/modules/2.6.32-358.6.1.el6.x86_64 exists >supermin helper [00000ms] finished creating kernel >supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d >supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/base.img >supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img >supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles >supermin helper [00027ms] visiting /usr/lib64/guestfs/supermin.d/init.img >supermin helper [00027ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.hostfiles >supermin helper [00028ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.img >supermin helper [00028ms] adding kernel modules >supermin helper [00052ms] finished creating appliance >libguestfs: [00057ms] begin testing qemu features >libguestfs: [00077ms] finished testing qemu features >libguestfs: accept_from_daemon: 0x1bac5d0 g->state = 1 >[00078ms] /usr/libexec/qemu-kvm \ > -global virtio-blk-pci.scsi=off \ > -nodefconfig \ > -nodefaults \ > -nographic \ > -drive file=/var/lib/stateless/writable/rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f,snapshot=on,if=virtio \ > -nodefconfig \ > -machine accel=kvm:tcg \ > -m 500 \ > -no-reboot \ > -device virtio-serial \ > -serial stdio \ > -device sga \ > -chardev socket,path=/tmp/libguestfsKWQ6eq/guestfsd.sock,id=channel0 \ > -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ > -kernel /var/tmp/.guestfs-0/kernel.26498 \ > -initrd /var/tmp/.guestfs-0/initrd.26498 \ > -append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \ > -drive file=/var/tmp/.guestfs-0/root.26498,snapshot=on,if=virtio,cache=unsafeqemu-kvm: -drive file=/var/lib/stateless/writable/rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f,snapshot=on,if=virtio: could not open disk image /var/lib/stateless/writable/rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f: No such file or directory >libguestfs: child_cleanup: 0x1bac5d0: child process died >libguestfs: trace: launch = -1 (error) >Traceback (most recent call last): > File "/test.py", line 8, in <module> > g.launch() > File "/usr/lib/python2.6/site-packages/guestfs.py", line 251, in launch >RuntimeError: guestfs_launch failed, see earlier error messages >libguestfs: trace: close >libguestfs: closing guestfs handle 0x1bac5d0 (state 0) >[root@rhevh1 /]# > >---------------------TRYING TO OPEN /rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f------------------------------------------------ >[root@rhevh1 /]# /test.py /rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f >libguestfs: new guestfs handle 0x202e5d0 >libguestfs: trace: add_drive_opts "/rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f" "readonly:true" >libguestfs: trace: add_drive_opts = 0 >libguestfs: trace: launch >libguestfs: [00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/lib64/guestfs/supermin.d' x86_64 >supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null) >supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d >checking modpath /lib/modules/2.6.32-358.6.1.el6.x86_64 is a directory >picked vmlinuz-2.6.32-358.6.1.el6.x86_64 because modpath /lib/modules/2.6.32-358.6.1.el6.x86_64 exists >supermin helper [00000ms] finished creating kernel >supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d >supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/base.img >supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img >supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles >supermin helper [00024ms] visiting /usr/lib64/guestfs/supermin.d/init.img >supermin helper [00024ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.hostfiles >supermin helper [00024ms] visiting /usr/lib64/guestfs/supermin.d/ntfs.img >supermin helper [00024ms] adding kernel modules >supermin helper [00049ms] finished creating appliance >libguestfs: [00055ms] begin testing qemu features >libguestfs: [00078ms] finished testing qemu features >libguestfs: accept_from_daemon: 0x202e5d0 g->state = 1 >[00079ms] /usr/libexec/qemu-kvm \ > -global virtio-blk-pci.scsi=off \ > -nodefconfig \ > -nodefaults \ > -nographic \ > -drive file=/rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f,snapshot=on,if=virtio \ > -nodefconfig \ > -machine accel=kvm:tcg \ > -m 500 \ > -no-reboot \ > -device virtio-serial \ > -serial stdio \ > -device sga \ > -chardev socket,path=/tmp/libguestfsYzV3QB/guestfsd.sock,id=channel0 \ > -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ > -kernel /var/tmp/.guestfs-0/kernel.26703 \ > -initrd /var/tmp/.guestfs-0/initrd.26703 \ > -append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \ > -drive file=/var/tmp/.guestfs-0/root.26703,snapshot=on,if=virtio,cache=unsafeqemu-kvm: -drive file=/rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f,snapshot=on,if=virtio: could not open disk image /rhev/data-center/mnt/blockSD/1a9aa971-f81f-4ad8-932f-607034c924fc/images/6439863f-2d4e-48ae-a150-f9054650789c/666faa62-da73-4465-aed2-912119fcf67f: No such file or directory >libguestfs: child_cleanup: 0x202e5d0: child process died >libguestfs: trace: launch = -1 (error) >Traceback (most recent call last): > File "/test.py", line 8, in <module> > g.launch() > File "/usr/lib/python2.6/site-packages/guestfs.py", line 251, in launch >RuntimeError: guestfs_launch failed, see earlier error messages >libguestfs: trace: close >libguestfs: closing guestfs handle 0x202e5d0 (state 0) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1053684
:
850579
|
850581
| 851487 |
852710
|
852712