mftahy
2011-Jun-29 16:44 UTC
[Xen-users] no Disk drive detected when provisioning new vms or after restarting a vm
Hi All
I have xen 4.0 in centos dom0
the machine was working fine for months and yesterday out of sudden I
can no longer provision new vms and to make things worst If any vm
shutdown I cannot re run it again .
the vm stop at the process of detecting the (ubuntu and debian all versions)
[!] Detect Disks "No disk drive was detected. If you know the name of
the driver needed by your disk drive, you can select it from the list"
and when I choose xen-blkfront it doesnt do anything and I get the same
message back
on centos the message is a bit different that the system cannot create
/boot partition due to not enough space
I have attached the cfg file for installing the debian one
I tried to see the log exactly at the moment the vm tries to detect hard
disk driver but nothing is written to the log at the moment
also I have attached the log when I type xm create command as well
here is my cfg for the vm
any help would be really appreciated
I am willing to pay for the help
this is a live server with live clients on it and I need any help here
Thanks
===================kernel =
''/xenkernels/vmlinuz-debian-squeeze-386''
ramdisk = ''/xenkernels/initrd-debian-squeeze-386.gz''
vcpus = ''1''
memory = ''256''
disk = [
''phy:/dev/xenvms/Jason283-disk,xvda,w'',
]
name = ''Jason283''
vif = [
''ip=XXXXXX,mac=00:16:3E:ED:CE:2C,vifname=Jason283'' ]
on_poweroff = ''destroy''
on_reboot = ''destroy''
on_crash = ''destroy''
============xm create log
2011-06-28 20:00:37 802] INFO (XMLRPCServer:156) Opening Unix domain
socket XML-RPC server on /var/run/xend/xmlrpc.sock.
[2011-06-28 20:00:50 802] DEBUG (XendDomainInfo:101)
XendDomainInfo.create([''vm'', [''name'',
''Jason283''], [''memory'',
''512''],
[''on_poweroff'', ''destroy''],
[''on_reboot'', ''restart''],
[''on_crash'',
''restart''], [''on_xend_start'',
''ignore''], [''on_xend_stop'',
''ignore''],
[''vcpus'', 2], [''cpu_weight'', 512],
[''oos'', 1], [''image'',
[''linux'',
[''kernel'',
''/xenkernels/vmlinuz-ubuntu-11-64''],
[''ramdisk'',
''/xenkernels/initrd-ubuntu-11-64.gz''],
[''videoram'', 4], [''tsc_mode'', 0],
[''nomigrate'', 0]]], [''s3_integrity'', 1],
[''device'', [''vbd'',
[''uname'',
''phy:/dev/xenvms/Jason283-disk''], [''dev'',
''xvda''], [''mode'', ''w'']]],
[''device'', [''vif'', [''ip'',
''XXXXXXXXX''], [''vifname'',
''Jason283''],
[''bridge'', ''xenbr0'']]]])
[2011-06-28 20:00:50 802] DEBUG (XendDomainInfo:2508)
XendDomainInfo.constructDomain
[2011-06-28 20:00:50 802] DEBUG (balloon:220) Balloon: 15426364 KiB
free; need 16384; done.
[2011-06-28 20:00:50 802] DEBUG (XendDomain:464) Adding Domain: 844
[2011-06-28 20:00:50 802] DEBUG (XendDomainInfo:2818)
XendDomainInfo.initDomain: 844 512
[2011-06-28 20:00:50 802] DEBUG (XendDomainInfo:2845)
_initDomain:shadow_memory=0x0, memory_static_max=0x20000000,
memory_static_min=0x0.
[2011-06-28 20:00:50 802] INFO (image:182) buildDomain os=linux dom=844
vcpus=2
[2011-06-28 20:00:50 802] DEBUG (image:721) domid = 844
[2011-06-28 20:00:50 802] DEBUG (image:722) memsize = 512
[2011-06-28 20:00:50 802] DEBUG (image:723) image =
/xenkernels/vmlinuz-ubuntu-11-64
[2011-06-28 20:00:50 802] DEBUG (image:724) store_evtchn = 1
[2011-06-28 20:00:50 802] DEBUG (image:725) console_evtchn = 2
[2011-06-28 20:00:50 802] DEBUG (image:726) cmdline [2011-06-28 20:00:50
802] DEBUG (image:727) ramdisk =
/xenkernels/initrd-ubuntu-11-64.gz
[2011-06-28 20:00:50 802] DEBUG (image:728) vcpus = 2
[2011-06-28 20:00:50 802] DEBUG (image:729) features [2011-06-28 20:00:50
802] DEBUG (image:730) flags = 0
[2011-06-28 20:00:50 802] DEBUG (image:731) superpages = 0
[2011-06-28 20:00:51 802] INFO (XendDomainInfo:2367) createDevice: vbd :
{''uuid'':
''f0870bfb-3120-2af5-bcd9-5b91f501332a'',
''bootable'': 1,
''driver'': ''paravirtualised'',
''dev'': ''xvda'', ''uname'':
''phy:/dev/xenvms/Jason283-disk'', ''mode'':
''w''}
[2011-06-28 20:00:51 802] DEBUG (DevController:95) DevController:
writing {''virtual-device'': ''51712'',
''device-type'': ''disk'',
''protocol'':
''x86_64-abi'', ''backend-id'':
''0'', ''state'': ''1'',
''backend'':
''/local/domain/0/backend/vbd/844/51712''} to
/local/domain/844/device/vbd/51712.
[2011-06-28 20:00:51 802] DEBUG (DevController:97) DevController:
writing {''domain'': ''Jason283'',
''frontend'':
''/local/domain/844/device/vbd/51712'',
''uuid'':
''f0870bfb-3120-2af5-bcd9-5b91f501332a'',
''bootable'': ''1'', ''dev'':
''xvda'',
''state'': ''1'', ''params'':
''/dev/xenvms/Jason283-disk'', ''mode'':
''w'',
''online'': ''1'',
''frontend-id'': ''844'',
''type'': ''phy''} to
/local/domain/0/backend/vbd/844/51712.
[2011-06-28 20:00:51 802] INFO (XendDomainInfo:2367) createDevice: vif :
{''bridge'': ''xenbr0'', ''ip'':
''XXXXXXXXX'', ''mac'':
''00:16:3e:23:d1:8d'',
''uuid'':
''c796390c-88c4-4c48-612e-709d332e7071'',
''vifname'': ''Jason283''}
[2011-06-28 20:00:51 802] DEBUG (DevController:95) DevController:
writing {''mac'': ''00:16:3e:23:d1:8d'',
''handle'': ''0'', ''protocol'':
''x86_64-abi'', ''backend-id'':
''0'', ''state'': ''1'',
''backend'':
''/local/domain/0/backend/vif/844/0''} to
/local/domain/844/device/vif/0.
[2011-06-28 20:00:51 802] DEBUG (DevController:97) DevController:
writing {''bridge'': ''xenbr0'',
''domain'': ''Jason283'',
''handle'': ''0'',
''uuid'':
''c796390c-88c4-4c48-612e-709d332e7071'',
''script'':
''/etc/xen/scripts/vif-bridge'', ''ip'':
''XXXXXXXXX'', ''mac'':
''00:16:3e:23:d1:8d'', ''frontend-id'':
''844'', ''state'': ''1'',
''vifname'':
''Jason283'', ''online'': ''1'',
''frontend'':
''/local/domain/844/device/vif/0''}
to /local/domain/0/backend/vif/844/0.
[2011-06-28 20:00:54 802] DEBUG (XendDomainInfo:3400) Storing VM
details: {''on_xend_stop'': ''ignore'',
''shadow_memory'': ''0'',
''uuid'':
''88be1e9e-7b75-58bb-03ce-a0d30d405cc3'',
''on_reboot'': ''restart'',
''start_time'': ''1309305654.36'',
''on_poweroff'': ''destroy'',
''bootloader_args'': '''',
''on_xend_start'': ''ignore'',
''on_crash'': ''restart'',
''vcpus'': ''2'',
''vcpu_avail'': ''3'',
''bootloader'': '''', ''image'':
"(linux
(kernel /xenkernels/vmlinuz-ubuntu-11-64) (ramdisk
/xenkernels/initrd-ubuntu-11-64.gz) (superpages 0) (tsc_mode 0)
(videoram 4) (pci ()) (nomigrate 0) (keymap en-us) (notes (HV_START_LOW
18446603336221196288) (FEATURES
''!writable_page_tables|pae_pgdir_above_4gb'') (VIRT_BASE
18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS
linux) (HYPERCALL_PAGE 18446744071578849280) (LOADER generic)
(SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 18446744071590302208)
(XEN_VERSION xen-3.0)))", ''name'':
''Jason283''}
[2011-06-28 20:00:54 802] DEBUG (XendDomainInfo:1804) Storing domain
details: {''console/ring-ref'': ''5653880'',
''image/entry'':
''18446744071590302208'', ''console/port'':
''2'', ''store/ring-ref'':
''5653881'', ''image/loader'':
''generic'', ''vm'':
''/vm/88be1e9e-7b75-58bb-03ce-a0d30d405cc3'',
''control/platform-feature-multiprocessor-suspend'':
''1'',
''image/hv-start-low'':
''18446603336221196288'', ''image/guest-os'':
''linux'',
''cpu/1/availability'': ''online'',
''image/virt-base'':
''18446744071562067968'', ''memory/target'':
''524288'',
''image/guest-version'': ''2.6'',
''image/pae-mode'': ''yes'',
''description'':
'''', ''console/limit'':
''1048576'', ''image/paddr-offset'':
''0'',
''image/hypercall-page'':
''18446744071578849280'',
''image/suspend-cancel'':
''1'', ''cpu/0/availability'':
''online'',
''image/features/pae-pgdir-above-4gb'': ''1'',
''image/features/writable-page-tables'': ''0'',
''console/type'':
''xenconsoled'', ''name'':
''Jason283'', ''domid'':
''844'', ''image/xen-version'':
''xen-3.0'', ''store/port'':
''1''}
[2011-06-28 20:00:55 802] DEBUG (DevController:95) DevController:
writing {''protocol'': ''x86_64-abi'',
''state'': ''1'',
''backend-id'': ''0'',
''backend'':
''/local/domain/0/backend/console/844/0''} to
/local/domain/844/device/console/0.
[2011-06-28 20:00:55 802] DEBUG (DevController:97) DevController:
writing {''domain'': ''Jason283'',
''frontend'':
''/local/domain/844/device/console/0'',
''uuid'':
''579f373f-811d-29f5-9787-9bf0933476ac'',
''frontend-id'': ''844'',
''state'':
''1'', ''location'': ''2'',
''online'': ''1'', ''protocol'':
''vt100''} to
/local/domain/0/backend/console/844/0.
[2011-06-28 20:00:56 802] DEBUG (XendDomainInfo:1891)
XendDomainInfo.handleShutdownWatch
[2011-06-28 20:00:56 802] DEBUG (DevController:139) Waiting for devices
vif2.
[2011-06-28 20:00:56 802] DEBUG (DevController:139) Waiting for devices vif.
[2011-06-28 20:00:56 802] DEBUG (DevController:144) Waiting for 0.
[2011-06-28 20:00:56 802] DEBUG (DevController:628)
hotplugStatusCallback /local/domain/0/backend/vif/844/0/hotplug-status.
[2011-06-28 20:00:56 802] DEBUG (DevController:642) hotplugStatusCallback 1.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices
vscsi.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices vbd.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices
ioports.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices irq.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices
vkbd.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices vfb.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices
console.
[2011-06-28 20:00:57 802] DEBUG (DevController:144) Waiting for 0.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices pci.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices
tap2.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices tap.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices
vusb.
[2011-06-28 20:00:57 802] DEBUG (DevController:139) Waiting for devices
vtpm.
[2011-06-28 20:00:57 802] INFO (XendDomain:1206) Domain Jason283 (844)
unpaused.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Fajar A. Nugraha
2011-Jun-29 17:04 UTC
Re: [Xen-users] no Disk drive detected when provisioning new vms or after restarting a vm
On Wed, Jun 29, 2011 at 11:44 PM, mftahy <mofta7y@gmail.com> wrote:> Hi All > I have xen 4.0 in centos dom0 > > the machine was working fine for months and yesterday out of sudden I can no > longer provision new vms and to make things worst If any vm shutdown I > cannot re run it again .DId you try restarting dom0? I know people usually reluctant to do so. as currently SOME domUs are still running, and restarting it will mean ALL domU will have a downtime. AFAIK though it''s better to restart it NOW (or at a planned downtime of your choice) instead of having EVERYTHING stopped working LATER when you don''t have any preparation and it cought you by surprise. If it seems my suggestion is a bit unscientific, well, it is. I don''t know the exact cause. However from experience, I have a Xen 3.4.2 installation that after some time simply refuse to forward any packets for domU. Restarting dom0 fix the problem. Probably due to some bug in that particular Xen version, but I haven''t got the time to pinpoint which one. So for now, if you want "rock stable", stick with RHEL/Centos version of Xen. If you upgrade it to anything else (e.g. 4.0), well, pray and hope that it works great. Or you try Xen 4.0.2 which has some fixes, and hope your problem is among the ones fixed by that release. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users