Get the App
SLTechnology News&Howtos  ›  Servers  › 

What if there is a 500th error when creating an instance in openstack kilo version?

Shulou Source: shulou.com Published: 2022-05-31 16:12:16 09月21日 Update

This article mainly introduces the openstack kilo version of the creation of instances of 500 errors how to do, the article is very detailed, has a certain reference value, interested friends must read it!

Symptom: environment centos7 openstack version kilo

Nova boot-flavor m1.tiny-image cirros-0.3.4-x86_64-nic net-id=f309e2cc-05cb-465d-baf4-6b3b446617e9\

-security-group default-key-name demo-key demo-instance1

500 error occurred

Launch instance: ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500)

Possible reasons:

There is a bug in the kilo version of glance and the virtual machine cannot be created.

Solution:

/ usr/lib/python2.7/site-packages/glanceclient/v1/images.py must be modified by adding one line to line 76:

Key = key.lower ()

Then restart the openstack service and then create the instance.

These are all the contents of this article entitled "what to do when creating instances in openstack kilo version?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Version example error what to do time out content article line value interest reason guy partner method more environment phenomenon knowledge industry information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information Huawei Redmi Apple