找回密码
 注册
查看: 3108|回复: 0

openstack 重建虚机报错,rebuild errror

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-6-8 17:00:27 | 显示全部楼层 |阅读模式
2021-06-08 04:09:14.744 29 DEBUG nova.api.openstack.wsgi [req-92b44224-2a14-4708-8877-d3f0892e00f5 46aefa5d65b84c3f9196296e4f4fb25c 4e75af83152940359dd0c9a56e1ea614 - default default] Returning 400 to user: Image 1d2cfcd0-b06e-4908-a886-c091a2a6b233 is unacceptable: Unable to rebuild with a different image for a volume-backed server. __call__ /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:1064
3 T' j4 }; Y1 }
6 i! d- B, S. r7 |
  R- k) k$ ]; ~. v2021-06-08 04:09:14.742 29 DEBUG nova.compute.api [req-92b44224-2a14-4708-8877-d3f0892e00f5 46aefa5d65b84c3f9196296e4f4fb25c 4e75af83152940359dd0c9a56e1ea614 - default default] [instance: f4a70ead-639f-44f2-b0e5-fca4b8198e68] Requested to rebuild instance with a new image 1d2cfcd0-b06e-4908-a886-c091a2a6b233 for a volume-backed server with image 9acb8b4c-5696-4eae-a04d-9d185b8b222d in its root volume which is not supported. rebuild /usr/lib/python2.7/site-packages/nova/compute/api.py:3161
1 n8 H/ e. Y, S) L2021-06-08 04:09:14.743 29 INFO nova.api.openstack.wsgi [req-92b44224-2a14-4708-8877-d3f0892e00f5 46aefa5d65b84c3f9196296e4f4fb25c 4e75af83152940359dd0c9a56e1ea614 - default default] HTTP exception thrown: Image 1d2cfcd0-b06e-4908-a886-c091a2a6b233 is unacceptable: Unable to rebuild with a different image for a volume-backed server.# q. V/ l. p/ |( u; G! w2 ]
2021-06-08 04:09:14.744 29 DEBUG nova.api.openstack.wsgi [req-92b44224-2a14-4708-8877-d3f0892e00f5 46aefa5d65b84c3f9196296e4f4fb25c 4e75af83152940359dd0c9a56e1ea614 - default default] Returning 400 to user: Image 1d2cfcd0-b06e-4908-a886-c091a2a6b233 is unacceptable: Unable to rebuild with a different image for a volume-backed server. __call__ /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:10649 v4 T7 f& b+ g. r. A
2021-06-08 04:09:14.746 29 INFO nova.osapi_compute.wsgi.server [req-92b44224-2a14-4708-8877-d3f0892e00f5 46aefa5d65b84c3f9196296e4f4fb25c 4e75af83152940359dd0c9a56e1ea614 - default default] 10.144.106.7,10.144.106.6 "POST /v2.1/4e75af83152940359dd0c9a56e1ea614/servers/f4a70ead-639f-44f2-b0e5-fca4b8198e68/action HTTP/1.1" status: 400 len: 571 time: 0.3544419
# V) S" s; j" W$ L+ U# w( z2021-06-08 04:09:15.102 28 DEBUG nova.osapi_compute.wsgi.server [req-b7f64780-eaab-408d-9a26-005f6c865eb1 - - - - -] (28) accepted ('10.144.106.6', 60118) server /usr/lib/python2.7/site-packages/eventlet/wsgi.py:883: `5 p! _% R! y* n& H- w" c' N3 V
2021-06-08 04:09:15.276 28 DEBUG nova.api.openstack.wsgi [req-a3e0e39e-cfe8-4c0d-9278-85f8f40d1303 46aefa5d65b84c3f9196296e4f4fb25c 4e75af83152940359dd0c9a56e1ea614 - default default] Calling method '<bound method VersionsController.show of <nova.api.openstack.compute.versionsV21.VersionsController object at 0x7fc9a782be90>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py:607  N# y& |% Y  e& t  I; z# I
2021-06-08 04:09:15.277 28 INFO nova.osapi_compute.wsgi.server [req-a3e0e39e-cfe8-4c0d-9278-85f8f40d1303 46aefa5d65b84c3f9196296e4f4fb25c 4e75af83152940359dd0c9a56e1ea614 - default default] 10.144.106.7,10.144.106.6 "GET /v2.1/ HTTP/1.1" status: 200 len: 763 time: 0.1732149
! T% e4 C9 x; g! Z+ w7 x5 \2021-06-08 04:09:17.483 29 DEBUG nova.osapi_compute.wsgi.server [req-ae6a49cf-cc80-4333-8cbd-4d0156e75a54 - - - - -] (29) accepted ('10.144.106.6', 60264) server /usr/lib/python2.7/site-packages/eventlet/wsgi.py:8838 G+ D3 m/ f  r( `# N' X
3 B3 J9 g; u6 b2 Z. j1 B

# I% h+ r0 n' @8 R0 B/ w2 `0 n" \% F应该是ceph存储中images这个pool池没有给cinder的r权限:" r0 k" P: J- l9 e
给cinder的r权限:
2 Y/ ?7 w6 l) d+ Q% W0 h; `; _% bceph auth caps client.cinder mon 'allow r' osd 'allow class-read object_prefix rbd_children,allow rwx pool=volumes,allow rwx pool=backups,allow rx pool=images'4 B' D/ {9 T. V

( [) Y. B& C% @8 k" p: S0 d: s
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 03:33 , Processed in 0.039584 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表