http://bugzilla.novell.com/show_bug.cgi?id=623470 http://bugzilla.novell.com/show_bug.cgi?id=623470#c0 Summary: iscsi problem when starting xen domU Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: jdouglas@novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- Blocker: --- setup: my xen dom0 server uses 2 iscsi servers for domU disks (192.168.178.3 and 192.168.178.4). xen domU "os-suse103" with disk from 192.168.178.3 does *not* start up if iscsi server on 192.168.178.4 does not start (did not start up because of missing kernel module): # iscsiadm -m node | sort | cut -d, -f1 | uniq -c 28 192.168.178.3:3260 19 192.168.178.4:3260 # iscsiadm -m node | grep os-suse103 192.168.178.3:3260,1 iqn.2010-04.de.science-computing:os-suse103-flat.vmdk 192.168.178.3:3260,1 iqn.2010-04.de.science-computing:os-suse103-0-flat.vmdk iscsi server on 192.168.178.3 is up and running, 192.168.178.4 is down. trying to "xm create -c os-suse103" gives errors in /var/log/xen/xen-hotplug.log : ------------------------------------------------------------------------------- iscsiadm: cannot make connection to 192.168.178.4:3260 (111) iscsiadm: connection to discovery address 192.168.178.4 failed iscsiadm: cannot make connection to 192.168.178.4:3260 (111) iscsiadm: connection to discovery address 192.168.178.4 failed iscsiadm: cannot make connection to 192.168.178.4:3260 (111) iscsiadm: connection to discovery address 192.168.178.4 failed iscsiadm: cannot make connection to 192.168.178.4:3260 (111) iscsiadm: connection to discovery address 192.168.178.4 failed iscsiadm: cannot make connection to 192.168.178.4:3260 (111) iscsiadm: connection to discovery address 192.168.178.4 failed iscsiadm: connection login retries (reopen_max) 5 exceeded ------------------------------------------------------------------------------- and from /var/log/xen/xend.log: ------------------------------------------------------------------------------- [2010-07-19 15:23:00 4555] DEBUG (XendDomainInfo:514) XendDomainInfo.shutdown(poweroff) [2010-07-19 15:23:00 4555] DEBUG (XendDomainInfo:1733) XendDomainInfo.handleShutdownWatch [2010-07-19 15:23:00 4555] DEBUG (XendDomainInfo:1733) XendDomainInfo.handleShutdownWatch [2010-07-19 15:23:46 4555] INFO (XendDomainInfo:1919) Domain has shutdown: name=os-suse103 id=68 reason=poweroff. [2010-07-19 15:23:47 4555] DEBUG (XendDomainInfo:2757) XendDomainInfo.destroy: domid=68 [2010-07-19 15:23:47 4555] DEBUG (XendDomainInfo:2227) Destroying device model [2010-07-19 15:23:47 4555] DEBUG (XendDomainInfo:2234) Releasing devices [2010-07-19 15:23:47 4555] DEBUG (XendDomainInfo:2247) Removing vif/0 [2010-07-19 15:23:47 4555] DEBUG (XendDomainInfo:1137) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0 [2010-07-19 15:23:47 4555] DEBUG (XendDomainInfo:2247) Removing console/0 [2010-07-19 15:23:47 4555] DEBUG (XendDomainInfo:1137) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0 [2010-07-19 15:23:47 4555] DEBUG (XendDomainInfo:2247) Removing vbd/768 [2010-07-19 15:23:47 4555] DEBUG (XendDomainInfo:1137) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768 [2010-07-19 15:23:47 4555] DEBUG (XendDomainInfo:2247) Removing vbd/832 [2010-07-19 15:23:47 4555] DEBUG (XendDomainInfo:1137) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/832 [2010-07-19 15:23:57 4555] DEBUG (XendDomainInfo:94) XendDomainInfo.create(['vm', ['name', 'os-suse103'], ['memory', 1000], ['maxmem', 2048], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 4], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['bootloader', '/usr/lib/xen/boot/domUloader.py'], ['bootloader_args', '--entry=hda2:/boot/vmlinuz-xenpae,/boot/initrd-xenpae'], ['image', ['linux', ['videoram', 4], ['args', 'root=/dev/hda2']]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'iscsi:iqn.2010-04.de.science-computing:os-suse103-flat.vmdk'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'iscsi:iqn.2010-04.de.science-computing:os-suse103-0-flat.vmdk'], ['dev', 'hdb'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'br0'], ['mac', '00:0c:29:c1:cf:ef'], ['model', 'rtl8139']]]]) [2010-07-19 15:23:57 4555] DEBUG (XendDomainInfo:2324) XendDomainInfo.constructDomain [2010-07-19 15:23:57 4555] DEBUG (balloon:185) Balloon: 4499012 KiB free; need 4096; done. [2010-07-19 15:23:59 4555] DEBUG (XendDomain:453) Adding Domain: 69 [2010-07-19 15:23:59 4555] DEBUG (XendDomainInfo:2525) XendDomainInfo.initDomain: 69 256 [2010-07-19 15:23:59 4555] INFO (XendDomainInfo:2948) Mounting iqn.2010-04.de.science-computing:os-suse103-flat.vmdk on /dev/xvdp. [2010-07-19 15:23:59 4555] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '51952', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/0/51952'} to /local/domain/0/device/vbd/51952. [2010-07-19 15:23:59 4555] DEBUG (DevController:97) DevController: writing {'domain': 'Domain-0', 'frontend': '/local/domain/0/device/vbd/51952', 'uuid': '0bad18ee-be5d-bcf5-5988-397fcf313c75', 'bootable': '0', 'dev': '/dev/xvdp', 'state': '1', 'params': 'iqn.2010-04.de.science-computing:os-suse103-flat.vmdk', 'mode': 'w', 'online': '1', 'frontend-id': '0', 'type': 'iscsi'} to /local/domain/0/backend/vbd/0/51952. [2010-07-19 15:23:59 4555] DEBUG (DevController:144) Waiting for 51952. [2010-07-19 15:23:59 4555] DEBUG (DevController:654) hotplugStatusCallback /local/domain/0/backend/vbd/0/51952/hotplug-status. [2010-07-19 15:24:05 4555] DEBUG (DevController:654) hotplugStatusCallback /local/domain/0/backend/vbd/0/51952/hotplug-status. [2010-07-19 15:24:05 4555] DEBUG (DevController:668) hotplugStatusCallback 2. [2010-07-19 15:24:05 4555] ERROR (XendDomainInfo:3662) Device 51952 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected. Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 3658, in create_vbd dev_control.waitForDevice(devid) File "/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py", line 165, in waitForDevice "%s" % (devid, self.deviceClass, err)) VmError: Device 51952 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected. [2010-07-19 15:24:05 4555] ERROR (XendDomainInfo:479) VM start failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 459, in start XendTask.log_progress(31, 60, self._initDomain) File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2527, in _initDomain self._configureBootloader() File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2957, in _configureBootloader vbd_uuid = dom0.create_vbd(vbd, disk) File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 3658, in create_vbd dev_control.waitForDevice(devid) File "/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py", line 165, in waitForDevice "%s" % (devid, self.deviceClass, err)) VmError: Device 51952 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected. [2010-07-19 15:24:05 4555] DEBUG (XendDomainInfo:2757) XendDomainInfo.destroy: domid=69 [2010-07-19 15:24:05 4555] DEBUG (XendDomainInfo:2232) No device model [2010-07-19 15:24:05 4555] DEBUG (XendDomainInfo:2234) Releasing devices [2010-07-19 15:24:05 4555] ERROR (XendDomainInfo:99) Domain construction failed Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 97, in create vm.start() File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 459, in start XendTask.log_progress(31, 60, self._initDomain) File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress retval = func(*args, **kwds) File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2527, in _initDomain self._configureBootloader() File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2957, in _configureBootloader vbd_uuid = dom0.create_vbd(vbd, disk) File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 3658, in create_vbd dev_control.waitForDevice(devid) File "/usr/lib64/python2.6/site-packages/xen/xend/server/DevController.py", line 165, in waitForDevice "%s" % (devid, self.deviceClass, err)) VmError: Device 51952 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected. ------------------------------------------------------------------------------- as soon as I start iscsitarget on 192.168.178.4 the domU "os-suse103" will start up again. manual access to that iscsi disk always works ok: # iscsiadm -m node -T iqn.2010-04.de.science-computing:os-suse103-flat.vmdk --login Logging in to [iface: default, target: iqn.2010-04.de.science-computing:os-suse103-flat.vmdk, portal: 192.168.178.3,3260] Login to [iface: default, target: iqn.2010-04.de.science-computing:os-suse103-flat.vmdk, portal: 192.168.178.3,3260]: successful # iscsiadm -m node -T iqn.2010-04.de.science-computing:os-suse103-flat.vmdk --logout Logging out of session [sid: 75, target: iqn.2010-04.de.science-computing:os-suse103-flat.vmdk, portal: 192.168.178.3,3260] Logout of [sid: 75, target: iqn.2010-04.de.science-computing:os-suse103-flat.vmdk, portal: 192.168.178.3,3260]: successful # this xen dom0 server does *not* use/access any disks from 192.168.178.4, all disk images come from 192.168.178.3. 192.168.178.4 is the iscsi server for a 2nd dom0 and is configured only to be able to migrate those domUs between xen servers (but used by default, but working if needed). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.