[one-users] ONE 3.2 VM Management issues

Carlos Martín Sánchez cmartin at opennebula.org
Thu Jan 26 06:33:56 PST 2012


Hi,

Your 1st problem might be related to the qemu dynamic_ownership
configuration, check the kvm configuration guide [1] for more details.

About the automatic IP assignment, you need to contextualize your VMs so
they can configure the IP leased by OpenNebula, see [2] for more
information.

Regards.

[1] http://opennebula.org/documentation:rel3.2:kvmg#kvm_configuration
[2] http://opennebula.org/documentation:rel3.2:cong

--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Thu, Jan 19, 2012 at 7:55 PM, Deep Dish <deeepdish at gmail.com> wrote:

> 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
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120126/666d09e5/attachment-0003.htm>


More information about the Users mailing list