[node-devel] Problem about modify admin's password on security page

Bohai (ricky) bohai at huawei.com
Sat Jun 22 09:07:59 UTC 2013


Hi,

I found that ovirt-node doesn't support modifying admin account's password in security page and there were some discussion about it in https://bugzilla.redhat.com/show_bug.cgi?id=966354. 

I applied the patch and tested it again, but an error is thrown probably like this "list but not string". 

I found that the code "passwd.set_password("admin", pw)" in security_page.py caught this problem . Because pw was a list but not a string.

So i suggest the following modification to solve this problem:
Before:
pw = effective_model.values_for(passwd_keys)
After:
pws = effective_model.values_for(passwd_keys)
pw=pwTmp[0]

Best regards to you.
Ricky




More information about the node-devel mailing list