[one-users] ONE 3.2 VM Management issues
Deep Dish
deeepdish at gmail.com
Thu Jan 19 10:55:36 PST 2012
Good day,
I’m performing an initial deployment of OpenNebula 3.2 (same issues
persist on 2.2, 3.0 as well) and having several challenges:
The environment:
Ubuntu 11.10 server (front-end + compute nodes)
ONE 3.2 built from source
Installed as per instructions on OpenNebula.org for v3.2.
QEMU is running as user oneadmin and group cloud.
1. A VM can be deployed using a template I create and .raw disk
image uploaded as an image. The VM enters the RUNNING state, however
issues exist when attempting to stop the image. It seems that
there’s permissions missing somewhere.
2. Automatic assignment of hostname + network address does not
work. Although, when the VM is in RUNNING state an IP address is
properly leased out to the instance from the available pool, it is not
configured on the instance. VM NIC is configured for DHCP
assignment.
/var/log/libvirt/libvirt.log:
13:30:44.127: 1478: error : virFileOpenAsNoFork:669 : cannot chown
'/var/lib/one//3/images/checkpoint' to (0, 0): Invalid argument
13:30:44.128: 1478: error : qemudDomainSaveFlag:2084 : Failed to
create domain save file '/var/lib/one//3/images/checkpoint': Invalid
argument
3.log:
Thu Jan 19 13:28:17 2012 [DiM][I]: New VM state is ACTIVE.
Thu Jan 19 13:28:17 2012 [LCM][I]: New VM state is PROLOG.
Thu Jan 19 13:28:17 2012 [VM][I]: Virtual Machine has no context
Thu Jan 19 13:28:33 2012 [TM][D]: tm_clone.sh:
hst04:/var/lib/one/images/0deab2bb9b8d75c9f1e9c195a2aa4eed
hst05:/var/lib/one//3/images/disk.0
Thu Jan 19 13:28:33 2012 [TM][D]: tm_clone.sh: DST:
/var/lib/one//3/images/disk.0
Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//3/images
Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Executed "mkdir -p
/var/lib/one//3/images".
Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Executed "chmod a+w
/var/lib/one//3/images".
Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Cloning
/var/lib/one/images/0deab2bb9b8d75c9f1e9c195a2aa4eed
Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Executed "cp -r
/var/lib/one/images/0deab2bb9b8d75c9f1e9c195a2aa4eed
/var/lib/one//3/images/disk.0".
Thu Jan 19 13:28:33 2012 [TM][I]: tm_clone.sh: Executed "chmod a+rw
/var/lib/one//3/images/disk.0".
Thu Jan 19 13:28:33 2012 [TM][I]: ExitCode: 0
Thu Jan 19 13:29:27 2012 [LCM][I]: New VM state is BOOT
Thu Jan 19 13:29:27 2012 [VMM][I]: Generating deployment file:
/var/lib/one/3/deployment.0
Thu Jan 19 13:29:27 2012 [VMM][I]: ExitCode: 0
Thu Jan 19 13:29:27 2012 [VMM][I]: Successfully execute network driver
operation: pre.
Thu Jan 19 13:29:29 2012 [VMM][I]: ExitCode: 0
Thu Jan 19 13:29:29 2012 [VMM][I]: Successfully execute virtualization
driver operation: deploy.
Thu Jan 19 13:29:29 2012 [VMM][I]: ExitCode: 0
Thu Jan 19 13:29:29 2012 [VMM][I]: Successfully execute network driver
operation: post.
Thu Jan 19 13:29:34 2012 [LCM][I]: New VM state is RUNNING
Thu Jan 19 13:30:43 2012 [LCM][I]: New VM state is SAVE_STOP
Thu Jan 19 13:30:44 2012 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/save one-3 /var/lib/one//3/images/checkpoint
hst05 3 hst05
Thu Jan 19 13:30:44 2012 [VMM][E]: save: Command "virsh --connect
qemu:///system save one-3 /var/lib/one//3/images/checkpoint" failed.
Thu Jan 19 13:30:44 2012 [VMM][E]: save: error: Failed to save domain
one-3 to /var/lib/one//3/images/checkpoint
Thu Jan 19 13:30:44 2012 [VMM][I]: error: Failed to create domain save
file '/var/lib/one//3/images/checkpoint': Invalid argument
Thu Jan 19 13:30:44 2012 [VMM][E]: Could not save one-3 to
/var/lib/one//3/images/checkpoint
Thu Jan 19 13:30:44 2012 [VMM][I]: ExitCode: 1
Thu Jan 19 13:30:44 2012 [VMM][I]: Failed to execute virtualization
driver operation: save.
Thu Jan 19 13:30:44 2012 [VMM][E]: Error saving VM state: Could not
save one-3 to /var/lib/one//3/images/checkpoint
Thu Jan 19 13:30:44 2012 [LCM][I]: Fail to save VM state. Assuming
that the VM is still RUNNING (will poll VM).
Thu Jan 19 13:30:44 2012 [VMM][I]: ExitCode: 0
Thu Jan 19 13:30:45 2012 [VMM][D]: Monitor Information:
CPU : 25
Memory: 1048576
Net_TX: 0
Net_RX: 3046
More information about the Users
mailing list