找回密码
 注册
查看: 3107|回复: 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) J! z: M  b# t8 T6 ~4 h

0 N  O# R) z1 A% O& T. C5 l  N- s. U+ J
2021-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
5 Z; f' U: q, T& ^9 h# v/ n2021-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., _2 Y- E# B* |5 t8 X$ S1 @; J1 y: e
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
  r! w, l" I5 J5 J2021-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
7 Q: o- O% ?% j) P* F' |0 A6 B+ ]2021-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
# e, H; v2 c  ?5 A" o- `0 q& V2021-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
# O! P$ j# H) Q& I5 t8 Z) |. u: O6 L2021-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
- u9 I1 B, `& E1 b: f1 k2021-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:883
5 k2 T+ a3 V; g  x
! y3 Q1 {  B# ^! W! {
8 O" g. B2 a3 ]应该是ceph存储中images这个pool池没有给cinder的r权限:
0 {# [+ ?& U0 N' `3 R7 a9 ]给cinder的r权限:
, h" `0 i0 E; F9 lceph 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'
0 M7 O$ S! b! s6 r' `6 C& E; ]% ?7 b: Q. e0 s
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 02:27 , Processed in 0.020801 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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