Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@opennebula qemu]# cat /var/log/libvirt/qemu/one-0.log
- 2013-10-17 10:24:13.751+0000: shutting down
- [oneadmin@opennebula 0]$ ll
- total 368
- -rw-rw-r-- 1 oneadmin oneadmin 911 Oct 17 15:54 deployment.0
- lrwxrwxrwx 1 oneadmin oneadmin 58 Oct 17 15:54 disk.0 -> /var/lib/one/datastores/1/4f26332f44a62316935eae65a5229e92
- -rw-r--r-- 1 oneadmin oneadmin 372736 Oct 17 15:54 disk.1
- lrwxrwxrwx 1 oneadmin oneadmin 34 Oct 17 15:54 disk.1.iso -> /var/lib/one/datastores/0/0/disk.1
- [oneadmin@opennebula 0]$ cat deployment.0
- <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
- <name>one-0</name>
- <vcpu>1</vcpu>
- <cputune>
- <shares>512</shares>
- </cputune>
- <memory>524288</memory>
- <os>
- <type arch='x86_64'>hvm</type>
- <boot dev='hd'/>
- </os>
- <devices>
- <emulator>/usr/libexec/qemu-kvm</emulator>
- <disk type='file' device='disk'>
- <source file='/var/lib/one//datastores/0/0/disk.0'/>
- <target dev='hda'/>
- <driver name='qemu' type='qcow2' cache='none'/>
- </disk>
- <disk type='file' device='cdrom'>
- <source file='/var/lib/one//datastores/0/0/disk.1'/>
- <target dev='hdb'/>
- <readonly/>
- <driver name='qemu' type='raw'/>
- </disk>
- <interface type='bridge'>
- <source bridge='bro'/>
- <virtualport type='openvswitch'/>
- <mac address='02:00:ac:16:06:39'/>
- </interface>
- <graphics type='vnc' listen='0.0.0.0' port='5900'/>
- </devices>
- <features>
- <acpi/>
- </features>
- </domain>
- [root@opennebula one]# cat 0.log
- Thu Oct 17 15:54:12 2013 [DiM][I]: New VM state is ACTIVE.
- Thu Oct 17 15:54:12 2013 [LCM][I]: New VM state is PROLOG.
- Thu Oct 17 15:54:13 2013 [LCM][I]: New VM state is BOOT
- Thu Oct 17 15:54:13 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/0/deployment.0
- Thu Oct 17 15:54:13 2013 [VMM][I]: ExitCode: 0
- Thu Oct 17 15:54:13 2013 [VMM][I]: Successfully execute network driver operation: pre.
- Thu Oct 17 15:54:13 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/0/deployment.0' 'opennebula.cloudinnovation.com' 0 opennebula.cloudinnovation.com
- Thu Oct 17 15:54:13 2013 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/0/deployment.0
- Thu Oct 17 15:54:13 2013 [VMM][I]: error: Cannot get interface MTU on 'bro': No such device
- Thu Oct 17 15:54:13 2013 [VMM][E]: Could not create domain from /var/lib/one//datastores/0/0/deployment.0
- Thu Oct 17 15:54:13 2013 [VMM][I]: ExitCode: 255
- Thu Oct 17 15:54:13 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.
- Thu Oct 17 15:54:13 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/0/deployment.0
- Thu Oct 17 15:54:13 2013 [DiM][I]: New VM state is FAILED
- [oneadmin@opennebula ~]$ onevnet show 0
- VIRTUAL NETWORK 0 INFORMATION
- ID : 0
- NAME : ovs_private_vlan_nw
- USER : oneadmin
- GROUP : oneadmin
- CLUSTER : -
- TYPE : RANGED
- BRIDGE : bro
- VLAN : Yes
- VLAN ID : 106
- USED LEASES : 1
- PERMISSIONS
- OWNER : um-
- GROUP : ---
- OTHER : ---
- VIRTUAL NETWORK TEMPLATE
- DNS="172.22.6.18"
- GATEWAY="172.22.6.250"
- MICROLANDNW="1"
- NETWORK_ADDRESS="172.22.6.0/24"
- NETWORK_MASK="255.255.255.0"
- RANGE
- IP_START : 172.22.6.57
- IP_END : 172.22.6.59
- USED LEASES
- LEASE=[ MAC="02:00:ac:16:06:39", IP="172.22.6.57", IP6_LINK="fe80::400:acff:fe16:639", USED="1", VID="0" ]
- VIRTUAL MACHINES
- ID USER GROUP NAME STAT UCPU UMEM HOST TIME
- 0 oneadmin oneadmin Test01 fail 0 0K 0d 00h00
- [oneadmin@opennebula ~]$ onetemplate show 0
- TEMPLATE 0 INFORMATION
- ID : 0
- NAME : Centos-WebTemplate
- USER : oneadmin
- GROUP : oneadmin
- REGISTER TIME : 10/17 15:52:28
- PERMISSIONS
- OWNER : um-
- GROUP : ---
- OTHER : ---
- TEMPLATE CONTENTS
- CONTEXT=[
- NETWORK="YES",
- SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
- CPU="0.5"
- DISK=[
- IMAGE_ID="0" ]
- GRAPHICS=[
- LISTEN="0.0.0.0",
- TYPE="VNC" ]
- MEMORY="512"
- NIC=[
- NETWORK_ID="0" ]
- OS=[
- ARCH="x86_64",
- BOOT="hd",
- GUESTOS="centos64Guest" ]
- REQUIREMENTS="ID=\"2\""
- VCPU="1"
- [oneadmin@opennebula ~]$ oneimage show 0
- IMAGE 0 INFORMATION
- ID : 0
- NAME : CentOS-6.4_x86_64
- USER : oneadmin
- GROUP : oneadmin
- DATASTORE : default
- TYPE : OS
- REGISTER TIME : 10/17 15:27:24
- PERSISTENT : Yes
- SOURCE : /var/lib/one/datastores/1/4f26332f44a62316935eae65a5229e92
- PATH : /var/tmp/thin-body20131017-2187-q85951-0
- SIZE : 273M
- STATE : used
- RUNNING_VMS : 1
- PERMISSIONS
- OWNER : um-
- GROUP : ---
- OTHER : ---
- IMAGE TEMPLATE
- DEV_PREFIX="hd"
- DRIVER="qcow2"
- VIRTUAL MACHINES
- ID USER GROUP NAME STAT UCPU UMEM HOST TIME
- 0 oneadmin oneadmin Test01 fail 0 0K 0d 00h00
- /var/log/libvirt/libvirtd.log
- 2013-10-16 11:34:26.869+0000: 14344: error : virCommandWait:2272 : internal error Child process (/sbin/iptables --table filter --delete INPUT --in-interface virbr0 --protocol udp --destination-port 67 --jump ACCEPT) unexpected exit status 1: iptables: Bad rule (does a matching rule exist in that chain?).
- 2013-10-16 11:34:26.873+0000: 14344: error : virCommandWait:2272 : internal error Child process (/sbin/iptables --table filter --delete INPUT --in-interface virbr0 --protocol tcp --destination-port 67 --jump ACCEPT) unexpected exit status 1: iptables: Bad rule (does a matching rule exist in that chain?).
- 2013-10-17 10:24:13.666+0000: 2266: info : libvirt version: 0.10.2, package: 18.el6_4.14 (CentOS BuildSystem <http://bugs.centos.org>, 2013-09-19-19:15:27, c6b8.bsys.dev.centos.org)
- 2013-10-17 10:24:13.666+0000: 2266: error : virNetDevGetMTU:343 : Cannot get interface MTU on 'bro': No such device
- 2013-10-17 10:24:13.757+0000: 2266: error : virCommandWait:2272 : internal error Child process (ovs-vsctl --timeout=5 -- --if-exists del-port) unexpected exit status 1: ovs-vsctl: 'del-port' command requires at least 1 arguments
- 2013-10-17 10:24:13.757+0000: 2266: error : virNetDevOpenvswitchRemovePort:173 : Unable to delete port (null) from OVS: Operation not permitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement