当前位置:编程学习 > 网站相关 >>

求助openstack+xen

我现在把openstack和xen组装在一起了,但是启动虚拟机的时候会有一些问题。
使用openstack提供的ubuntu虚拟机镜像,nova和xen都没有报错,但是在通过console发现vm启动过程中有如下错误信息。
 XENBUS: Waiting for devices to initialise: 25s...20s...15s...10s...5s...0s...235s...230s...225s...220s...215s...210s...205s...200s...195s...190s...185s...180s...175s...170s...165s...160s...155s...150s...145s...140s...135s...130s...125s...120s...115s...110s...105s...100s...95s...90s...85s...80s...75s...70s...65s...60s...55s...50s...45s...40s...35s...30s...25s...20s...15s...10s...5s...0s...
[  272.664592] XENBUS: Device with no driver: device/vkbd/0
[  272.664596] XENBUS: Device with no driver: device/vfb/0
[  272.664929] XENBUS: Timeout connecting to device: device/vbd/2048 (local state 3, remote state 1)
[  272.665192] XENBUS: Timeout connecting to device: device/vbd/2064 (local state 3, remote state 1)
[  272.665200] XENBUS: Device with no driver: device/console/0
[  272.665233]   Magic number: 1:252:3141
[  272.665279] /build/buildd/linux-3.2.0/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[  272.665293] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[  272.665297] EDD information not available.
[  272.665493] md: Waiting for all devices to be available before autodetect
[  272.665499] md: If you don't use raid, use raid=noautodetect
[  272.665686] md: Autodetecting RAID arrays.
[  272.665691] md: Scanned 0 and added 0 devices.
[  272.665694] md: autorun ...
[  272.665697] md: ... autorun DONE.
[  272.665739] RAMDISK: Couldn't find valid RAM disk image starting at 0.
[  272.665803] VFS: Cannot open root device "xvda" or unknown-block(0,0)
[  272.665808] Please append a correct "root=" boot option; here are the available partitions:
[  272.665817] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[  272.665823] Pid: 1, comm: swapper/0 Not tainted 3.2.0-38-virtual #61-Ubuntu
[  272.665828] Call Trace:


openstack发过来的xml文件是:
 <uuid>52ba9147-f9e5-410a-97b0-bb6c2baa1d61</uuid>
  <name>instance-0000001c</name>
  <memory>2097152</memory>
  <vcpu>1</vcpu>
  <os>
    <type>xen</type>
    <kernel>/var/log/nova/instances/instance-0000001c/kernel</kernel>
    <initrd>/var/log/nova/instances/instance-0000001c/ramdisk</initrd>
    <cmdline>ro</cmdline>
    <root>/dev/xvda</root>
  </os>
  <features>
    <acpi/>
  </features>
  <clock offset="utc"/>
  <devices>
    <disk type="file" device="disk">
      <driver name="tap" type="qcow2" cache="none"/>
      <source file="/var/log/nova/instances/instance-0000001c/disk"/>
      <target bus="xen" dev="sda"/>
    </disk>
    <disk type="file" device="disk">
      <driver name="tap" type="qcow2" cache="none"/>
      <source file="/var/log/nova/instances/instance-0000001c/disk.local"/>
      <target bus="xen" dev="sdb"/>
    </disk>
    <inte易做图ce type="bridge">
      <mac address="fa:16:3e:17:d5:04"/>
      <model type="virtio"/>
      <source bridge="qbrb4cb611f-d9"/>
      <filterref filter="nova-instance-instance-0000001c-fa163e17d504">
        <parameter name="IP" value="7.7.7.132"/>
        <parameter name="DHCPSERVER" value="7.7.7.1"/>
        <parameter name="PROJNET" value="7.7.7.0"/>
        <parameter name="PROJMASK" value="255.255.255.0"/>
      </filterref>
    </inte易做图ce>
    <console type="pty"/>
    <graphics type="vnc" autoport="yes" keymap="en-us" listen="0.0.0.0"/>
  </devices>
</domain>
麻烦大家帮我看看是什么问题,谢谢 OpenStack Xen disk xenbus --------------------编程问答-------------------- 没人呢?自己顶 --------------------编程问答-------------------- 你建的是pv还是hvm虚拟机 --------------------编程问答-------------------- pv应该没什么问题才对,openstack+xen建hvm虚拟机有问题
补充:云计算 ,  OpenStack
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,