[one-users] Problem in Running Virtual Machine

Jaime Melis jmelis at opennebula.org
Thu Sep 13 03:46:33 PDT 2012


Hello Shivay,

could you please send us your oned.conf and the output of "onedatastore
list -x"

cheers,
Jaime

On Mon, Sep 10, 2012 at 8:29 AM, shivay veer sharma
<shivay.veer at gmail.com>wrote:

> i am still getting the error
>
> Mon Sep 10 11:53:32 2012 [DiM][I]: New VM state is ACTIVE.
> Mon Sep 10 11:53:32 2012 [LCM][I]: New VM state is PROLOG.
> Mon Sep 10 11:53:32 2012 [VM][I]: Virtual Machine has no context
> Mon Sep 10 11:53:34 2012 [TM][I]: Command execution fail:
> /var/lib/one//var/remotes/tm/shared/clone scicloud2.cdacb.in:/var/lib/one/var/datastores/1/dbfd049a9672b6b7e635c8aa8d159677
> scicloud2.cdacb.in:/var/lib/one/var//datastores/0/1/disk.0 1 1
> Mon Sep 10 11:53:34 2012 [TM][I]: clone: Cloning
> ../..//var/lib/one/var/datastores/1/dbfd049a9672b6b7e635c8aa8d159677 in
> scicloud2.cdacb.in:/var/lib/one/var//datastores/0/1/disk.0
> Mon Sep 10 11:53:34 2012 [TM][E]: clone: Command "cd
> /var/lib/one/var/datastores/0/1; cp -r
> ../..//var/lib/one/var/datastores/1/dbfd049a9672b6b7e635c8aa8d159677
> /var/lib/one/var/datastores/0/1/disk.0" failed: cp: cannot stat
> `../..//var/lib/one/var/datastores/1/dbfd049a9672b6b7e635c8aa8d159677': No
> such file or directory
> Mon Sep 10 11:53:34 2012 [TM][E]: Error copying scicloud2.cdacb.in:/var/lib/one/var/datastores/1/dbfd049a9672b6b7e635c8aa8d159677
> to scicloud2.cdacb.in:/var/lib/one/var//datastores/0/1/disk.0
> Mon Sep 10 11:53:34 2012 [TM][I]: ExitCode: 1
> Mon Sep 10 11:53:34 2012 [TM][E]: Error executing image transfer script:
> Error copying scicloud2.cdacb.in:/var/lib/one/var/datastores/1/dbfd049a9672b6b7e635c8aa8d159677
> to scicloud2.cdacb.in:/var/lib/one/var//datastores/0/1/disk.0
> Mon Sep 10 11:53:34 2012 [DiM][I]: New VM state is FAILED
>
> On Wed, Sep 5, 2012 at 6:05 PM, shivay veer sharma <shivay.veer at gmail.com>wrote:
>
>> hi Andre,
>>
>> The folder /var/lib/one/datastores/0/4 is not there.
>>
>> thanks and regards
>> Shivay veer Sharma
>>
>> On Wed, Sep 5, 2012 at 1:38 PM, André Monteiro <andre.monteir at gmail.com>wrote:
>>
>>> Hello,
>>>
>>> There is a problem with paths, please ensure that file ""cd
>>> /var/lib/one/datastores/0/4; cp -r
>>> ../../1/0b926847ba046aabcd346e9f69f673f8" exists. If not, you must check
>>> for enviroment variables for correction or you can edit
>>> /lib/sunstone/public/js/client/clone.rb and edit the path manually.
>>>
>>> --
>>> André Monteiro
>>>
>>>
>>>
>>>
>>> On Wed, Sep 5, 2012 at 6:36 AM, shivay veer sharma <
>>> shivay.veer at gmail.com> wrote:
>>>
>>>> hi Daniel,
>>>>
>>>> Please help me ASAP
>>>>
>>>> thanks and regards
>>>> Shivay Veer Sharma
>>>>
>>>>
>>>>
>>>> On Tue, Sep 4, 2012 at 7:02 PM, shivay veer sharma <
>>>> shivay.veer at gmail.com> wrote:
>>>>
>>>>> hi ,
>>>>>
>>>>> Still the problem is there now the proble is changed
>>>>> it is not able to run some script
>>>>>
>>>>> Tue Sep  4 18:45:02 2012 [DiM][I]: New VM state is ACTIVE.
>>>>> Tue Sep  4 18:45:02 2012 [LCM][I]: New VM state is PROLOG.
>>>>> Tue Sep  4 18:45:02 2012 [VM][I]: Virtual Machine has no context
>>>>> Tue Sep  4 18:45:03 2012 [TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone shivay.cdacb.in:/var/lib/one/datastores/1/0b926847ba046aabcd346e9f69f673f8 scicloud2.cdacb.in:/var/lib/one//datastores/0/4/disk.0
>>>>> Tue Sep  4 18:45:03 2012 [TM][I]: clone: Cloning ../../1/0b926847ba046aabcd346e9f69f673f8 in scicloud2.cdacb.in:/var/lib/one//datastores/0/4/disk.0Tue Sep  4 18:45:03 2012 [TM][E]: clone: Command "cd /var/lib/one/datastores/0/4; cp -r ../../1/0b926847ba046aabcd346e9f69f673f8 /var/lib/one/datastores/0/4/disk.0" failed: sh: line 1: cd: /var/lib/one/datastores/0/4: No such file or directory
>>>>> Tue Sep  4 18:45:03 2012 [TM][I]: cp: cannot stat `../../1/0b926847ba046aabcd346e9f69f673f8': No such file or directoryTue Sep  4 18:45:03 2012 [TM][E]: Error copying shivay.cdacb.in:/var/lib/one/datastores/1/0b926847ba046aabcd346e9f69f673f8 to scicloud2.cdacb.in:/var/lib/one//datastores/0/4/disk.0
>>>>> Tue Sep  4 18:45:03 2012 [TM][I]: ExitCode: 1Tue Sep  4 18:45:03 2012 [TM][E]: Error executing image transfer script: Error copying shivay.cdacb.in:/var/lib/one/datastores/1/0b926847ba046aabcd346e9f69f673f8 to scicloud2.cdacb.in:/var/lib/one//datastores/0/4/disk.0
>>>>> Tue Sep  4 18:45:03 2012 [DiM][I]: New VM state is FAILED
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Aug 13, 2012 at 12:34 PM, Daniel Molina <
>>>>> dmolina at opennebula.org> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> On 9 August 2012 15:30, shivay veer sharma <shivay.veer at gmail.com>wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I am new user to open nebula we wanted to use open nebula
>>>>>>>     as our cloud middleware  i have
>>>>>>>     HOST - Fedora 16 (i686)
>>>>>>>     hypervisor- XEN (version provided by Fedora)
>>>>>>>     The image i am using is created by the xen
>>>>>>>     running on the host.
>>>>>>>     but when i run i get Following error.
>>>>>>>     this is my image info
>>>>>>>     IMAGE 0 INFORMATION
>>>>>>>     ID             : 0
>>>>>>>     NAME           : centOS
>>>>>>>     USER           : oneadmin
>>>>>>>     GROUP          : oneadmin
>>>>>>>     DATASTORE      : default
>>>>>>>     TYPE           : OS
>>>>>>>     REGISTER TIME  : 08/09 17:40:54
>>>>>>>     PERSISTENT     : No
>>>>>>>     SOURCE         : /var/lib/one/datastores/1/
>>>>>>> 1b4a602103806f276d7bfe73aa5bb3a3
>>>>>>>     PATH           : /tmp/thin-body20120809-7003-e9h3mt-0
>>>>>>>     SIZE           : 8192
>>>>>>>
>>>>>>> - Ignored:
>>>>>>>     STATE          : rdy
>>>>>>>     RUNNING_VMS    : 0
>>>>>>>
>>>>>>>     PERMISSIONS
>>>>>>>
>>>>>>>     OWNER          : um-
>>>>>>>     GROUP          : ---
>>>>>>>     OTHER          : ---
>>>>>>>
>>>>>>>     IMAGE TEMPLATE
>>>>>>>
>>>>>>>     BUS="ide"
>>>>>>>     DEV_PREFIX="xvd"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>     this is my template info
>>>>>>>     TEMPLATE 0 INFORMATION
>>>>>>>
>>>>>>>     ID             : 0
>>>>>>>     NAME           : CentOs-Temp
>>>>>>>     USER           : oneadmin
>>>>>>>     GROUP          : oneadmin
>>>>>>>     REGISTER TIME  : 08/09 18:14:41
>>>>>>>
>>>>>>>     PERMISSIONS
>>>>>>>
>>>>>>>     OWNER          : um-
>>>>>>>     GROUP          : ---
>>>>>>>     OTHER          : ---
>>>>>>>
>>>>>>>     TEMPLATE CONTENTS
>>>>>>>
>>>>>>>     GRAPHICS=[
>>>>>>>       LISTEN="0.0.0.0",
>>>>>>>       TYPE="vnc" ]
>>>>>>>     MEMORY="512"
>>>>>>>     NAME="CentOs-Temp"
>>>>>>>     NIC=[
>>>>>>>       NETWORK="testNW",
>>>>>>>       NETWORK_UNAME="oneadmin" ]
>>>>>>>     OS=[
>>>>>>>       BOOTLOADER="/usr/bin/pygrub" ]
>>>>>>>     RAW=[
>>>>>>>       TYPE="xen" ]
>>>>>>>     TEMPLATE_ID="0"
>>>>>>>     VCPU="2"
>>>>>>>
>>>>>>>
>>>>>> You have to include a DISK [1] in your template:
>>>>>> DISK=[IMAGE_ID=0]
>>>>>>
>>>>>> [1] http://opennebula.org/documentation:rel3.6:template#disks_section
>>>>>>
>>>>>> Cheers
>>>>>>
>>>>>>
>>>>>>>
>>>>>>>     LOGs
>>>>>>>
>>>>>>>     Thu Aug  9 18:53:01 2012 [DiM][I]: New VM state is ACTIVE.
>>>>>>>     Thu Aug  9 18:53:01 2012 [LCM][I]: New VM state is PROLOG.
>>>>>>>     Thu Aug  9 18:53:01 2012 [VM][I]: Virtual Machine has no context
>>>>>>>     Thu Aug  9 18:53:01 2012 [LCM][I]: New VM state is BOOT
>>>>>>>     Thu Aug  9 18:53:01 2012 [VMM][I]: Generating deployment file:
>>>>>>>     /var/lib/one/3/deployment.0
>>>>>>>     Thu Aug  9 18:53:02 2012 [VMM][I]: ExitCode: 0
>>>>>>>     Thu Aug  9 18:53:02 2012 [VMM][I]: Successfully execute network
>>>>>>> driver
>>>>>>>     operation: pre.Thu Aug  9 18:53:02 2012 [VMM][I]: Command
>>>>>>> execution
>>>>>>>     fail: cat << EOT | /var/tmp/one/vmm/xen/deploy
>>>>>>>     /var/lib/one//datastores/0/3/deployment.0 shivay.cdacb.in 3
>>>>>>>     shivay.cdacb.inThu Aug  9 18:53:02 2012 [VMM][I]: Error: Had a
>>>>>>>     bootloader specified, but no disks are bootableThu Aug  9
>>>>>>> 18:53:02
>>>>>>>     2012 [VMM][E]: Unable
>>>>>>>     Thu Aug  9 18:53:02 2012 [VMM][I]: ExitCode: 1
>>>>>>>     Thu Aug  9 18:53:02 2012 [VMM][I]: Failed to execute
>>>>>>> virtualization
>>>>>>>     driver operation: deploy.Thu Aug  9 18:53:02 2012 [VMM][E]: Error
>>>>>>>     deploying virtual machine: Unable
>>>>>>>     Thu Aug  9 18:53:03 2012 [DiM][I]: New VM state is FAILED
>>>>>>>
>>>>>>>     Not able to understand what is it please tell me ASAP
>>>>>>>
>>>>>>>     Thanks and Regards
>>>>>>>
>>>>>>>     Shivay veer Sharma
>>>>>>>
>>>>>>> - Done.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------- Forwarded message ----------
>>>>>>> From: shivay veer sharma <shivay.veer at gmail.com>
>>>>>>> To: users-request at lists.opennebula.org
>>>>>>> Cc:
>>>>>>> Date: Thu, 9 Aug 2012 18:56:14 +0530
>>>>>>> Subject: Problem In running Virtual Machine
>>>>>>> hi,
>>>>>>>
>>>>>>> I am new user to open nebula we wanted to use open nebula
>>>>>>> as our cloud middleware  i have
>>>>>>> HOST - Fedora 16 (i686)
>>>>>>> hypervisor- XEN (version provided by Fedora)
>>>>>>> The image i am using is created by the xen
>>>>>>> running on the host.
>>>>>>>
>>>>>>> but when i run i get Following error.
>>>>>>>
>>>>>>> this is my image info
>>>>>>> IMAGE 0 INFORMATION
>>>>>>>
>>>>>>> ID             : 0
>>>>>>> NAME           : centOS
>>>>>>> USER           : oneadmin
>>>>>>> GROUP          : oneadmin
>>>>>>> DATASTORE      : default
>>>>>>> TYPE           : OS
>>>>>>> REGISTER TIME  : 08/09 17:40:54
>>>>>>> PERSISTENT     : No
>>>>>>> SOURCE         :
>>>>>>> /var/lib/one/datastores/1/1b4a602103806f276d7bfe73aa5bb3a3
>>>>>>> PATH           : /tmp/thin-body20120809-7003-e9h3mt-0
>>>>>>> SIZE           : 8192
>>>>>>> STATE          : rdy
>>>>>>> RUNNING_VMS    : 0
>>>>>>>
>>>>>>> PERMISSIONS
>>>>>>>
>>>>>>> OWNER          : um-
>>>>>>> GROUP          : ---
>>>>>>> OTHER          : ---
>>>>>>>
>>>>>>> IMAGE TEMPLATE
>>>>>>>
>>>>>>> BUS="ide"
>>>>>>> DEV_PREFIX="xvd"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> this is my template info
>>>>>>> TEMPLATE 0 INFORMATION
>>>>>>>
>>>>>>> ID             : 0
>>>>>>> NAME           : CentOs-Temp
>>>>>>> USER           : oneadmin
>>>>>>> GROUP          : oneadmin
>>>>>>> REGISTER TIME  : 08/09 18:14:41
>>>>>>>
>>>>>>> PERMISSIONS
>>>>>>>
>>>>>>> OWNER          : um-
>>>>>>> GROUP          : ---
>>>>>>> OTHER          : ---
>>>>>>>
>>>>>>> TEMPLATE CONTENTS
>>>>>>>
>>>>>>> GRAPHICS=[
>>>>>>>   LISTEN="0.0.0.0",
>>>>>>>   TYPE="vnc" ]
>>>>>>> MEMORY="512"
>>>>>>> NAME="CentOs-Temp"
>>>>>>> NIC=[
>>>>>>>   NETWORK="testNW",
>>>>>>>   NETWORK_UNAME="oneadmin" ]
>>>>>>> OS=[
>>>>>>>   BOOTLOADER="/usr/bin/pygrub" ]
>>>>>>> RAW=[
>>>>>>>   TYPE="xen" ]
>>>>>>> TEMPLATE_ID="0"
>>>>>>> VCPU="2"
>>>>>>>
>>>>>>>
>>>>>>> LOGs
>>>>>>>
>>>>>>> Thu Aug  9 18:53:01 2012 [DiM][I]: New VM state is ACTIVE.
>>>>>>> Thu Aug  9 18:53:01 2012 [LCM][I]: New VM state is PROLOG.
>>>>>>> Thu Aug  9 18:53:01 2012 [VM][I]: Virtual Machine has no context
>>>>>>> Thu Aug  9 18:53:01 2012 [LCM][I]: New VM state is BOOT
>>>>>>> Thu Aug  9 18:53:01 2012 [VMM][I]: Generating deployment file: /var/lib/one/3/deployment.0
>>>>>>> Thu Aug  9 18:53:02 2012 [VMM][I]: ExitCode: 0
>>>>>>> Thu Aug  9 18:53:02 2012 [VMM][I]: Successfully execute network driver operation: pre.Thu Aug  9 18:53:02 2012 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/xen/deploy /var/lib/one//datastores/0/3/deployment.0 shivay.cdacb.in 3 shivay.cdacb.inThu Aug  9 18:53:02 2012 [VMM][I]: Error: Had a bootloader specified, but no disks are bootable
>>>>>>> Thu Aug  9 18:53:02 2012 [VMM][E]: Unable
>>>>>>> Thu Aug  9 18:53:02 2012 [VMM][I]: ExitCode: 1
>>>>>>> Thu Aug  9 18:53:02 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.
>>>>>>> Thu Aug  9 18:53:02 2012 [VMM][E]: Error deploying virtual machine: Unable
>>>>>>> Thu Aug  9 18:53:03 2012 [DiM][I]: New VM state is FAILED
>>>>>>>
>>>>>>> Not able to understand what is it please tell me ASAP
>>>>>>>
>>>>>>> Thanks and Regards
>>>>>>>
>>>>>>> Shivay veer Sharma
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Users mailing list
>>>>>>> Users at lists.opennebula.org
>>>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Daniel Molina
>>>>>> Project Engineer
>>>>>> OpenNebula - The Open Source Solution for Data Center Virtualization
>>>>>> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
>>>>>>
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120913/34b79a80/attachment-0002.htm>


More information about the Users mailing list