免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1604 | 回复: 0
打印 上一主题 下一主题

[其他] 请教[convirt]相关的问题 [复制链接]

论坛徽章:
1
2015七夕节徽章
日期:2015-08-21 17:58:43
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-11-14 14:09 |只看该作者 |倒序浏览
本帖最后由 shreychen 于 2012-11-14 15:08 编辑

最近在学习convirt,顺便在这里找一下组织:有没有在用convirt的,加个好友指教指教啊,或者qq群什么的推荐下?

一下是我遇到的问题,刚开始搞很多概念还不清楚啊

创建虚拟机后start的时候报错:

Domain could not be started: Terminated /var/cache/convirt/common/scripts/bash_timeout.sh (5234) after a delay of 60 sec while executing the command: xm create /tmp/hh.QJrnn

/tmp/hh.QJrnn的内容如下:

  1 kernel = '/boot/vmlinuz-2.6.32-5-xen-amd64'
  2 vif = [u'mac=00:16:3e:2f:03:9f, bridge=eth1']
  3 auto_start_vm = 0
  4 extra = 'ks='
  5 STORAGE_STATS = {'DISK_STATS': {'/home/domains/hh.disk.xm': {'DEV_TYPE': 'FILE', 'IS_LOCAL': True, 'DISK_SIZE': 5242880001, 'DIS
    K_NAME': '/home/domains/hh.disk.xm', 'STORAGE_DISK_ID': None}}, 'LOCAL_ALLOCATION': 5242880001, 'SHARED_ALLOCATION': 0}
  6 disk = ['tap:aio:/home/domains/hh.disk.xm,xvda,w']
  7 uuid = 'ee209d91-a294-e532-3c3d-e6dbdb7bfe3a'
  8 platform = 'xen'
  9 on_reboot = 'restart'
10 on_shutdown = 'rename-restart'
11 os_version = '6.0'
12 memory = 128
13 ramdisk = '/boot/initrd.img-2.6.32-5-xen-amd64'
14 os_name = 'Debian'
15 image_name = 'Debian_PV_Install'
16 on_crash = 'restart'
17 image_id = '6029c4ca-a907-1a60-9ea1-236927751251'
18 config_filename = '/home/Xencfg/hh'
19 image_conf = '/var/log/convirt/image_store/Debian_PV_Install/Debian_PV_Install_hh_image.conf'
20 bootloader = ''
21 name = 'hh'
22 provision_timeout = 300
23 vcpus = 1
24 os_flavor = 'Linux'
25 root = '/dev/xvda2'[table=1,Silver]

直接执行xm create /tmp/hh.QJrnn,也会报错。
root@localhost:~# xm create /tmp/hh.QJrnn
Using config file "/tmp/hh.QJrnn".
Error: Device 51712 (tap) could not be connected. Hotplug scripts not working.

请问是哪里的问题。
用xen-tools创建虚拟机是没问题的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP