[Openstack-operators] [nova] create image from paused VM refused with http 409

Saverio Proto zioproto at gmail.com
Tue Mar 22 14:36:29 UTC 2016


I am not a developer but I tried my best !
https://review.openstack.org/#/c/295865/

I applied the patch in my staging system and it fixes the problem :)

Saverio


2016-03-22 13:46 GMT+01:00 Saverio Proto <zioproto at gmail.com>:
> I found the problem. It happens only then the instance has booted from volume.
>
> I think api.py should be patched at the function
> snapshot_volume_backed (line 2250) in a similar way as
> https://review.openstack.org/#/c/116789/
>
> Looks like the bug is also there in master , file nova/compute/api.py line 2296
>
> I will try to submit a patch with Gerrit
>
> Saverio
>
> 2016-03-22 13:33 GMT+01:00 Saverio Proto <zioproto at gmail.com>:
>> Hello there,
>>
>> I used to do this in Juno, and now I upgraded to Kilo and it is not
>> working anymore.
>>
>> macsp:~ proto$ openstack server image create --name test
>> 81da19c6-efbe-4002-b4e8-5ce352ffdd14
>> Cannot 'createImage' instance 81da19c6-efbe-4002-b4e8-5ce352ffdd14
>> while it is in vm_state paused (HTTP 409) (Request-ID:
>> req-0e7f339d-a236-4584-a44c-49daed7558ee)
>>
>> Is this a change of behaviour ?
>>
>> I also found this:
>>
>> https://review.openstack.org/#/c/116789/
>>
>> Should not this work ? my nova-api --version is 2015.1.2
>>
>> Saverio



More information about the OpenStack-operators mailing list