标签:des style blog io ar color os sp for
1,OpenNebula nfs(file system shared) for image datastore;
openNebula computeNode挂载,如果frontend与compute在同一台服务器则不用做NFS shared;
3,make raw image
4,配置过程中配置服务器网桥报错
报错信息
bringing up interface br0 device br0 does not seem to be present delaying initialization
报错原因(评估,根据本人的报错信息,初步评估错误应该是由于配置的服务器(物理机器)上有多个网口,br0桥接的网口不对):
解决方案,修改网口配置文件,更改网口名称;
重启虚拟机的xml (xml data serialize)
<domain type=‘kvm‘ id=‘3‘> <name>eucalyptus-windows</name> <uuid>7ab022c3-c3bf-ea6f-f59a-238a05c023eb</uuid> <memory unit=‘KiB‘>2524352</memory> <currentMemory unit=‘KiB‘>2524288</currentMemory> <vcpu placement=‘static‘>2</vcpu> <os> <type arch=‘x86_64‘ machine=‘rhel6.5.0‘>hvm</type> <boot dev=‘hd‘/> </os> <features> <acpi/> </features> <clock offset=‘utc‘/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type=‘file‘ device=‘disk‘> <driver name=‘qemu‘ type=‘raw‘/> <source file=‘/home/ruiy/nix.img‘/> <target dev=‘vda‘ bus=‘virtio‘/> <alias name=‘virtio-disk0‘/> <address type=‘pci‘ domain=‘0x0000‘ bus=‘0x00‘ slot=‘0x04‘ function=‘0x0‘/> </disk> <controller type=‘usb‘ index=‘0‘> <alias name=‘usb0‘/> <address type=‘pci‘ domain=‘0x0000‘ bus=‘0x00‘ slot=‘0x01‘ function=‘0x2‘/> </controller> <interface type=‘bridge‘> <mac address=‘52:54:00:c4:80:6a‘/> <source bridge=‘br0‘/> <target dev=‘vnet0‘/> <model type=‘virtio‘/> <alias name=‘net0‘/> <address type=‘pci‘ domain=‘0x0000‘ bus=‘0x00‘ slot=‘0x03‘ function=‘0x0‘/> </interface> <input type=‘mouse‘ bus=‘ps2‘/> <graphics type=‘vnc‘ port=‘5923‘ autoport=‘no‘ listen=‘0.0.0.0‘> <listen type=‘address‘ address=‘0.0.0.0‘/> </graphics> <video> <model type=‘cirrus‘ vram=‘9216‘ heads=‘1‘/> <alias name=‘video0‘/> <address type=‘pci‘ domain=‘0x0000‘ bus=‘0x00‘ slot=‘0x02‘ function=‘0x0‘/> </video> <memballoon model=‘virtio‘> <alias name=‘balloon0‘/> <address type=‘pci‘ domain=‘0x0000‘ bus=‘0x00‘ slot=‘0x05‘ function=‘0x0‘/> </memballoon> </devices> <seclabel type=‘none‘/> </domain>
Mon Dec 1 15:09:58 2014 [DiM][I]: New VM state is ACTIVE.
Mon Dec 1 15:09:58 2014 [LCM][I]: New VM state is PROLOG.
Mon
Dec 1 15:09:58 2014 [TM][I]: Command execution fail:
/srv/cloud/eucalyptus/var/remotes/tm/shared/clone
ruiy.org001:/srv/cloud/eucalyptus/var/datastores/1/16e4dcfeec4769e304886fbb7ded846d
192.168.1.140:/srv/cloud/eucalyptus/var//datastores/0/20/disk.0 20 1
Mon Dec 1 15:09:58 2014 [TM][I]: /srv/cloud/eucalyptus/var/remotes/tm/tm_common.sh: line 104: onevm: command not found
Mon
Dec 1 15:09:58 2014 [TM][I]:
/srv/cloud/eucalyptus/var/remotes/datastore/xpath.rb:61: undefined
method `elements‘ for nil:NilClass (NoMethodError)
Mon Dec 1 15:09:58 2014 [TM][I]: from /srv/cloud/eucalyptus/var/remotes/datastore/xpath.rb:60:in `each‘
Mon Dec 1 15:09:58 2014 [TM][I]: from /srv/cloud/eucalyptus/var/remotes/datastore/xpath.rb:60
Mon
Dec 1 15:09:58 2014 [TM][I]: clone: Cloning
/srv/cloud/eucalyptus/var/datastores/1/16e4dcfeec4769e304886fbb7ded846d
in 192.168.1.140:/srv/cloud/eucalyptus/var//datastores/0/20/disk.0
Mon
Dec 1 15:09:58 2014 [TM][E]: clone: Command "cd
/srv/cloud/eucalyptus/var/datastores/0/20; cp -r
/srv/cloud/eucalyptus/var/datastores/1/16e4dcfeec4769e304886fbb7ded846d
/srv/cloud/eucalyptus/var/datastores/0/20/disk.0" failed: Warning:
Permanently added ‘192.168.1.140‘ (RSA) to the list of known hosts.
Mon
Dec 1 15:09:58 2014 [TM][I]: cp: cannot stat
`/srv/cloud/eucalyptus/var/datastores/1/16e4dcfeec4769e304886fbb7ded846d‘:
No such file or directory
Mon Dec 1
15:09:58 2014 [TM][E]: Error copying
ruiy.org001:/srv/cloud/eucalyptus/var/datastores/1/16e4dcfeec4769e304886fbb7ded846d
to 192.168.1.140:/srv/cloud/eucalyptus/var//datastores/0/20/disk.0
Mon Dec 1 15:09:58 2014 [TM][I]: ExitCode: 1
Mon
Dec 1 15:09:58 2014 [TM][E]: Error executing image transfer script:
Error copying
ruiy.org001:/srv/cloud/eucalyptus/var/datastores/1/16e4dcfeec4769e304886fbb7ded846d
to 192.168.1.140:/srv/cloud/eucalyptus/var//datastores/0/20/disk.0
Mon Dec 1 15:09:58 2014 [DiM][I]: New VM state is FAILED
Mon Dec 1 15:09:58 2014 [HKM][I]: Command execution fail: /usr/bin/env onevm delete 20
Mon Dec 1 15:09:58 2014 [HKM][I]: /usr/bin/env: onevm: No such file or directory
Mon Dec 1 15:09:58 2014 [HKM][I]: ExitCode: 127
Mon Dec 1 15:09:58 2014 [HKM][E]: Error executing Hook: on_failure_delete: -.
Mon Dec 1 15:09:58 2014 [HKM][I]: Command execution fail: /usr/bin/env onevm delete --recreate 20
Mon Dec 1 15:09:58 2014 [HKM][I]: /usr/bin/env: onevm: No such file or directory
Mon Dec 1 15:09:58 2014 [HKM][I]: ExitCode: 127
Mon Dec 1 15:09:58 2014 [HKM][E]: Error executing Hook: on_failure_recreate: -.
openNebulafrontEnd ComputeNode 配置记录
标签:des style blog io ar color os sp for
原文地址:http://www.cnblogs.com/ruiy/p/4134940.html