I'm now handling this bug. But I don't know exactly how to fix it.
As the description said, using "keystone user-password-update username" to update the password to "", and then the user cannot login again. I have tested that it is true. But this should be fixed in keystoneclient side.
In OSC, I tried to use "os user set --password" to update the password to "", but it is not allowed because of the following code in SetUser:
if parsed_args.password: identity_client.users.update_password( user.id, parsed_args.password,
)
If the password is "", it won't update.
On the other hand, when we try to login with "os --os-username xxx --os-password xxx COMMAND" to login and execute command, an empty password will fail. But this is not the OSC problem, right ?
Hi Steve,
I'm now handling this bug. But I don't know exactly how to fix it.
As the description said, using "keystone user-password- update username" to update the password to "", and then the user cannot login again. I have tested that it is true. But this should be fixed in keystoneclient side.
In OSC, I tried to use "os user set --password" to update the password to "", but it is not allowed because of the following code in SetUser:
if parsed_ args.password:
identity_ client. users.update_ password(
user. id,
parsed_ args.password,
)
If the password is "", it won't update.
On the other hand, when we try to login with "os --os-username xxx --os-password xxx COMMAND" to login and execute command, an empty password will fail. But this is not the OSC problem, right ?
Thanks.