[User-committee] unable to create dump file for instance

Balakrishnan Karuppasamy balakrishnan.ka at hcl.com
Fri Jul 14 13:09:37 UTC 2017


Hi Melvin,
   Thanks for the reply.
I tried the CLI command using debug option and found the version used for each module.
compute API version 2, cmd group openstack.compute.v2
network API version 2, cmd group openstack.network.v2
image API version 2, cmd group openstack.image.v2
volume API version 2, cmd group openstack.volume.v2
identity API version 3, cmd group openstack.identity.v3
object_store API version 1, cmd group openstack.object_store.v1
neutronclient API version 2, cmd group openstack.neutronclient.v2
dns API version 2, cmd group openstack.dns.v2
orchestration API version 1, cmd group openstack.orchestration.v1
data_processing API version 1.1, cmd group openstack.data_processing.v1
workflow_engine API version 2, cmd group openstack.workflow_engine.v2
database API version 1, cmd group openstack.database.v1

some of the API call were version 2.1
GET call to compute for http://10.106.138.21:8774/v2.1/49d9e9912971479f833ba6f947646b53/servers/vm5
“openstack server dump create” is not supported in API version 2.0
I followed openstack installation guide for packstack ocata .
By default the nova API version 2.0 used for all operation.
It means the command not supported in ocata version?
Please correct me if I am wrong.

Is there any way to change the API version in packstack?
Attaching the full log in the mail.


Regards,
Bala





From: Melvin Hillsman [mailto:mrhillsman at gmail.com]
Sent: Tuesday, July 11, 2017 8:21 PM
To: Balakrishnan Karuppasamy
Cc: user-committee at lists.openstack.org
Subject: Re: [User-committee] unable to create dump file for instance

Hi Bala,

I do not have an environment to test my theory on but I believe the openstack client is not setting appropriate version. Try running 'openstack --debug server dump create vm2' and look for the request URI to see if the version is set to 2.1 or higher. A quick glimpse at the code and the nova client itself, I believe openstack client attempt to use API version '2.0' as outlined in your error message is the problem. Hope this helps.

On Tue, Jul 11, 2017 at 7:52 AM, Balakrishnan Karuppasamy <balakrishnan.ka at hcl.com<mailto:balakrishnan.ka at hcl.com>> wrote:
Hi All,
   I am trying to create dump file for instance created on openstack.
But unable to create a dump. Particular CLI commands throwing below error.

[root at control-packstack ~(keystone_admin)]# openstack server dump create vm2
API version '2.0' is not supported on 'novaclient.v2.servers.[class ServerManager(base.BootingManagerWithFind):].trigger_crash_dump' method.

Can anyone help me to fix this issue.
Do I need to upgrade  novaclient or openstack python client?
My openstack version is Ocata and am using openstack with opendaylight controller.

Regards,
Bala


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------

_______________________________________________
User-committee mailing list
User-committee at lists.openstack.org<mailto:User-committee at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/user-committee



--
--
Kind regards,

Melvin Hillsman
mrhillsman at gmail.com<mailto:mrhillsman at gmail.com>
mobile: (832) 264-2646

Learner | Ideation | Belief | Responsibility | Command
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/user-committee/attachments/20170714/2d2551bb/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dump-create.log
Type: application/octet-stream
Size: 26436 bytes
Desc: dump-create.log
URL: <http://lists.openstack.org/pipermail/user-committee/attachments/20170714/2d2551bb/attachment-0001.obj>


More information about the User-committee mailing list