[one-users] Onevm in Failed state
Preetham Nagaraju
preetham.nagaraju at gmail.com
Thu Mar 14 10:57:22 PDT 2013
for (1) VNC viewer on local pc means on the host machine sir....if it is so
then i haven't installed VNC viewer on host machine, at the time of
installing openneula i installed noVNC_gems tat's all....
for (2), i will run that command after creating vm, but i have doubt that
since we are creating the vm from template whether it can store the vm or
it will get deleted after the vm is shutdown... that's the behaviour of vm
after creating it by template right sir!!!!!
On Thu, Mar 14, 2013 at 11:17 PM, Tobias Honacker <t.honacker at googlemail.com
> wrote:
> Hi,
>
> --> 2. After creating the VM and the OS is installed run sudo apt-get
> install acpid on it (VM)
> --> 1. did you install any VNC viewer on your local pc?
>
>
> Best regards,
> Tobias
>
> Am 14.03.2013 18:28, schrieb Preetham Nagaraju:
>
> Hi sir,
>
> i think for my first question (1) i need to make clear....
> Desktop means not the desktop version of Ubuntu OS, now i am able to access
> the vm in command line's and not in the GUI mode..... i am able to host vm,
> but it is opening in command line mode and not in the gui.....
>
> and also for the reply by you for (2) "sudo apt-get install acpid" i
> need to run this command in the host machine or after creating the vm i
> need to run this command....????
>
> On Thu, Mar 14, 2013 at 10:26 PM, Tobias Honacker <
> t.honacker at googlemail.com> wrote:
>
>> Hi,
>>
>> --> 1. You have to download Ubuntu Desktop ISO to run Desktop after
>> the installation is done
>> Never installed any desktop on my servers yet but you can try this link
>> [1].
>>
>> --> 2. Not 100% sure but try to update the template and shutdown the vm
>> so changes can take effect. If not deploy a new VM.
>> Also install the acpi daemon on your VM:
>> sudo apt-get install acpid
>>
>> This should help.
>>
>> Best regards,
>> Tobias
>>
>> [1]
>> http://www.filiwiese.com/installing-gnome-on-ubuntu-12-04-precise-pangolin/
>>
>>
>> Von: Preetham Nagaraju <preetham.nagaraju at gmail.com>
>> Datum: Donnerstag, 14. März 2013 17:14
>>
>> An: Tobias Honacker <t.honacker at googlemail.com>
>> Cc: <users at lists.opennebula.org>, <users-owner at lists.opennebula.org>
>> Betreff: Re: [one-users] Onevm in Failed state
>>
>> i installed Ubuntu 12.04 OS......
>>
>> for 2) is it ok now to go to the created template and click update
>> properties and edit the features given by you there directly????
>>
>> On Thu, Mar 14, 2013 at 9:40 PM, Tobias Honacker <
>> t.honacker at googlemail.com> wrote:
>>
>>> Hi,
>>>
>>> --> 1. which OS did you install?
>>> --> 2. Try to enable ACPI in the feature section when you create a
>>> template or update your template with:
>>> FEATURES=[
>>> ACPI="yes" ]
>>>
>>>
>>> Best regards,
>>> Tobias
>>>
>>> Von: Preetham Nagaraju <preetham.nagaraju at gmail.com>
>>> Datum: Donnerstag, 14. März 2013 16:54
>>> An: Tobias Honacker <t.honacker at googlemail.com>
>>> Cc: <users at lists.opennebula.org>, <users-owner at lists.opennebula.org>
>>> Betreff: Re: [one-users] Onevm in Failed state
>>>
>>> Hi Sir,
>>>
>>> You were right, it was the bridge problem..... I sorted it out.... Now
>>> i am able to create VM successfully... It is in "running" state......
>>>
>>> Sir after running the vm, we click on vnc to open a new tab of created
>>> vm and first it asks for installing OS.... i proceeded with all that and
>>> got successfully installed the OS.... But the vm is in *"CLI" mode* and
>>> not in the desktop or graphics mode......
>>>
>>> *Could you please guide:*-
>>> 1. how to open the *VM in graphics mode* with the desktop view and notthis CLI mode......
>>> 2. If we *shutdown the vm not able to start it again.*... i need to
>>> cancel it and start instantiate again the template which will give new vm
>>> and start installing os again.... how to shutdown created vm and start back
>>> again?????
>>>
>>> On Thu, Mar 14, 2013 at 4:40 PM, Tobias Honacker <
>>> t.honacker at googlemail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Did u create a bridge named "br0"?
>>>> Please provide the output of ifconfig –a
>>>>
>>>> It could also be a permission problem, follow these guide [1] and
>>>> provide us the output of:
>>>>
>>>> grep -vE '^($|#)' /etc/libvirt/qemu.conf
>>>> grep -vE '^($|#)' /etc/libvirt/libvirtd.conf
>>>> cat /var/lib/one/var/datastores/0/10/deployment.1
>>>>
>>>>
>>>>
>>>> Best regards,
>>>> Tobias
>>>>
>>>>
>>>> Von: Preetham Nagaraju <preetham.nagaraju at gmail.com>
>>>> Datum: Donnerstag, 14. März 2013 12:01
>>>> An: <users at lists.opennebula.org>, <users-owner at lists.opennebula.org>
>>>> Betreff: [one-users] Onevm in Failed state
>>>>
>>>> Hi
>>>>
>>>> I am using Opennebula 3.8.3 on Ubuntu with KVM hypervisor in it.
>>>> I added the host successfully, and created the image and template.
>>>>
>>>> But the virtual machine starts with pending, prolog , boot and then
>>>> goes to failed state......
>>>>
>>>> Please get me out of this failed state.......
>>>>
>>>> VM information is as follows:-
>>>>
>>>> Virtual Machine information - one-10 ID 10 Name one-10 Owner
>>>> preetham Group users State FAILED LCM State LCM_INIT Host -- Start
>>>> time 16:02:14 03/14/2013 Deploy ID - Permissions
>>>> Owner um- Group --- Other --- Monitoring
>>>> information Net_TX 0 Net_RX 0 Used Memory 0K Used CPU 0 VNC
>>>> Session [image: VNC Disabled]
>>>> My Vm template is as follows:-
>>>> VM template VCPU 1 NIC
>>>>
>>>>
>>>> MAC 02:00:c0:a8:96:67 NETWORK_ID 1 VLAN NO NETWORK_UNAME oneadmin
>>>> BRIDGE br0 NETWORK localhost IP 192.168.150.103
>>>>
>>>> ERROR
>>>>
>>>>
>>>> TIMESTAMP Thu Mar 14 16:16:41 2013 MESSAGE Error deploying virtual
>>>> machine: Could not create domain from
>>>> /var/lib/one/var//datastores/0/10/deployment.1
>>>>
>>>> VMID 10 RAW
>>>>
>>>>
>>>> TYPE kvm
>>>>
>>>> NAME one-10 DISK
>>>>
>>>>
>>>> 0
>>>>
>>>>
>>>> DATASTORE user_ds TYPE CDROM TARGET hdb SAVE NO IMAGE
>>>> cd-Ubuntu-precise DISK_ID 0 DEV_PREFIX hd CLONE YES SOURCE
>>>> /var/lib/one/var/datastores/100/c2d97c815b985bece0b710a0675d1bb9
>>>> IMAGE_UNAME preetham IMAGE_ID 11 READONLY YES TM_MAD shared
>>>> DATASTORE_ID 100
>>>>
>>>> 1
>>>>
>>>>
>>>> DATASTORE user_ds TYPE FILE TARGET hda SAVE YES PERSISTENT YES
>>>> IMAGE Ubuntu-precise DISK_ID 1 DEV_PREFIX hd CLONE NO SOURCE
>>>> /var/lib/one/var/datastores/100/c1e8082f7e34c0cc91254c086f9b72de
>>>> IMAGE_UNAME preetham IMAGE_ID 12 READONLY NO TM_MAD shared
>>>> DATASTORE_ID 100
>>>>
>>>>
>>>>
>>>> OS
>>>>
>>>>
>>>> ARCH x86_64 BOOT cdrom
>>>>
>>>> MEMORY 1024 CPU 1 TEMPLATE_ID 11 GRAPHICS
>>>>
>>>>
>>>> TYPE vnc PORT 5910 KEYMAP es
>>>>
>>>>
>>>> My vm log is as follows:-
>>>>
>>>> Thu Mar 14 16:02:37 2013 [DiM][I]: New VM state is ACTIVE.
>>>> Thu Mar 14 16:02:37 2013 [LCM][I]: New VM state is PROLOG.
>>>> Thu Mar 14 16:02:37 2013 [VM][I]: Virtual Machine has no context
>>>> Thu Mar 14 16:03:08 2013 [TM][I]: clone: Cloning /var/lib/one/var/datastores/100/c2d97c815b985bece0b710a0675d1bb9 in opennebula:/var/lib/one/var//datastores/0/10/disk.0
>>>> Thu Mar 14 16:03:08 2013 [TM][I]: ExitCode: 0
>>>> Thu Mar 14 16:03:09 2013 [TM][I]: ln: Linking /var/lib/one/var/datastores/100/c1e8082f7e34c0cc91254c086f9b72de in opennebula:/var/lib/one/var//datastores/0/10/disk.1
>>>> Thu Mar 14 16:03:09 2013 [TM][I]: ExitCode: 0
>>>> Thu Mar 14 16:03:09 2013 [LCM][I]: New VM state is BOOT
>>>> Thu Mar 14 16:03:09 2013 [VMM][I]: Generating deployment file: /var/lib/one/var/vms/10/deployment.0
>>>> Thu Mar 14 16:03:10 2013 [VMM][I]: ExitCode: 0
>>>> Thu Mar 14 16:03:10 2013 [VMM][I]: Successfully execute network driver operation: pre.
>>>> Thu Mar 14 16:03:13 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one/var//datastores/0/10/deployment.0 opennebula 10 opennebula
>>>> Thu Mar 14 16:03:13 2013 [VMM][I]: error: Failed to create domain from /var/lib/one/var//datastores/0/10/deployment.0
>>>> Thu Mar 14 16:03:13 2013 [VMM][I]: error: Cannot get interface MTU on 'br0': No such deviceThu Mar 14 16:03:13 2013 [VMM][E]: Could not create domain from /var/lib/one/var//datastores/0/10/deployment.0
>>>> Thu Mar 14 16:03:13 2013 [VMM][I]: ExitCode: 255
>>>> Thu Mar 14 16:03:13 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.Thu Mar 14 16:03:13 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one/var//datastores/0/10/deployment.0
>>>> Thu Mar 14 16:03:13 2013 [DiM][I]: New VM state is FAILED
>>>> Thu Mar 14 16:16:04 2013 [DiM][I]: New VM state is CLEANUP.
>>>> Thu Mar 14 16:16:04 2013 [TM][I]: delete: Deleting /var/lib/one/var/datastores/0/10/disk.0
>>>> Thu Mar 14 16:16:04 2013 [TM][I]: ExitCode: 0
>>>> Thu Mar 14 16:16:04 2013 [TM][I]: delete: Deleting /var/lib/one/var/datastores/0/10/disk.1
>>>> Thu Mar 14 16:16:04 2013 [TM][I]: ExitCode: 0
>>>> Thu Mar 14 16:16:05 2013 [TM][I]: delete: Deleting /var/lib/one/var/datastores/0/10
>>>> Thu Mar 14 16:16:05 2013 [TM][I]: ExitCode: 0
>>>> Thu Mar 14 16:16:05 2013 [DiM][I]: New VM state is PENDING
>>>> Thu Mar 14 16:16:10 2013 [DiM][I]: New VM state is ACTIVE.
>>>> Thu Mar 14 16:16:10 2013 [LCM][I]: New VM state is PROLOG.
>>>> Thu Mar 14 16:16:10 2013 [VM][I]: Virtual Machine has no context
>>>> Thu Mar 14 16:16:36 2013 [TM][I]: clone: Cloning /var/lib/one/var/datastores/100/c2d97c815b985bece0b710a0675d1bb9 in opennebula:/var/lib/one/var//datastores/0/10/disk.0
>>>> Thu Mar 14 16:16:36 2013 [TM][I]: ExitCode: 0
>>>> Thu Mar 14 16:16:38 2013 [TM][I]: ln: Linking /var/lib/one/var/datastores/100/c1e8082f7e34c0cc91254c086f9b72de in opennebula:/var/lib/one/var//datastores/0/10/disk.1
>>>> Thu Mar 14 16:16:38 2013 [TM][I]: ExitCode: 0
>>>> Thu Mar 14 16:16:38 2013 [LCM][I]: New VM state is BOOT
>>>> Thu Mar 14 16:16:38 2013 [VMM][I]: Generating deployment file: /var/lib/one/var/vms/10/deployment.1
>>>> Thu Mar 14 16:16:39 2013 [VMM][I]: ExitCode: 0
>>>> Thu Mar 14 16:16:39 2013 [VMM][I]: Successfully execute network driver operation: pre.
>>>> Thu Mar 14 16:16:41 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one/var//datastores/0/10/deployment.1 opennebula 10 opennebula
>>>> Thu Mar 14 16:16:41 2013 [VMM][I]: error: Failed to create domain from /var/lib/one/var//datastores/0/10/deployment.1
>>>> Thu Mar 14 16:16:41 2013 [VMM][I]: error: Cannot get interface MTU on 'br0': No such deviceThu Mar 14 16:16:41 2013 [VMM][E]: Could not create domain from /var/lib/one/var//datastores/0/10/deployment.1
>>>> Thu Mar 14 16:16:41 2013 [VMM][I]: ExitCode: 255
>>>> Thu Mar 14 16:16:41 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.Thu Mar 14 16:16:41 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one/var//datastores/0/10/deployment.1
>>>> Thu Mar 14 16:16:41 2013 [DiM][I]: New VM state is FAILED
>>>>
>>>>
>>>> *Regards,***
>>>>
>>>> *Preetham. N*
>>>>
>>>> *
>>>> *
>>>> *
>>>>
>>>>
>>>>
>>>> *
>>>> _______________________________________________ Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *?** Regards,***
>>>
>>> *Preetham. N*
>>>
>>> *9945072638*
>>> *
>>>
>>>
>>>
>>> *
>>>
>>
>>
>>
>> --
>>
>> *?** Regards,***
>>
>> *Preetham. N*
>>
>> *9945072638*
>> *
>>
>>
>>
>> *
>>
>
>
>
> --
>
> *?** Regards,***
>
> *Preetham. N*
>
> *9945072638*
> *
>
>
>
> *
>
>
>
--
*?** Regards,***
*Preetham. N*
*9945072638*
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130314/97ad13e9/attachment-0002.htm>
More information about the Users
mailing list