首页 > 其他分享 >Invalid OpenStack Identity credentials.

Invalid OpenStack Identity credentials.

时间:2023-07-04 10:14:38浏览次数:38  
标签:03 wsgi 14 Invalid 2023 OpenStack glance Identity 07

Uploading image to glance fails with "500 internal Server Error"

glance image-create --name "BayMax_Centos7.5_238.110" --file BayMax_Centos7.5_238.110-disk-0.qcow2 --disk-format qcow2 --container-format bare --visibility=public
#
# | Property         | Value                                |
# +------------------+--------------------------------------+
# | checksum         | None                                 |
# | container_format | bare                                 |
# | created_at       | 2023-07-03T06:30:33Z                 |
# | disk_format      | qcow2                                |
# | id               | fc3d619f-2397-44f3-ba73-5f475a752fc5 |
# | min_disk         | 0                                    |
# | min_ram          | 0                                    |
# | name             | BayMax_Centos7.5_238.110  |
# | os_hash_algo     | None                                 |
# | os_hash_value    | None                                 |
# | os_hidden        | False                                |
# | owner            | d660e1d89bca45329cd3bf9f7ef8368b     |
# | protected        | False                                |
# | size             | None                                 |
# | status           | queued                               |
# | tags             | []                                   |
# | updated_at       | 2023-07-03T06:30:33Z                 |
# | virtual_size     | Not available                        |
# | visibility       | public                               |
# +------------------+--------------------------------------+
# HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation.

错误日志

2023-07-03 14:35:54.304 5210 INFO eventlet.wsgi.server [req-1a3c2180-4156-4064-85a6-befcc1b427e0 1b4ffa6d86bc41f68dd01e9e7079285f d5fa6e43018b4a3fbd30eac72c759877 - default default] xxx.xxx.xxx.xxx - - [03/Jul/2023 14:35:54] "GET /v2/images?limit=1000&sort_key=created_at&sort_dir=desc HTTP/1.1" 200 16664 0.033708
2023-07-03 14:35:54.310 5210 INFO eventlet.wsgi.server [req-309b1afc-1658-4af1-94f4-212082d252cd 1b4ffa6d86bc41f68dd01e9e7079285f d5fa6e43018b4a3fbd30eac72c759877 - default default] xxx.xxx.xxx.xxx - - [03/Jul/2023 14:35:54] "GET /v2/schemas/image HTTP/1.1" 200 6283 0.003833
2023-07-03 14:35:55.631 5212 ERROR glance.api.v2.image_data [req-cbf3085d-bb1d-454d-bbde-22b46e64c95f 444079fb80974ad5a752f1e99a0352cd d660e1d89bca45329cd3bf9f7ef8368b - default default] Failed to upload image data due to internal error: OSError: [Errno 122] Disk quota exceeded
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi [req-cbf3085d-bb1d-454d-bbde-22b46e64c95f 444079fb80974ad5a752f1e99a0352cd d660e1d89bca45329cd3bf9f7ef8368b - default default] Caught error: [Errno 122] Disk quota exceeded: OSError: [Errno 122] Disk quota exceeded
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi Traceback (most recent call last):
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance_store/_drivers/filesystem.py", line 757, in add
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     f.write(buf)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi OSError: [Errno 5] Input/output error
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi During handling of the above exception, another exception occurred:
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi OSError: [Errno 5] Input/output error
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi During handling of the above exception, another exception occurred:
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi Traceback (most recent call last):
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance/common/wsgi.py", line 1332, in __call__
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     request, **action_args)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance/common/wsgi.py", line 1370, in dispatch
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     return method(*args, **kwargs)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance/common/utils.py", line 414, in wrapped
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     return func(self, req, *args, **kwargs)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance/api/v2/image_data.py", line 303, in upload
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     self._restore(image_repo, image)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/oslo_utils/excutils.py", line 227, in __exit__
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     self.force_reraise()
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/oslo_utils/excutils.py", line 200, in force_reraise
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     raise self.value
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance/api/v2/image_data.py", line 163, in upload
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     image.set_data(data, size, backend=backend)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance/notifier.py", line 497, in set_data
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     _send_notification(notify_error, 'image.upload', msg)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/oslo_utils/excutils.py", line 227, in __exit__
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     self.force_reraise()
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/oslo_utils/excutils.py", line 200, in force_reraise
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     raise self.value
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance/notifier.py", line 444, in set_data
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     set_active=set_active)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance/quota/__init__.py", line 323, in set_data
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     set_active=set_active)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance/location.py", line 585, in set_data
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     self._upload_to_store(data, verifier, backend, size)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance/location.py", line 499, in _upload_to_store
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     verifier=verifier)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance_store/backend.py", line 491, in add_to_backend_with_multihash
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     image_id, data, size, hashing_algo, store, context, verifier)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance_store/backend.py", line 468, in store_add_to_backend_with_multihash
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     image_id, data, size, hashing_algo, context=context, verifier=verifier)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance_store/driver.py", line 279, in add_adapter
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     metadata_dict) = store_add_fun(*args, **kwargs)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance_store/capabilities.py", line 176, in op_checker
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     return store_op_fun(store, *args, **kwargs)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance_store/_drivers/filesystem.py", line 764, in add
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     raise errors.get(e.errno, e)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi   File "/usr/lib/python3.6/site-packages/glance_store/_drivers/filesystem.py", line 757, in add
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi     f.write(buf)
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi OSError: [Errno 122] Disk quota exceeded
2023-07-03 14:35:55.654 5212 ERROR glance.common.wsgi
2023-07-03 14:35:55.713 5212 INFO eventlet.wsgi.server [req-675e1845-2265-4969-aafd-59b8b1c74249 1b4ffa6d86bc41f68dd01e9e7079285f d5fa6e43018b4a3fbd30eac72c759877 - default default] xxx.xxx.xxx.xxx - - [03/Jul/2023 14:35:55] "GET /v2/images HTTP/1.1" 200 16595 0.078819
2023-07-03 14:36:52.290 5212 INFO eventlet.wsgi.server [req-cbf3085d-bb1d-454d-bbde-22b46e64c95f 444079fb80974ad5a752f1e99a0352cd d660e1d89bca45329cd3bf9f7ef8368b - default default] xxx.xxx.xxx.xxx - - [03/Jul/2023 14:36:52] "PUT /v2/images/fc3d619f-2397-44f3-ba73-5f475a752fc5/file HTTP/1.1" 500 454 378.839489
2023-07-03 14:36:54.074 5212 INFO eventlet.wsgi.server [req-ef83a5c3-1e32-4839-85ff-62f3fc3f03ea 1b4ffa6d86bc41f68dd01e9e7079285f d5fa6e43018b4a3fbd30eac72c759877 - default default] xxx.xxx.xxx.xxx - - [03/Jul/2023 14:36:54] "GET /v2/images?limit=1000&sort_key=created_at&sort_dir=desc HTTP/1.1" 200 16664 0.032280

