找回密码
 注册
查看: 1969|回复: 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
  Q. W9 U" D/ n( U: h, H4 }$ P; LNew password:
7 x/ z. m% M/ p0 cRetype new password: * p& M% J& p' \; s% \( k
Unable to set password on instance (HTTP 501) (Request-ID: req-033fb298-96ba-4166-9a42-9a0c85396d6f); Y- f' N9 F! w( I, v& n* w; N

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-11-10 17:04:44 | 显示全部楼层
[root@controller1 src]# openstack server set 87943f2f-8f34-4902-af98-993ff6f339bc --root-password
- R: G& y3 t$ LNew password: 1 x* S$ a) U% D7 W
Retype new password: / K6 a4 n) `* u- J
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible., E( M$ q& @1 o2 _% E
<class 'oslo_db.exception.DBDeadlock'> (HTTP 500) (Request-ID: req-43c73329-f7f0-497f-aa34-242798f508b5); V3 @! J# T3 |7 g! v. C
[root@controller1 src]# openstack server set 87943f2f-8f34-4902-af98-993ff6f339bc --root-password 2 D/ {# D& }& v) i, Y
New password:
7 X2 J# J$ }% X8 T! Z3 \+ iRetype new password:
8 j$ p3 `0 P6 o2 [% F) t6 NCannot '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 I1 M. a( A) H/ P2021-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.
; q0 E- D2 e2 i& }2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init Traceback (most recent call last):
% _: b7 [( q+ D" p2021-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
- _! a7 t$ T, V/ I/ E/ k* s2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     shared_data)
7 ~1 `! C7 t# b. a2 v2021-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 execute8 w4 U2 K/ [; F" j% W
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     user_name, password = self._get_credentials(service, shared_data)! l' k, ?4 s* o
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_credentials4 x2 p: e0 q7 N# R8 W5 ^- I3 \; V
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     "Cannot execute plugin as the password has not been set "
' A$ z' m; y& T. i$ C% j2021-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.
" C/ {+ h5 j' ]( }3 e2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init " l& v4 |3 _. U$ Z
2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Executing plugin 'LocalScriptsPlugin'0 z9 ~) _) ~. d( Y
2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Plugins execution done! g7 n- M( m- H# e
2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Stopping Cloudbase-Init service% }, U) {( y) B  G# @3 M3 U
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 01:24 , Processed in 0.018032 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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