[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] iSCSI disk goes missing after domU installation



Here is a dump of the xend.log entries which get created when I try to start the domU in question.  I see it complains about /dev/hda and /dev/hdc (CDROM and HD)



[2012-04-18 11:11:54 xend.XendDomainInfo 28917] DEBUG (XendDomainInfo:261) XendDomainInfo.create(['vm', ['name', 'UbuntuServerS1'], ['memory', '4096'], ['maxmem', '4096'], ['vcpus', '2'], ['uuid', 'dcc3a34e-b9d2-4b63-b169-cfa9213330e0'], ['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['vcpus', '2'], ['boot', 'cc'], ['acpi', '1'], ['apic', '1'], ['pae', '1'], ['usb', '1'], ['parallel', 'none'], ['serial', 'pty'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vnc', '1'], ['vncunused', '1'], ['vnclisten', '0.0.0.0'], ['keymap', 'en-us']]], ['device', ['vbd', ['dev', 'hda:disk'], ['uname', 'phy:/dev/disk/by-path/ip-192.168.160.250:3260-iscsi-iqn.1986-03.com.sun:02:f4f32db3-53b1-422c-c979-c568b1e6227b-lun-1'], ['mode', 'w']]], ['device', ['vbd', ['dev', 'hdc:cdrom'], ['uname', 'file:/data/iso/ubuntu-12.04-beta2-desktop-amd64.iso'], ['mode', 'r']]], ['device', ['vif', ['mac', '00:16:3e:20:95:39'], ['bridge', 'xenbr1'], ['script', 'vif-bridge']]], ['device', ['vif', ['mac', '00:16:3e:4e:92:c4'], ['bridge', 'xenbr0'], ['script', 'vif-bridge']]]])
[2012-04-18 11:11:54 xend.XendDomainInfo 28917] DEBUG (XendDomainInfo:383) parseConfig: config is ['vm', ['name', 'UbuntuServerS1'], ['memory', '4096'], ['maxmem', '4096'], ['vcpus', '2'], ['uuid', 'dcc3a34e-b9d2-4b63-b169-cfa9213330e0'], ['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['vcpus', '2'], ['boot', 'cc'], ['acpi', '1'], ['apic', '1'], ['pae', '1'], ['usb', '1'], ['parallel', 'none'], ['serial', 'pty'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vnc', '1'], ['vncunused', '1'], ['vnclisten', '0.0.0.0'], ['keymap', 'en-us']]], ['device', ['vbd', ['dev', 'hda:disk'], ['uname', 'phy:/dev/disk/by-path/ip-192.168.160.250:3260-iscsi-iqn.1986-03.com.sun:02:f4f32db3-53b1-422c-c979-c568b1e6227b-lun-1'], ['mode', 'w']]], ['device', ['vbd', ['dev', 'hdc:cdrom'], ['uname', 'file:/data/iso/ubuntu-12.04-beta2-desktop-amd64.iso'], ['mode', 'r']]], ['device', ['vif', ['mac', '00:16:3e:20:95:39'], ['bridge', 'xenbr1'], ['script', 'vif-bridge']]], ['device', ['vif', ['mac', '00:16:3e:4e:92:c4'], ['bridge', 'xenbr0'], ['script', 'vif-bridge']]]]
[2012-04-18 11:11:54 xend.XendDomainInfo 28917] DEBUG (XendDomainInfo:507) parseConfig: result is {'features': None, 'hpet': None, 'image': ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['vcpus', '2'], ['boot', 'cc'], ['acpi', '1'], ['apic', '1'], ['pae', '1'], ['usb', '1'], ['parallel', 'none'], ['serial', 'pty'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vnc', '1'], ['vncunused', '1'], ['vnclisten', '0.0.0.0'], ['keymap', 'en-us']], 'cpus': None, 'vcpu_avail': None, 'backend': [], 'uuid': 'dcc3a34e-b9d2-4b63-b169-cfa9213330e0', 'on_reboot': 'destroy', 'cpu_weight': None, 'memory': 4096, 'cpu_cap': None, 'localtime': None, 'timer_mode': None, 'start_time': None, 'on_poweroff': 'destroy', 'on_crash': 'destroy', 'device': [('vbd', ['vbd', ['dev', 'hda:disk'], ['uname', 'phy:/dev/disk/by-path/ip-192.168.160.250:3260-iscsi-iqn.1986-03.com.sun:02:f4f32db3-53b1-422c-c979-c568b1e6227b-lun-1'], ['mode', 'w']]), ('vbd', ['vbd', ['dev', 'hdc:cdrom'], ['uname', 'file:/data/iso/ubuntu-12.04-beta2-desktop-amd64.iso'], ['mode', 'r']]), ('vif', ['vif', ['mac', '00:16:3e:20:95:39'], ['bridge', 'xenbr1'], ['script', 'vif-bridge']]), ('vif', ['vif', ['mac', '00:16:3e:4e:92:c4'], ['bridge', 'xenbr0'], ['script', 'vif-bridge']])], 'bootloader': None, 'maxmem': 4096, 'shadow_memory': None, 'name': 'UbuntuServerS1', 'bootloader_args': None, 'vcpus': 2, 'cpu': None}
[2012-04-18 11:11:54 xend.XendDomainInfo 28917] DEBUG (XendDomainInfo:1975) XendDomainInfo.construct: None
[2012-04-18 11:11:54 xend 28917] DEBUG (balloon:146) Balloon: 8476076 KiB free; need 4096; done.
[2012-04-18 11:11:54 xend.XendDomainInfo 28917] DEBUG (XendDomainInfo:2150) XendDomainInfo.initDomain: 72 256
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: boot, val: cc
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: fda, val: None
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: fdb, val: None
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: soundhw, val: None
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: localtime, val: None
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: serial, val: pty
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: std-vga, val: None
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: isa, val: None
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: vcpus, val: 2
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: acpi, val: 1
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: usb, val: 1
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: usbdevice, val: None
[2012-04-18 11:11:54 xend 28917] DEBUG (image:347) args: k, val: en-us
[2012-04-18 11:11:54 xend 28917] DEBUG (image:407) No VNC passwd configured for vfb access
[2012-04-18 11:11:54 xend.XendDomainInfo 28917] DEBUG (XendDomainInfo:2191) _initDomain:shadow_memory=0x0, maxmem=0x1000, memory=0x1000.
[2012-04-18 11:11:54 xend 28917] DEBUG (balloon:146) Balloon: 8475036 KiB free; need 4237312; done.
[2012-04-18 11:11:54 xend 28917] INFO (image:139) buildDomain os=None dom=72 vcpus=2
[2012-04-18 11:11:54 xend 28917] DEBUG (image:275) domid          = 72
[2012-04-18 11:11:54 xend 28917] DEBUG (image:276) image          = /usr/lib/xen/boot/hvmloader
[2012-04-18 11:11:54 xend 28917] DEBUG (image:277) store_evtchn   = 3
[2012-04-18 11:11:54 xend 28917] DEBUG (image:278) memsize        = 4096
[2012-04-18 11:11:54 xend 28917] DEBUG (image:279) vcpus          = 2
[2012-04-18 11:11:54 xend 28917] DEBUG (image:280) pae            = 1
[2012-04-18 11:11:54 xend 28917] DEBUG (image:281) acpi           = 1
[2012-04-18 11:11:54 xend 28917] DEBUG (image:282) apic           = 1
[2012-04-18 11:11:55 xend.XendDomainInfo 28917] DEBUG (XendDomainInfo:677) Checking for duplicate for uname: f4f32db3-53b1-422c-c979-c568b1e6227b-lun-1 [phy:/dev/disk/by-path/ip-192.168.160.250:3260-iscsi-iqn.1986-03.com.sun:02:f4f32db3-53b1-422c-c979-c568b1e6227b-lun-1], dev: hda, mode: w
[2012-04-18 11:11:55 xend 28917] DEBUG (blkif:27) exception looking up device number for hda: [Errno 2] No such file or directory: '/dev/hda'
[2012-04-18 11:11:55 xend 28917] DEBUG (blkif:27) exception looking up device number for hdc: [Errno 2] No such file or directory: '/dev/hdc'
[2012-04-18 11:11:55 xend 28917] DEBUG (blkif:27) exception looking up device number for hda: [Errno 2] No such file or directory: '/dev/hda'
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:133) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/72/768'} to /local/domain/72/device/vbd/768.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:135) DevController: writing {'domain': 'UbuntuServerS1', 'frontend': '/local/domain/72/device/vbd/768', 'format': '/dev/disk/by-path/ip-192.168.160.250', 'dev': 'hda', 'state': '1', 'params': '/dev/disk/by-path/ip-192.168.160.250:3260-iscsi-iqn.1986-03.com.sun:02:f4f32db3-53b1-422c-c979-c568b1e6227b-lun-1', 'mode': 'w', 'online': '1', 'frontend-id': '72', 'type': 'phy'} to /local/domain/0/backend/vbd/72/768.
[2012-04-18 11:11:55 xend.XendDomainInfo 28917] DEBUG (XendDomainInfo:677) Checking for duplicate for uname: /data/iso/ubuntu-12.04-beta2-desktop-amd64.iso [file:/data/iso/ubuntu-12.04-beta2-desktop-amd64.iso], dev: hdc, mode: r
[2012-04-18 11:11:55 xend 28917] DEBUG (blkif:27) exception looking up device number for hdc: [Errno 2] No such file or directory: '/dev/hdc'
[2012-04-18 11:11:55 xend 28917] DEBUG (blkif:27) exception looking up device number for hda: [Errno 2] No such file or directory: '/dev/hda'
[2012-04-18 11:11:55 xend 28917] DEBUG (blkif:27) exception looking up device number for hdc: [Errno 2] No such file or directory: '/dev/hdc'
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:133) DevController: writing {'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/72/5632'} to /local/domain/72/device/vbd/5632.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:135) DevController: writing {'domain': 'UbuntuServerS1', 'frontend': '/local/domain/72/device/vbd/5632', 'format': 'raw', 'dev': 'hdc', 'state': '1', 'params': '/data/iso/ubuntu-12.04-beta2-desktop-amd64.iso', 'mode': 'r', 'online': '1', 'frontend-id': '72', 'type': 'file'} to /local/domain/0/backend/vbd/72/5632.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:133) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:20:95:39', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/72/0'} to /local/domain/72/device/vif/0.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:135) DevController: writing {'bridge': 'xenbr1', 'domain': 'UbuntuServerS1', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'front
end': '/local/domain/72/device/vif/0', 'mac': '00:16:3e:20:95:39', 'online': '1', 'frontend-id': '72'} to /local/domain/0/backend/vif/72/0.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:133) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:4e:92:c4', 'handle': '1', 'state': '1', 'backend': '/local/domain/0/backend/vif/72/1'} to /local/domain/72/device/vif/1.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:135) DevController: writing {'bridge': 'xenbr0', 'domain': 'UbuntuServerS1', 'handle': '1', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/72/device/vif/1', 'mac': '00:16:3e:4e:92:c4', 'online': '1', 'frontend-id': '72'} to /local/domain/0/backend/vif/72/1.
[2012-04-18 11:11:55 xend 28917] INFO (image:453) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '72', '-m', '4096', '-boot', 'cc', '-serial', 'pty', '-vcpus', '2', '-acpi', '-usb', '-k', 'en-us', '-domain-name', 'UbuntuServerS1', '-net', 'nic,vlan=1,macaddr=00:16:3e:20:95:39,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr1', '-net', 'nic,vlan=2,macaddr=00:16:3e:4e:92:c4,model=rtl8139', '-net', 'tap,vlan=2,bridge=xenbr0', '-vnc', '0.0.0.0:72', '-vncunused']
[2012-04-18 11:11:55 xend 28917] INFO (image:456) device model pid: 5855
[2012-04-18 11:11:55 xend.XendDomainInfo 28917] DEBUG (XendDomainInfo:1072) Storing VM details: {'shadow_memory': '34', 'uuid': 'dcc3a34e-b9d2-4b63-b169-cfa9213330e0', 'on_reboot': 'destroy', 'start_time': '1334761915.42', 'on_poweroff': 'destroy', 'name': 'UbuntuServerS1', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'memory': '4096', 'on_crash': 'destroy', 'image': '(hvm (kernel /usr/lib/xen/boot/hvmloader) (vcpus 2) (boot cc) (acpi 1) (apic 1) (pae 1) (usb 1) (parallel none) (serial pty) (device_model /usr/lib64/xen/bin/qemu-dm) (vnc 1) (vncunused 1) (vnclisten 0.0.0.0) (keymap en-us))', 'maxmem': '4096'}
[2012-04-18 11:11:55 xend.XendDomainInfo 28917] DEBUG (XendDomainInfo:1107) Storing domain details: {'console/port': '4', 'name': 'UbuntuServerS1', 'console/limit': '1048576', 'vm': '/vm/dcc3a34e-b9d2-4b63-b169-cfa9213330e0', 'domid': '72', 'cpu/0/availability': 'online', 'memory/target': '4194304', 'store/ring-ref': '983038', 'cpu/1/availability': 'online', 'store/port': '3'}
[2012-04-18 11:11:55 xend.XendDomainInfo 28917] DEBUG (XendDomainInfo:1335) XendDomainInfo.handleShutdownWatch
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:179) Waiting for devices vif.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:184) Waiting for 0.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:571) hotplugStatusCallback /local/domain/0/backend/vif/72/0/hotplug-status.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:571) hotplugStatusCallback /local/domain/0/backend/vif/72/0/hotplug-status.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:585) hotplugStatusCallback 1.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:94) Lock released
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:184) Waiting for 1.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:571) hotplugStatusCallback /local/domain/0/backend/vif/72/1/hotplug-status.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:585) hotplugStatusCallback 1.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:94) Lock released
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:179) Waiting for devices usb.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:179) Waiting for devices vbd.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:184) Waiting for 768.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:571) hotplugStatusCallback /local/domain/0/backend/vbd/72/768/hotplug-status.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:585) hotplugStatusCallback 1.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:94) Lock released
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:184) Waiting for 5632.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:571) hotplugStatusCallback /local/domain/0/backend/vbd/72/5632/hotplug-status.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:585) hotplugStatusCallback 1.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:94) Lock released
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:179) Waiting for devices irq.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:179) Waiting for devices vkbd.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:179) Waiting for devices vfb.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:179) Waiting for devices pci.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:179) Waiting for devices ioports.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:179) Waiting for devices tap.
[2012-04-18 11:11:55 xend 28917] DEBUG (DevController:179) Waiting for devices vtpm.
[2012-04-18 11:11:55 xend 28917] INFO (XendDomain:388) Domain UbuntuServerS1 (72) unpaused.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]