codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
To receive fast notifications or to discuss usage of the cloud please join our Slack: 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.

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