<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Melvin,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> Thanks for the reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I tried the CLI command using debug option and found the version used for each module.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:red">compute API version 2, cmd group openstack.compute.v2<o:p></o:p></span></p>
<p class="MsoNormal">network API version 2, cmd group openstack.network.v2<o:p></o:p></p>
<p class="MsoNormal">image API version 2, cmd group openstack.image.v2<o:p></o:p></p>
<p class="MsoNormal">volume API version 2, cmd group openstack.volume.v2<o:p></o:p></p>
<p class="MsoNormal">identity API version 3, cmd group openstack.identity.v3<o:p></o:p></p>
<p class="MsoNormal">object_store API version 1, cmd group openstack.object_store.v1<o:p></o:p></p>
<p class="MsoNormal">neutronclient API version 2, cmd group openstack.neutronclient.v2<o:p></o:p></p>
<p class="MsoNormal">dns API version 2, cmd group openstack.dns.v2<o:p></o:p></p>
<p class="MsoNormal">orchestration API version 1, cmd group openstack.orchestration.v1<o:p></o:p></p>
<p class="MsoNormal">data_processing API version 1.1, cmd group openstack.data_processing.v1<o:p></o:p></p>
<p class="MsoNormal">workflow_engine API version 2, cmd group openstack.workflow_engine.v2<o:p></o:p></p>
<p class="MsoNormal">database API version 1, cmd group openstack.database.v1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">some of the API call were version 2.1<o:p></o:p></p>
<p class="MsoNormal">GET call to compute for <a href="http://10.106.138.21:8774/v2.1/49d9e9912971479f833ba6f947646b53/servers/vm5">
http://10.106.138.21:8774/v2.1/49d9e9912971479f833ba6f947646b53/servers/vm5</a><o:p></o:p></p>
<p class="MsoNormal">“openstack server dump create” is not supported in API version 2.0<o:p></o:p></p>
<p class="MsoNormal">I followed openstack installation guide for packstack ocata .<o:p></o:p></p>
<p class="MsoNormal">By default the nova API version 2.0 used for all operation.<o:p></o:p></p>
<p class="MsoNormal">It means the command not supported in ocata version?<o:p></o:p></p>
<p class="MsoNormal">Please correct me if I am wrong.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there any way to change the API version in packstack?<o:p></o:p></p>
<p class="MsoNormal">Attaching the full log in the mail.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Bala<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Melvin Hillsman [mailto:mrhillsman@gmail.com]
<br>
<b>Sent:</b> Tuesday, July 11, 2017 8:21 PM<br>
<b>To:</b> Balakrishnan Karuppasamy<br>
<b>Cc:</b> user-committee@lists.openstack.org<br>
<b>Subject:</b> Re: [User-committee] unable to create dump file for instance<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Bala,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I do not have an environment to test my theory on but I believe the openstack client is not setting appropriate version. Try running '<span style="font-size:9.5pt">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.</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, Jul 11, 2017 at 7:52 AM, Balakrishnan Karuppasamy <<a href="mailto:balakrishnan.ka@hcl.com" target="_blank">balakrishnan.ka@hcl.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi All,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> I am trying to create dump file for instance created on openstack.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">But unable to create a dump. Particular CLI commands throwing below error.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">[root@control-packstack ~(keystone_admin)]# openstack server dump create vm2<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:red">API version '2.0' is not supported on 'novaclient.v2.servers.[class ServerManager(base.BootingManagerWithFind):].trigger_crash_dump' method.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:red"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Can anyone help me to fix this issue.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Do I need to upgrade novaclient or openstack python client?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">My openstack version is Ocata and am using openstack with opendaylight controller.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Regards,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Bala<o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:gray"><br>
<br>
</span><span style="font-size:7.0pt;font-family:"Arial","sans-serif";color:gray">::DISCLAIMER::<br>
----------------------------------------------------------------------------------------------------------------------------------------------------</span><span style="color:gray"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:gray">The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.<br>
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
<br>
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
<br>
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
<br>
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
<br>
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
<br>
distribution and / or publication of this message without the prior written consent of authorized representative of
<br>
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
<br>
Before opening any email and/or attachments, please check them for viruses and other defects.</span><span style="color:gray"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial","sans-serif";color:gray">----------------------------------------------------------------------------------------------------------------------------------------------------</span><span style="color:gray"><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
User-committee mailing list<br>
<a href="mailto:User-committee@lists.openstack.org">User-committee@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/user-committee" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/user-committee</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Kind regards,<br>
<br>
Melvin Hillsman<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="mailto:mrhillsman@gmail.com" target="_blank"><span style="color:#1155CC">mrhillsman@gmail.com</span></a><br>
mobile: (832) 264-2646<br>
<br>
Learner | Ideation | Belief | Responsibility | Command<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>