Hi Ronelle,

Thanks for picking this up. It was on my todo list but have been focusing on 
cimi system first.

>  - checks if the create_image op exists on the running instance
>  - if not, stops the instance
>  - and checks if the create_image op now exists

Should the test also cater for the possibility that a provider supports 
create_image for both running and stopped instances?
I don't know if we have any such providers. If not, I suppose we can revisit 
the test when we do.

>  - starts the instabce if it was stopped in step 2

Maybe there is no need for this?
None of the other tests rely on the instance to be running so it could be left 
in the stopped state.

Regards,
Dies Koper

--
Dies KÖPER
Software & Solutions Architect

Fujitsu Australia Software Technology (FAST) - Cloud Computing
Tel. +61 2 9452 9061 (Fujitsu internal 7985-29061)
[email protected]


> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Wednesday, 27 February 2013 10:02 AM
> To: [email protected]
> Subject: Deltacloud - Tests - adding testpoint for creating an image from
> a stopped instance - if supported
> 
> 
> We lost this testing when all instances were started prior to running
> the instances testpoints. This patch:
> 
>  - checks if the create_image op exists on the running instance
>  - if not, stops the instance
>  - and checks if the create_image op now exists
>  - if so, carries on with the test and creates the image
>  - starts the instabce if it was stopped in step 2
> 
> I've dons some preliminary testing on RHEVM, Mock ... assuming that there
> will be little fallout for the providers that support image creation from
> a running instance (fgcp and c2) - where this code will just be skipped
> over.
> 


Reply via email to