You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Jewel Nuruddin <je...@yahoo.com> on 2012/06/07 12:39:14 UTC

Very basic query but no boday ask me about creating template from guest vm

Hi,

So what if user work on a guest and he did lots of work on his vm and he want to keep this backup, so you guys ask me to take a snaphot, so in Cloudstack this snaphot will not run? then how can user get his current stats in a new vm ?
well you said make a template from this snapshot ....right ? yes I can make template .....but this template is not start or I can not create new vm from this template......
so what will be the way to take guest vm backup?

or please help me to take guest vm backup and use this backup in a later.

Thanks


RE: Failed to create vloume(same can not create guest vm from template)

Posted by Abhinandan Prateek <Ab...@citrix.com>.
There is problem with your secondary storage SR (cf67c48d-02ab-a11e-d8b8-9c19f01fab70).

-abhi

>-----Original Message-----
>From: Jewel Nuruddin [mailto:jewel.nuruddin@yahoo.com]
>Sent: Thursday, June 07, 2012 4:31 PM
>To: cloudstack-users@incubator.apache.org; cloudstack-
>dev@incubator.apache.org
>Subject: Failed to create vloume(same can not create guest vm from
>template)
>
>Hi All,
>
>I have another problem, I could not create volume from snapshot.
>
>Here is my log
>If some one can help me.
>
>2012-06-07 19:55:40,368 DEBUG [agent.transport.Request] (Job-Executor-
>10:job-366) Seq 5-49610833: Sending  { Cmd , MgmtId: 264216224466399, via:
>5, Ver: v1, Flags: 100011,
>[{"CreateVolumeFromSnapshotCommand":{"primaryStoragePoolNameLabel"
>:"30029a4c-c809-3980-8bd1-6287111bbe0c","snapshotUuid":"958045ab-f02d-
>4ce6-bb11-2ac2847c43ee","snapshotName":"e007a574-eca9-4e2b-9306-
>7ec9580ee622_ROOT-
>50_20120604061343","secondaryStorageUrl":"nfs://192.168.2.178/export/sec
>ondary","dcId":1,"accountId":2,"volumeId":66,"wait":600}}] }
>2012-06-07 19:55:40,368 DEBUG [agent.transport.Request] (Job-Executor-
>10:job-366) Seq 5-49610833: Executing:  { Cmd , MgmtId: 264216224466399,
>via: 5, Ver: v1, Flags: 100011,
>[{"CreateVolumeFromSnapshotCommand":{"primaryStoragePoolNameLabel"
>:"30029a4c-c809-3980-8bd1-6287111bbe0c","snapshotUuid":"958045ab-f02d-
>4ce6-bb11-2ac2847c43ee","snapshotName":"e007a574-eca9-4e2b-9306-
>7ec9580ee622_ROOT-
>50_20120604061343","secondaryStorageUrl":"nfs://192.168.2.178/export/sec
>ondary","dcId":1,"accountId":2,"volumeId":66,"wait":600}}] }
>2012-06-07 19:56:51,947 ERROR [cloud.storage.StorageManagerImpl] (Job-
>Executor-10:job-366) Failed to create volume from e007a574-eca9-4e2b-9306-
>7ec9580ee622_ROOT-50_20120604061343 on pool
>Pool[200|NetworkFilesystem] due to null due to failed to scan sr cf67c48d-
>02ab-a11e-d8b8-9c19f01fab70
>com.cloud.utils.exception.CloudRuntimeException: Failed to create volume
>from e007a574-eca9-4e2b-9306-7ec9580ee622_ROOT-50_20120604061343 on
>pool Pool[200|NetworkFilesystem]
>
>
>Thanks


RE: Very basic query but no boday ask me about creating template from guest vm

Posted by Venkata SwamyBabu Budumuru <ve...@citrix.com>.
Also we have an option to create a template out of a ROOT disk (pre-requisite is:  instance needs to be in stopped state).

-SWAMY

-----Original Message-----
From: Abhinandan Prateek [mailto:Abhinandan.Prateek@citrix.com] 
Sent: Thursday, June 07, 2012 4:15 PM
To: cloudstack-users@incubator.apache.org; cloudstack-dev@incubator.apache.org
Subject: RE: Very basic query but no boday ask me about creating template from guest vm

>-----Original Message-----
>From: Jewel Nuruddin [mailto:jewel.nuruddin@yahoo.com]
>Sent: Thursday, June 07, 2012 4:09 PM
>To: cloudstack-users@incubator.apache.org; cloudstack- 
>dev@incubator.apache.org
>Subject: Very basic query but no boday ask me about creating template 
>from guest vm
>
>Hi,
>
>So what if user work on a guest and he did lots of work on his vm and 
>he want to keep this backup, so you guys ask me to take a snaphot, so 
>in Cloudstack this snaphot will not run? then how can user get his 
>current stats in a new vm ?
>well you said make a template from this snapshot ....right ? yes I can 
>make template .....but this template is not start or I can not create 
>new vm from this template......

What error do you get when you create a VM from the template ?

-abhi

RE: Very basic query but no boday ask me about creating template from guest vm

Posted by Venkata SwamyBabu Budumuru <ve...@citrix.com>.
Also we have an option to create a template out of a ROOT disk (pre-requisite is:  instance needs to be in stopped state).

-SWAMY

-----Original Message-----
From: Abhinandan Prateek [mailto:Abhinandan.Prateek@citrix.com] 
Sent: Thursday, June 07, 2012 4:15 PM
To: cloudstack-users@incubator.apache.org; cloudstack-dev@incubator.apache.org
Subject: RE: Very basic query but no boday ask me about creating template from guest vm

>-----Original Message-----
>From: Jewel Nuruddin [mailto:jewel.nuruddin@yahoo.com]
>Sent: Thursday, June 07, 2012 4:09 PM
>To: cloudstack-users@incubator.apache.org; cloudstack- 
>dev@incubator.apache.org
>Subject: Very basic query but no boday ask me about creating template 
>from guest vm
>
>Hi,
>
>So what if user work on a guest and he did lots of work on his vm and 
>he want to keep this backup, so you guys ask me to take a snaphot, so 
>in Cloudstack this snaphot will not run? then how can user get his 
>current stats in a new vm ?
>well you said make a template from this snapshot ....right ? yes I can 
>make template .....but this template is not start or I can not create 
>new vm from this template......

What error do you get when you create a VM from the template ?

-abhi

Failed to create vloume(same can not create guest vm from template)

Posted by Jewel Nuruddin <je...@yahoo.com>.
Hi All,

I have another problem, I could not create volume from snapshot.

Here is my log
If some one can help me.

2012-06-07 19:55:40,368 DEBUG [agent.transport.Request] (Job-Executor-10:job-366) Seq 5-49610833: Sending  { Cmd , MgmtId: 264216224466399, via: 5, Ver: v1, Flags: 100011, [{"CreateVolumeFromSnapshotCommand":{"primaryStoragePoolNameLabel":"30029a4c-c809-3980-8bd1-6287111bbe0c","snapshotUuid":"958045ab-f02d-4ce6-bb11-2ac2847c43ee","snapshotName":"e007a574-eca9-4e2b-9306-7ec9580ee622_ROOT-50_20120604061343","secondaryStorageUrl":"nfs://192.168.2.178/export/secondary","dcId":1,"accountId":2,"volumeId":66,"wait":600}}] }
2012-06-07 19:55:40,368 DEBUG [agent.transport.Request] (Job-Executor-10:job-366) Seq 5-49610833: Executing:  { Cmd , MgmtId: 264216224466399, via: 5, Ver: v1, Flags: 100011, [{"CreateVolumeFromSnapshotCommand":{"primaryStoragePoolNameLabel":"30029a4c-c809-3980-8bd1-6287111bbe0c","snapshotUuid":"958045ab-f02d-4ce6-bb11-2ac2847c43ee","snapshotName":"e007a574-eca9-4e2b-9306-7ec9580ee622_ROOT-50_20120604061343","secondaryStorageUrl":"nfs://192.168.2.178/export/secondary","dcId":1,"accountId":2,"volumeId":66,"wait":600}}] }
2012-06-07 19:56:51,947 ERROR [cloud.storage.StorageManagerImpl] (Job-Executor-10:job-366) Failed to create volume from e007a574-eca9-4e2b-9306-7ec9580ee622_ROOT-50_20120604061343 on pool Pool[200|NetworkFilesystem] due to null due to failed to scan sr cf67c48d-02ab-a11e-d8b8-9c19f01fab70
com.cloud.utils.exception.CloudRuntimeException: Failed to create volume from e007a574-eca9-4e2b-9306-7ec9580ee622_ROOT-50_20120604061343 on pool Pool[200|NetworkFilesystem]


Thanks


Failed to create vloume(same can not create guest vm from template)

Posted by Jewel Nuruddin <je...@yahoo.com>.
Hi All,

I have another problem, I could not create volume from snapshot.

Here is my log
If some one can help me.

2012-06-07 19:55:40,368 DEBUG [agent.transport.Request] (Job-Executor-10:job-366) Seq 5-49610833: Sending  { Cmd , MgmtId: 264216224466399, via: 5, Ver: v1, Flags: 100011, [{"CreateVolumeFromSnapshotCommand":{"primaryStoragePoolNameLabel":"30029a4c-c809-3980-8bd1-6287111bbe0c","snapshotUuid":"958045ab-f02d-4ce6-bb11-2ac2847c43ee","snapshotName":"e007a574-eca9-4e2b-9306-7ec9580ee622_ROOT-50_20120604061343","secondaryStorageUrl":"nfs://192.168.2.178/export/secondary","dcId":1,"accountId":2,"volumeId":66,"wait":600}}] }
2012-06-07 19:55:40,368 DEBUG [agent.transport.Request] (Job-Executor-10:job-366) Seq 5-49610833: Executing:  { Cmd , MgmtId: 264216224466399, via: 5, Ver: v1, Flags: 100011, [{"CreateVolumeFromSnapshotCommand":{"primaryStoragePoolNameLabel":"30029a4c-c809-3980-8bd1-6287111bbe0c","snapshotUuid":"958045ab-f02d-4ce6-bb11-2ac2847c43ee","snapshotName":"e007a574-eca9-4e2b-9306-7ec9580ee622_ROOT-50_20120604061343","secondaryStorageUrl":"nfs://192.168.2.178/export/secondary","dcId":1,"accountId":2,"volumeId":66,"wait":600}}] }
2012-06-07 19:56:51,947 ERROR [cloud.storage.StorageManagerImpl] (Job-Executor-10:job-366) Failed to create volume from e007a574-eca9-4e2b-9306-7ec9580ee622_ROOT-50_20120604061343 on pool Pool[200|NetworkFilesystem] due to null due to failed to scan sr cf67c48d-02ab-a11e-d8b8-9c19f01fab70
com.cloud.utils.exception.CloudRuntimeException: Failed to create volume from e007a574-eca9-4e2b-9306-7ec9580ee622_ROOT-50_20120604061343 on pool Pool[200|NetworkFilesystem]


Thanks


RE: Very basic query but no boday ask me about creating template from guest vm

Posted by Abhinandan Prateek <Ab...@citrix.com>.
>-----Original Message-----
>From: Jewel Nuruddin [mailto:jewel.nuruddin@yahoo.com]
>Sent: Thursday, June 07, 2012 4:09 PM
>To: cloudstack-users@incubator.apache.org; cloudstack-
>dev@incubator.apache.org
>Subject: Very basic query but no boday ask me about creating template from
>guest vm
>
>Hi,
>
>So what if user work on a guest and he did lots of work on his vm and he want
>to keep this backup, so you guys ask me to take a snaphot, so in Cloudstack
>this snaphot will not run? then how can user get his current stats in a new vm
>?
>well you said make a template from this snapshot ....right ? yes I can make
>template .....but this template is not start or I can not create new vm from this
>template......

What error do you get when you create a VM from the template ?

-abhi

RE: Very basic query but no boday ask me about creating template from guest vm

Posted by Abhinandan Prateek <Ab...@citrix.com>.
>-----Original Message-----
>From: Jewel Nuruddin [mailto:jewel.nuruddin@yahoo.com]
>Sent: Thursday, June 07, 2012 4:09 PM
>To: cloudstack-users@incubator.apache.org; cloudstack-
>dev@incubator.apache.org
>Subject: Very basic query but no boday ask me about creating template from
>guest vm
>
>Hi,
>
>So what if user work on a guest and he did lots of work on his vm and he want
>to keep this backup, so you guys ask me to take a snaphot, so in Cloudstack
>this snaphot will not run? then how can user get his current stats in a new vm
>?
>well you said make a template from this snapshot ....right ? yes I can make
>template .....but this template is not start or I can not create new vm from this
>template......

What error do you get when you create a VM from the template ?

-abhi