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

易陆发现论坛

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

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

[复制链接]
发表于 2021-11-10 09:16:47 | 显示全部楼层 |阅读模式

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

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

x
openstack server set 71ce3ee3-1719-4374-843d-3ab754998a54 --root-password 0 \, d- Q/ @* i$ q
New password:
: i. `* t  a: l( O# F; yRetype new password:
' b" p5 S8 N# H( `: gUnable to set password on instance (HTTP 501) (Request-ID: req-033fb298-96ba-4166-9a42-9a0c85396d6f)
* @2 Z5 O3 a; b3 q$ U6 u
 楼主| 发表于 2021-11-10 17:04:44 | 显示全部楼层
[root@controller1 src]# openstack server set 87943f2f-8f34-4902-af98-993ff6f339bc --root-password
: C) [% [0 R; g, m" g6 \# Y" i: L/ ~New password: 5 f# D5 P3 u/ P* G
Retype new password:
0 h& F! F% J0 q% m: h" AUnexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
/ j7 Q* d- ?9 f. f! h+ j6 X5 n" ~  v<class 'oslo_db.exception.DBDeadlock'> (HTTP 500) (Request-ID: req-43c73329-f7f0-497f-aa34-242798f508b5)% ^# i- V8 ?/ Z* @0 v  M$ R* D
[root@controller1 src]# openstack server set 87943f2f-8f34-4902-af98-993ff6f339bc --root-password
/ @" j$ K  z9 MNew password:
; e4 G! `, U4 N% ~Retype new password: 8 Y$ y# y% a5 m8 ]) ~3 _+ R
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)
 楼主| 发表于 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.
+ H/ `8 t" _8 ~$ z" A# H( |0 J& c2021-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.- o+ L6 `; T/ q" g
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init Traceback (most recent call last):
( c$ t% K4 p( x- o. J# K. k/ D" ~2021-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
- U6 J; ^! R8 I* r+ m2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     shared_data)
8 B& w6 u6 W( \! j- J! M. m( t) 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 execute! Z! P8 ^; K8 J' B" K
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     user_name, password = self._get_credentials(service, shared_data)
( H( n7 u2 `# f5 T  o; k: T& B2021-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; }4 P* [5 @/ v7 b4 V6 W& q
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     "Cannot execute plugin as the password has not been set "
7 J) H9 g/ z( B8 _) I; m3 B. q2021-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.
) M: ?; O0 L$ [$ |7 j1 \8 L" d2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init
5 \! m' _5 c2 W& Q. k2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Executing plugin 'LocalScriptsPlugin'
, _6 E4 K- e" r2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Plugins execution done& d/ i# T) ^8 l  G
2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Stopping Cloudbase-Init service
! j6 x; a/ z" G9 p2021-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
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

如有购买积分卡请联系497906712

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

GMT+8, 2022-1-21 03:53 , Processed in 0.039639 second(s), 22 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2022 Comsenz Inc.

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