重点OSError: [Errno 122] Disk quota exceeded。后查磁盘空间不够,扩容解决。

标签:03,wsgi,14,Invalid,2023,OpenStack,glance,Identity,07
From: https://www.cnblogs.com/linga/p/17524902.html

相关文章

  • javac: invalid target release: 1.6
    Itriedtobuildaprojectonnetbeanswhenthiserrorcameup:javac:invalidtargetrelease:1.6Usage:javac<options><sourcefiles>wherepossibleoptionsinclude:-gGeneratealldebugginginfo-g:noneGeneratenodebugginginfo-......
  • OpenStack(五)使用Packstack工具一键安装OpenStack
    环境规划操作系统虚拟机配置IP地址主机名虚拟机软件OpenStack版本CentOS7.94CPU/8G内存/30G硬盘192.168.0.31openstackVMwareWorkStation17Stein准备安装从阿里源下载CentOS镜像或者:链接:https://pan.baidu.com/s/15jyPVOAHA6tafwUk863b9g?pwd=ekq5 ......
  • 注意:openstack错题集
    一、使用gitclone克隆https://git.openstack.org/openstack-dev/devstack仓库时出错问题描述:https协议克隆不受信任,然后换git协议,网络受限制(git.openstack.org[0:104.130.253.131]:errno=Connectionrefusedgit.openstack.org[1:2001:4800:7818:103:be76:4eff:fe01:f37d]:......
  • 十分钟搭建openstack平台
    十分钟搭建openstack平台https://www.rdoproject.org/install/packstack/先决条件在CentOSStream8/RHEL8上:network-scripts已弃用且默认未安装,因此需要显式安装。sudodnfinstallnetwork-scripts-y禁用firewalld和NetworkManagersudosystemctldisablefirewalldsudo......
  • openstack
    一、https://docs.openstack.org/mitaka/zh_CN/install-guide-rdo/keystone-openrc.html     (官方文档)安装rabbitmq需要注意使用以下方法(1)安装rabbitmq:yuminstallrabbitmq-server-y启动服务:systemctlenablerabbitmq-server.servicesystemctlstartrabbitmq-ser......
  • System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'Person'.
    @@abpMicrosoft.Data.SqlClient.SqlException(0x80131904):Invalidobjectname 请求接口报错:System.Data.SqlClient.SqlException(0x80131904):Invalidobjectname'Person'.无效的名称:Person数据库没有这个表,或者这个字段处理;检查数据库是否有改表或该字段......
  • Apache启动报错:Invalid command ‘ProxyPass‘, perhaps misspelled or defined by a
    配置文件httpd,问题出在ProxyPass这个环节:ProxyPass/vict_servicehttp://localhost:8080/vict_service也就是要为/vict_service这个请求路径匹配一个实际可用的路径,既然提示ProxyPass命令无效,那么肯定是某个地方的设置问题。解决的方法就在httpd这个配置文件里,找到以下两条......
  • vue列表页返回数组错误Invalid prop: type check failed for prop "data". Expected A
    一个vue列表页接收后端数组时是这样写的:this.list=response.data返回如下错误:Invalidprop:typecheckfailedforprop"data".ExpectedArray,gotObject意思是希望返回一个数组但实际得到一个对象Object,网上大多是初始化userList=[]或userList=null解决的,但......
  • Invalid character found in the request target [/api/hsFile/download?filePath=E:
    java.lang.IllegalArgumentException:Invalidcharacterfoundintherequesttarget[/api/hsFile/download?filePath=E:\\%E4%B8%B4%E6%97%B6%E6%96%87%E4%BB%B6&fileName=N230508A0002.xlsx].ThevalidcharactersaredefinedinRFC7230andRFC39861、原因:/a......
  • mysql - #1067 - Invalid default value
    mysql中无法设置默认值为函数或者表达式,如果你强制设置时,就会报错误:#1067-Invaliddefaultvalue。这不是mysql的bug,而是故意这么设计的。参看:http://dev.mysql.com/doc/refman/5.0/en/data-type-defaults.html这里写道:"TheDEFAULTvalueclauseinadatatypespecification......