Magnum: invalid format of client version

Bharat Kunwar bharat at stackhpc.com
Fri Jul 24 13:10:40 UTC 2020


Interesting, what version of Heat and Nova are you using? That looks like a nova client error which I guess Heat is using to make calls to Nova.

> On 24 Jul 2020, at 12:52, Alexander Dibbo - UKRI STFC <alexander.dibbo at stfc.ac.uk> wrote:
> 
> Ok, This definitely seems to be a heat issue. A heat stack created with a server group gives the same error
>  
> Regards
>  
> Alexander Dibbo – Cloud Architect / Cloud Operations Group Leader
> For STFC Cloud Documentation visit https://stfc-cloud-docs.readthedocs.io <https://stfc-cloud-docs.readthedocs.io/>
> To raise a support ticket with the cloud team please email cloud-support at gridpp.rl.ac.uk <mailto:cloud-support at gridpp.rl.ac.uk>
> To receive notifications about the service please subscribe to our mailing list at:https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STFC-CLOUD <https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STFC-CLOUD>
> To receive fast notifications or to discuss usage of the cloud please join our Slack:https://stfc-cloud.slack.com/ <https://stfc-cloud.slack.com/>
>  
> From: Alexander Dibbo - UKRI STFC <alexander.dibbo at stfc.ac.uk> 
> Sent: 24 July 2020 09:58
> To: Bharat Kunwar <bharat at stackhpc.com>
> Cc: openstack-discuss at lists.openstack.org
> Subject: RE: Magnum: invalid format of client version
>  
> From doing some more digging I see this in the debug logs on heat
> 2020-07-24 08:33:10.618 2167043 INFO heat.engine.stack [req-249dfd80-48f4-44f5-9f0e-7c9ac743f047 - admin - default default] Exception in stack validation
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack Traceback (most recent call last):
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack   File "/usr/lib/python2.7/site-packages/heat/engine/stack.py", line 909, in validate
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack     result = res.validate()
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack   File "/usr/lib/python2.7/site-packages/heat/engine/resources/openstack/nova/server_group.py", line 69, in validate
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack     MICROVERSION_SOFT_POLICIES)
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack   File "/usr/lib/python2.7/site-packages/heat/engine/clients/os/nova.py", line 107, in is_version_supported
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack     self.get_max_microversion())
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack   File "/usr/lib/python2.7/site-packages/novaclient/api_versions.py", line 236, in get_api_version
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack     api_version = APIVersion(version_string)
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack   File "/usr/lib/python2.7/site-packages/novaclient/api_versions.py", line 77, in __init__
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack     raise exceptions.UnsupportedVersion(msg)
> 2020-07-24 08:33:10.618 2167043 ERROR heat.engine.stack UnsupportedVersion: Invalid format of client version ''. Expected format 'X.Y', where X is a major part and Y is a minor part of ve
> rsion.
>  
> So it looks like heat is trying to not specify a microversion which is causing an issue with creating server groups. I have tried and I am able to create a server group and assign members with the cli.
>  
> Regards
>  
> Alexander Dibbo – Cloud Architect / Cloud Operations Group Leader
> For STFC Cloud Documentation visit https://stfc-cloud-docs.readthedocs.io <https://stfc-cloud-docs.readthedocs.io/>
> To raise a support ticket with the cloud team please email cloud-support at gridpp.rl.ac.uk <mailto:cloud-support at gridpp.rl.ac.uk>
> To receive notifications about the service please subscribe to our mailing list at:https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STFC-CLOUD <https://www.jiscmail.ac.uk/cgi-bin/webadmin?A0=STFC-CLOUD>
> To receive fast notifications or to discuss usage of the cloud please join our Slack:https://stfc-cloud.slack.com/ <https://stfc-cloud.slack.com/>
> This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKRI business are solely those of the author and do not represent the views of UKRI.
> 
> This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKRI business are solely those of the author and do not represent the views of UKRI.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200724/5cd8ede8/attachment.html>


More information about the openstack-discuss mailing list