找回密码
 注册
查看: 1968|回复: 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 7 M0 A; ?, |" f+ \/ q
New password:
' k9 N( x' e; v  _, ZRetype new password:
) j- c* [  ~8 kUnable to set password on instance (HTTP 501) (Request-ID: req-033fb298-96ba-4166-9a42-9a0c85396d6f)
& V8 P- N2 E2 K# C, Z) X4 z! d1 C/ A

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-11-10 17:04:44 | 显示全部楼层
[root@controller1 src]# openstack server set 87943f2f-8f34-4902-af98-993ff6f339bc --root-password
7 h$ [' _- F1 l: u7 c0 ~New password:
, l# @' o- r1 w# H; mRetype new password:
, `5 R  g. s: wUnexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.$ e8 O% U6 Z& T; q$ N* d
<class 'oslo_db.exception.DBDeadlock'> (HTTP 500) (Request-ID: req-43c73329-f7f0-497f-aa34-242798f508b5)
' `' {' X' p0 d( y+ o7 W7 q[root@controller1 src]# openstack server set 87943f2f-8f34-4902-af98-993ff6f339bc --root-password + X' [& A) p  v4 k" f" J/ k
New password:
# P* r' K! S! B* ~7 o, b: F& ], zRetype new password:
# D0 b+ J1 A6 w% z4 Z0 ?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.. U: w) @1 V  [4 t8 S; W) ~7 }9 s
2021-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.
" G8 L  o4 ~/ g6 F! p, P2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init Traceback (most recent call last):
6 k  N7 H5 G# ^1 b+ ^. ?+ C* s2021-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
" d& }1 c5 M! h* i2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     shared_data)
& j) \7 o" r$ N# 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 execute0 X1 P* ]& p* W+ R: R
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     user_name, password = self._get_credentials(service, shared_data)2 T9 N8 O4 `7 ?9 j
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  s4 }. v/ P0 X8 G! q4 X
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     "Cannot execute plugin as the password has not been set "2 I4 I8 E9 L8 O/ ]  Q& P0 i# @3 X* `
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.' t4 y1 i$ u* I( |; k
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init $ S1 q+ f) }1 m; S: P: R) n
2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Executing plugin 'LocalScriptsPlugin'
2 J+ F9 ^) \% i; g5 N2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Plugins execution done) I: O; y( A5 x6 F1 r0 I! x& Q5 `( \
2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Stopping Cloudbase-Init service
% C% v* R) S" c# y9 t2021-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:16 , Processed in 0.019344 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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