Thanks to you both for the answers, I think I will try with the ex_
function and see if that works.

2011/5/28 Tomaž Muraus <to...@apache.org>:
> Yeah, like Sengor has said, this functionality is only supported by few
> providers.
>
> Rackspace is one of them and yes, ex_save_image() method should make a
> snapshop of your node.
>
> I am not 100%, but I think after you save the image this image should show
> up the next time you call list_images() so you can use it to create new
> servers based on this image.
>
> Another approach would be to create an EC2 AMI with your setup end use this
> image when creating a new server. Problem with this method is that IIRC you
> would need to create AMI manually.
>
> On Sat, May 28, 2011 at 8:49 AM, Sengor <seng...@gmail.com> wrote:
>
>> Capturing instance images is at the moment only provider driver
>> specific as far as I can tell. Any ex_* functions would be exposing
>> built in provider specific functionality likely not to be found
>> amongst other drivers. As you can imagine certain OS instances have
>> provider specific pre-requisites (eg. OS needs to be shutdown before
>> capture and so on) that'd be another thing to look out for.
>>
>>
>> On Sat, May 28, 2011 at 5:46 AM, marr...@gmail.com <marr...@gmail.com>
>> wrote:
>> > Hi guys,
>> >
>> > I starting to use libcloud to manage our development stress test
>> > environment, and one of the first things I need to do is save the
>> > current servers images (I'll restore them in the future).
>> > I looked around the doc and the code and seems that there is no way to
>> > create an image from a running server ... is that right? ...
>> >
>> > In the code, I found in compute/drivers/rackspace.py a method called
>> > RackspaceNodeDriver.ex_save_image ... but dunno know if that could do
>> > what I need.
>> >
>> > Thanks,
>> > --
>> > Martín
>> >
>> > http://www.kyheo.com.ar / http://blog.kyheo.com.ar
>> > GTalk: marr...@gmail.com
>> >
>>
>>
>>
>> --
>> sengork
>>
>



-- 
Martín

http://www.kyheo.com.ar / http://blog.kyheo.com.ar
GTalk: marr...@gmail.com

Reply via email to