[one-users] Problem in running VMs

Carlos Martín Sánchez cmartin at opennebula.org
Wed Oct 10 07:53:59 PDT 2012


Hi,

Can you do the following, from the front-end, as oneadmin?
$ ssh shivay.cdacb.in ls -al /var/lib/one/var//datastores/0

Also, how did you end up using the path /var/lib/one/Cent-OS-8GB ? You are
not using an Image registered in the datastore

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



On Wed, Oct 10, 2012 at 8:57 AM, shivay veer sharma
<shivay.veer at gmail.com>wrote:

> hi carlos,
>
> after that problem i have done single node installation that is working
> fin but i need to add more nodes that isn't working
> following error is still there i have shared the datastore directory and
> mounted it on other node but it still isn't working
>
>
> Wed Oct 10 12:10:47 2012 [DiM][I]: New VM state is ACTIVE.
> Wed Oct 10 12:10:47 2012 [LCM][I]: New VM state is PROLOG.
> Wed Oct 10 12:10:47 2012 [VM][I]: Virtual Machine has no context
> Wed Oct 10 12:10:48 2012 [TM][I]: Command execution fail:
> /var/lib/one//var/remotes/tm/shared/clone scicloud2.cdacb.in:/var/lib/one/Cent-OS-8GB
> shivay.cdacb.in:/var/lib/one/var//datastores/0/33/disk.0 33 1
> Wed Oct 10 12:10:48 2012 [TM][I]: clone: Cloning /var/lib/one/Cent-OS-8GB
> in shivay.cdacb.in:/var/lib/one/var//datastores/0/33/disk.0
> Wed Oct 10 12:10:48 2012 [TM][E]: clone: Command "cd
> /var/lib/one/var/datastores/0/33; cp -r /var/lib/one/Cent-OS-8GB
> /var/lib/one/var/datastores/0/33/disk.0" failed: sh: line 1: cd:
> /var/lib/one/var/datastores/0/33: No such file or directory
> Wed Oct 10 12:10:48 2012 [TM][I]: cp: cannot stat
> `/var/lib/one/Cent-OS-8GB': No such file or directory
> Wed Oct 10 12:10:48 2012 [TM][E]: Error copying scicloud2.cdacb.in:/var/lib/one/Cent-OS-8GB
> to shivay.cdacb.in:/var/lib/one/var//datastores/0/33/disk.0
> Wed Oct 10 12:10:48 2012 [TM][I]: ExitCode: 1
> Wed Oct 10 12:10:48 2012 [TM][E]: Error executing image transfer script:
> Error copying scicloud2.cdacb.in:/var/lib/one/Cent-OS-8GB to
> shivay.cdacb.in:/var/lib/one/var//datastores/0/33/disk.0
> Wed Oct 10 12:10:48 2012 [DiM][I]: New VM state is FAILED
>
>
> On Mon, Sep 10, 2012 at 11:58 AM, shivay veer sharma <
> shivay.veer at gmail.com> wrote:
>
>> hi ,
>>
>> i have shared the directory then after i am getting the same error then i
>> have shared the hole datastore dir
>> but the problem is still there now i have installed it in same node the
>> after the problem is there...
>> Can you please tell me the problem ASAP....
>>
>>
>> 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
>>
>> Thanks And Regards
>> Shivay Veer Sharma
>>
>>
>> On Fri, Sep 7, 2012 at 2:50 PM, Carlos Martín Sánchez <
>> cmartin at opennebula.org> wrote:
>>
>>> Hi,
>>>
>>> If you are using the 'shared' Transfer Manager (TM) driver, then the
>>> directory /var/lib/one/var/datastores/0/0 should exist in both the
>>> front-end and the host.
>>>
>>> Please check if /var/lib/one/var/datastores/0 and /1 are correctly
>>> mounted, and have the right permissions so oneadmin can use them.
>>>
>>> See the Storage doc [1] for more information
>>>
>>> Regards
>>>
>>> [1] http://opennebula.org/documentation:rel3.6:sm
>>> --
>>> Carlos Martín, MSc
>>> Project Engineer
>>> OpenNebula - The Open-source Solution for Data Center Virtualization
>>> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>>>
>>>
>>>
>>> On Thu, Sep 6, 2012 at 10:39 AM, shivay veer sharma <
>>> shivay.veer at gmail.com> wrote:
>>>
>>>> hi,
>>>>
>>>> i have just installed the openNebula and getting the following error.
>>>>
>>>>
>>>> Thu Sep  6 13:13:53 2012 [DiM][I]: New VM state is ACTIVE.
>>>> Thu Sep  6 13:13:53 2012 [LCM][I]: New VM state is PROLOG.
>>>> Thu Sep  6 13:13:53 2012 [VM][I]: Virtual Machine has no context
>>>> Thu Sep  6 13:13:54 2012 [TM][I]: Command execution fail: /var/lib/one//var/remotes/tm/shared/clone shivay.cdacb.in:/var/lib/one/var/datastores/1/220718ae84623d819616fdb75dc45194 scicloud2.cdacb.in:/var/lib/one/var//datastores/0/0/disk.0 0 1
>>>> Thu Sep  6 13:13:54 2012 [TM][I]: clone: Cloning ../..//var/lib/one/var/datastores/1/220718ae84623d819616fdb75dc45194 in scicloud2.cdacb.in:/var/lib/one/var//datastores/0/0/disk.0Thu Sep  6 13:13:54 2012 [TM][E]: clone: Command "cd /var/lib/one/var/datastores/0/0; cp -r ../..//var/lib/one/var/datastores/1/220718ae84623d819616fdb75dc45194 /var/lib/one/var/datastores/0/0/disk.0" failed: cp: cannot stat `../..//var/lib/one/var/datastores/1/220718ae84623d819616fdb75dc45194': No such file or directoryThu Sep  6 13:13:54 2012 [TM][E]: Error copying shivay.cdacb.in:/var/lib/one/var/datastores/1/220718ae84623d819616fdb75dc45194 to scicloud2.cdacb.in:/var/lib/one/var//datastores/0/0/disk.0
>>>> Thu Sep  6 13:13:54 2012 [TM][I]: ExitCode: 1Thu Sep  6 13:13:54 2012 [TM][E]: Error executing image transfer script: Error copying shivay.cdacb.in:/var/lib/one/var/datastores/1/220718ae84623d819616fdb75dc45194 to scicloud2.cdacb.in:/var/lib/one/var//datastores/0/0/disk.0
>>>> Thu Sep  6 13:13:54 2012 [DiM][I]: New VM state is FAILED
>>>>
>>>> i have manually checked the script and the command the problem is this
>>>>
>>>> cd /var/lib/one/var/datastores/0/0
>>>>
>>>> the folder doesn't exist.
>>>>
>>>> can any one tell me what is the problem am i missing some configuration....
>>>>
>>>>
>>>> Thanks and Regards
>>>>
>>>> Shivay Veer Sharma
>>>>
>>>>
>>>> _______________________________________________
>>>> 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/20121010/ebbf28e2/attachment-0002.htm>


More information about the Users mailing list