将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 53|回复: 0
收起左侧

openstack 重建虚机报错,rebuild errror

[复制链接]
发表于 2021-6-8 17:00:27 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
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
$ @9 Z0 v! X7 M& a9 N  j( a' L. K3 P$ r$ I, W7 R$ d+ \
& [0 R& @6 R5 ~9 r1 Z# f& }
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
, ]& Q' U( b7 r3 U# 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.
( k* ~; Q) @; [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# I! [/ z, J+ A9 V. t
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$ T8 V1 m8 \4 D8 k& h
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) c) T% m# U: L" k
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
" D1 a6 H- t. [: D# R8 H- S+ L# N1 }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.17321499 S4 O2 }& c9 G) P0 W9 p
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:883
( S  s3 Q6 J9 o0 m1 @, K: H9 O) S8 @( j
6 }2 e7 i9 M- ?, ]0 D
应该是ceph存储中images这个pool池没有给cinder的r权限:
' ]0 f, i9 V1 [; @7 b给cinder的r权限:
1 h  D/ _3 o" F, l  |ceph 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'+ \7 r, N* q+ i0 m$ U1 x: i$ d
: H9 [/ u, E6 s
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2021-6-20 21:40 , Processed in 0.067631 second(s), 23 queries .

Powered by 龙睿 bbs168x X3.2

© 2001-2020 Comsenz Inc.

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