Re: [Openstack-operators] [openstack-community] Running instance snapshot

2018-07-16 Thread Matt Riedemann

On 7/12/2018 10:09 AM, Alfredo De Luca wrote:
​I tried with glance image-create or nova backup but I got the 
following


Neither of those are server snapshot operations (well backup is, but 
it's probably not what you're looking for).


glance image-create is creating an image in glance, not creating a 
snapshot from a server. That would be 'nova image-create':


https://docs.openstack.org/python-novaclient/latest/cli/nova.html#nova-image-create

What is the error message in the 400 response? It should be in the CLI 
output but if not, what's in the nova-api logs?


--

Thanks,

Matt

___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] [openstack-community] Running instance snapshot

2018-07-12 Thread Alfredo De Luca
Thanks Amy... I ll do that and post the result
Cheers


On Thu, Jul 12, 2018 at 4:42 PM Amy Marrich  wrote:

> Alfredo,
>
> I've added the operators list but in Newton you should be able to use the
> OpenStack CLI for this as well. Checkout 'openstack server backup create
> --help' if you get an error again add --debug to the end to get some more
> information to troubleshoot.
>
> Thanks,
>
> Amy (spotz)
>
> On Thu, Jul 12, 2018 at 8:25 AM, Alfredo De Luca  > wrote:
>
>> Hi all.
>> We have OS Newton and I wonder if it's possible to perform instance
>> snapshot either on WUI or CLI.
>>
>> ​I tried with glance image-create or nova backup but I got the
>> following
>>
>> ERROR (BadRequest): The request is invalid. (HTTP 400) (Request-ID:
>> req-89154d7e-f0c5-4a2a-9bc9-b98c0c5e3182)​
>>
>>
>> ​Any clue/info?
>> cheers
>>
>>
>> --
>> *Alfredo*
>>
>>
>> ___
>> Community mailing list
>> commun...@lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/community
>>
>>
>

-- 
*Alfredo*
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] [openstack-community] Running instance snapshot

2018-07-12 Thread Amy Marrich
Alfredo,

I've added the operators list but in Newton you should be able to use the
OpenStack CLI for this as well. Checkout 'openstack server backup create
--help' if you get an error again add --debug to the end to get some more
information to troubleshoot.

Thanks,

Amy (spotz)

On Thu, Jul 12, 2018 at 8:25 AM, Alfredo De Luca 
wrote:

> Hi all.
> We have OS Newton and I wonder if it's possible to perform instance
> snapshot either on WUI or CLI.
>
> ​I tried with glance image-create or nova backup but I got the
> following
>
> ERROR (BadRequest): The request is invalid. (HTTP 400) (Request-ID:
> req-89154d7e-f0c5-4a2a-9bc9-b98c0c5e3182)​
>
>
> ​Any clue/info?
> cheers
>
>
> --
> *Alfredo*
>
>
> ___
> Community mailing list
> commun...@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/community
>
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators