Bug ID 1021952
Summary Virtualization/xen: Bug xen-tools missing /usr/bin/domu-xenstore ; guests fail to launch
Classification openSUSE
Product openSUSE.org
Version unspecified
Hardware All
OS openSUSE 42.2
Status NEW
Severity Normal
Priority P5 - None
Component 3rd party software
Assignee carnold@suse.com
Reporter lists@ssl-mail.com
QA Contact opensuse-communityscreening@forge.provo.novell.com
Found By ---
Blocker ---

After upgrades to

    uname -rm
        4.9.5-3.g9bb1a8a-default x86_64

    rpm -qa | egrep -i "^xen"
        xen-4.8.0_03-471.1.x86_64
        xen-libs-4.8.0_03-471.1.x86_64
        xen-tools-4.8.0_03-471.1.x86_64

Guest launches all fail; @ console

    xl create test.cfg
        Parsing config from test.cfg
        got a tsc mode string: "default"
        libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/block add [4544] exited with error status 127
        libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/block add [4545] exited with error status 127
        libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/block add [4547] exited with error status 127
        libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/block add [4546] exited with error status 127
        libxl: error: libxl_create.c:1255:domcreate_launch_dm: unable to add
disk devices
        libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/block remove [4637] exited with error status 127
        libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/block remove [4635] exited with error status 127
        libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/block remove [4638] exited with error status 127
        libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/block remove [4636] exited with error status 127
        libxl: error: libxl.c:1596:libxl__destroy_domid: non-existant domain 4
        libxl: error: libxl.c:1555:domain_destroy_callback: unable to destroy
guest with domid 4
        libxl: error: libxl.c:1484:domain_destroy_cb: destruction of domain 4
failed


and in logs

    cd /var/log/xen
    tail -f xl-test.log qemu-dm-test.log xen-hotplug.log

        /etc/xen/scripts/xen-hotplug-common.sh: line 64: xenstore-read: command
not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 64: xenstore-read: command
not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 64: xenstore-read: command
not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 64: xenstore-read: command
not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 64: xenstore-read: command
not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 64: xenstore-read: command
not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 64: xenstore-read: command
not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 64: xenstore-read: command
not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found
        /etc/xen/scripts/xen-hotplug-common.sh: line 88: xenstore-write:
command not found

Checking

    ls -al /usr/bin/xenstore-{read,write}
        lrwxrwxrwx 1 root root 13 Jan 25 07:31 /usr/bin/xenstore-read ->
domu-xenstore
        lrwxrwxrwx 1 root root 13 Jan 25 07:31 /usr/bin/xenstore-write ->
domu-xenstore
    ls -al /usr/bin/domu-xenstore
        ls: cannot access '/usr/bin/domu-xenstore': No such file or directory
    cnf /usr/bin/domu-xenstore
        /usr/bin/domu-xenstore: command not found

    rpm -q --whatprovides /usr/bin/xen* | uniq
        xen-tools-4.8.0_03-471.1.x86_64

    rpm -q --whatprovides /etc/xen/scripts/xen-hotplug-common.sh
        xen-tools-4.8.0_03-471.1.x86_64

    rpm -ql xen-tools-4.8.0_03-471.1.x86_64 | egrep "domu|read|write"
        /usr/bin/xenstore-read
        /usr/bin/xenstore-write
        /usr/lib/xen/bin/readnotes

checking

   
https://build.opensuse.org/package/view_file/Virtualization/xen/xen.spec?expand=1

        1268        %files tools-domU
                %defattr(-,root,root)
                %ifarch %ix86 x86_64
                /usr/bin/xen-detect
                %endif
>>>				/usr/bin/domu-xenstore*
                /usr/bin/xenstore*
                %if %{?with_systemd}0
                /usr/lib/udev
                /usr/lib/dracut
                %endif


You are receiving this mail because: