找回密码
 注册
查看: 1967|回复: 2

openstack set --root-password 修改密码报错 Unable to set password on instance (HTTP 50

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-11-10 09:16:47 | 显示全部楼层 |阅读模式
openstack server set 71ce3ee3-1719-4374-843d-3ab754998a54 --root-password
4 s' K& t# u9 TNew password:
+ u: h# n* v; `4 o0 p9 _Retype new password: 0 u: Y; \2 ^. W1 D! C
Unable to set password on instance (HTTP 501) (Request-ID: req-033fb298-96ba-4166-9a42-9a0c85396d6f)
. E- D# u6 f# k. \' F

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-11-10 17:04:44 | 显示全部楼层
[root@controller1 src]# openstack server set 87943f2f-8f34-4902-af98-993ff6f339bc --root-password $ _% I- {9 _# A) o1 \5 d5 }* v
New password: . ^) F$ f) d3 X% Q( G
Retype new password:
* z7 o6 K6 A8 {7 y. m( wUnexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.( @' s9 n$ l9 \3 b% K9 l
<class 'oslo_db.exception.DBDeadlock'> (HTTP 500) (Request-ID: req-43c73329-f7f0-497f-aa34-242798f508b5)) }' ?9 ]8 Q0 H* _' @7 g; Z, p' N4 T) z
[root@controller1 src]# openstack server set 87943f2f-8f34-4902-af98-993ff6f339bc --root-password * t8 C" h& U' C! w
New password:
& m. ?: V9 E3 L5 w' \5 _# L8 NRetype new password: % c+ y  R5 x- j8 Q, z& x- U6 h. D/ p
Cannot 'changePassword' instance 87943f2f-8f34-4902-af98-993ff6f339bc while it is in task_state updating_password (HTTP 409) (Request-ID: req-f50f2277-20cd-479f-b762-c92d1140063f)

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-11-10 17:09:25 | 显示全部楼层
2021-11-10 16:57:14.703 2320 ERROR cloudbaseinit.init [-] plugin 'ConfigWinRMCertificateAuthPlugin' failed with error 'Cannot execute plugin as the password has not been set in the plugins shared data, nor it was retrieved from the metadata service.': cloudbaseinit.exception.CloudbaseInitException: Cannot execute plugin as the password has not been set in the plugins shared data, nor it was retrieved from the metadata service.
4 t: d) F# K8 R2 A" ~5 {1 R/ _6 d2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init [-] Cannot execute plugin as the password has not been set in the plugins shared data, nor it was retrieved from the metadata service.: cloudbaseinit.exception.CloudbaseInitException: Cannot execute plugin as the password has not been set in the plugins shared data, nor it was retrieved from the metadata service.
8 ~2 T- q# |/ U6 O1 O4 K6 H0 r2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init Traceback (most recent call last):
2 l# j# z% z. g8 x2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py", line 67, in _exec_plugin* I. F7 L' y3 r
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     shared_data)
" ?. {& X) N6 [8 _" J6 D2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\windows\winrmcertificateauth.py", line 58, in execute; r& g- n  e( y+ V) F
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     user_name, password = self._get_credentials(service, shared_data)" J" _6 z' t6 _% `9 V( x
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\windows\winrmcertificateauth.py", line 47, in _get_credentials) J5 ?5 O# g/ a3 b' O. J
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     "Cannot execute plugin as the password has not been set "( w1 S; y7 A/ D5 d
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init cloudbaseinit.exception.CloudbaseInitException: Cannot execute plugin as the password has not been set in the plugins shared data, nor it was retrieved from the metadata service.. A/ i$ V6 x$ n/ `
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init " c* h$ _. @' w9 o/ F
2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Executing plugin 'LocalScriptsPlugin'
2 h- K8 Y  l/ ?7 F( t, l2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Plugins execution done
6 ~& }! a/ a3 B: _0 ?5 c2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Stopping Cloudbase-Init service2 p' B. u  d5 v0 O
2021-11-10 16:57:17.839 2320 DEBUG cloudbaseinit.osutils.windows [-] Stopping service cloudbase-init stop_service C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\osutils\windows.py:1140
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:15 , Processed in 0.014081 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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