找回密码
 注册
查看: 1970|回复: 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
0 u9 y6 k: V! o* w, `New password: ) g) R" z7 x+ m" V
Retype new password:
; n  k! D1 S/ Z4 }" C9 t" I) ?Unable to set password on instance (HTTP 501) (Request-ID: req-033fb298-96ba-4166-9a42-9a0c85396d6f)
, v/ \, `6 E  J

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2021-11-10 17:04:44 | 显示全部楼层
[root@controller1 src]# openstack server set 87943f2f-8f34-4902-af98-993ff6f339bc --root-password
' n3 X8 F/ u6 l' w" L, jNew password: : u1 L2 u7 Y6 f* O# v
Retype new password: , D$ b; Q1 B( S: a* C
Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
7 X+ C. o: Q3 v1 Y2 @% f5 d# s<class 'oslo_db.exception.DBDeadlock'> (HTTP 500) (Request-ID: req-43c73329-f7f0-497f-aa34-242798f508b5)
, `( C, {" ?) K. ^[root@controller1 src]# openstack server set 87943f2f-8f34-4902-af98-993ff6f339bc --root-password
& a2 x9 b6 w0 UNew password: 1 p$ }+ p. j0 _, S* D0 Q
Retype new password:
) K& i1 d0 g$ l9 g4 ]3 U3 VCannot '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.
1 D$ A; [* T( R% Q: S5 _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.
$ V$ h+ J/ W* z1 z3 J2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init Traceback (most recent call last):9 T+ f" q5 i2 C
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
4 M: \, V/ S0 T# {2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     shared_data)6 J% q8 j5 Q3 |/ 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\plugins\windows\winrmcertificateauth.py", line 58, in execute
* @0 y! w# U& g8 Y) w2 \2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     user_name, password = self._get_credentials(service, shared_data)& p- P  }/ E8 W' d/ L0 l$ y# Z
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
7 U" C. k8 Z3 W' W2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init     "Cannot execute plugin as the password has not been set "8 Z3 D: |" m4 Z  d$ u6 a& n5 m8 u
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.  _& h% p9 N4 e2 C! ^, W1 P
2021-11-10 16:57:14.719 2320 ERROR cloudbaseinit.init
5 ?* r! H6 ^  X8 y/ k) @2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Executing plugin 'LocalScriptsPlugin'
6 ?" `1 q1 h/ ?6 v2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Plugins execution done& p+ B9 Q( I5 `# M' z- c
2021-11-10 16:57:14.813 2320 INFO cloudbaseinit.init [-] Stopping Cloudbase-Init service) f  k. C* n3 Z3 _* z  d9 Y
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 02:20 , Processed in 0.028358 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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