Hide Forgot
Description of problem: When installing via the TUI, the password input screen disallows all strong passwords. A simple password that prompts the "you have entered a weak password" message will allow installation, but a stong password will result in a popup saying that "You must enter a valid password" Version-Release number of selected component (if applicable): 6.2-0.9 How reproducible: Always Steps to Reproduce: 1.Install using TUI and complex password 2. 3. Actual results: Can't install Expected results: Installation runs. Additional info:
Temporary workaround until permanent solution can be found: diff --git a/scripts/ovirt-config-installer.py b/scripts/ovirt-config-installer.py index 30f8aa9..ff2ccc8 100644 --- a/scripts/ovirt-config-installer.py +++ b/scripts/ovirt-config-installer.py @@ -828,11 +828,7 @@ class NodeInstallScreen: if not self.current_password_fail == 1: self.upgrade_node() elif self.__current_page == PASSWORD_PAGE: - if self.valid_password == 0: - self.install_node() - else: - ButtonChoiceWindow(self.screen, "Password Check", "You must enter a valid password", buttons = ['Ok']) - self.__current_page = PASSWORD_PAGE + self.install_node() elif self.__current_page == FAILED_PAGE: f = self.log_menu_list.current() log = open(f)
Joey, I think this is the actual fix, please have a look: --- a/scripts/ovirtfunctions.py +++ b/scripts/ovirtfunctions.py @@ -1085,7 +1085,7 @@ def password_check(password_1, password_2): do not contain dictionary words") elif password_1 != "" and password_2 == "": return (1, "Please Confirm Password\n\n\n\n\n\n") - return (1, "\n\n\n\n\n\n") + return (0, "\n\n\n\n\n\n") def get_logrotate_size(): size = augtool_get("/files/etc/logrotate.d/ovirt-node/rule/size")
Actually this: -- a/scripts/ovirtfunctions.py +++ b/scripts/ovirtfunctions.py @@ -1083,6 +1083,7 @@ def password_check(password_1, password_2): return (0, "You have provided a weak password!\nStrong passwo lowercase, numeric and punctuation characters.\n\nThe do not contain dictionary words") + return (0, "\n\n\n\n\n\n") elif password_1 != "" and password_2 == "": return (1, "Please Confirm Password\n\n\n\n\n\n") return (1, "\n\n\n\n\n\n")
Created attachment 516802 [details] proposed patch
Test version: rhev-hypervisor-6.2-0.14.el6 TUI: Strong passwords are allowed (e.g. 123qwe!@#QWE) So change bug status to VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1783.html