Description of problem: After performing the upgrade to oVirt node 4.4.6 an attempt to login through cockpit will fail with: Wrong user name or password Version-Release number of selected component (if applicable): 4.4.6.3 - 2021-05-18 How reproducible: 100% Steps to Reproduce: 1. Install oVirt node 4.4.5 2. Upgrade to oVirt node 4.4.6.3 3. Try to access cockpit with the correct root account password Actual results: The system will fail to login, saying: Wrong user name or password Expected results: The system should allow login with correct username and password Additional info: The issue was debugged and has to do with the imgbase upgrade code. The workaround is to execute the following command on system after the reboot (with root privileges): # chmod u+s /usr/libexec/cockpit-session
Depending on how risky the fix is, we may consider shipping an async to oVirt 4.4.6
I tried and the workaround works.
The patch for the issue was sent. Verified the fix (from /var/log/imgbased.log): ... 2021-05-26 10:45:27,224 [DEBUG] (migrate_etc) The mode of file /tmp/mnt.Yf7qS//usr/libexec/cockpit-session is: 4750 2021-05-26 10:45:27,224 [DEBUG] (migrate_etc) Going to restore the access mode 2021-05-26 10:45:27,225 [DEBUG] (migrate_etc) Chowning '/tmp/mnt.Yf7qS//usr/libexec/cockpit-session' to (-1, 990) 2021-05-26 10:45:27,225 [DEBUG] (migrate_etc) Restoring mode of file /tmp/mnt.Yf7qS//usr/libexec/cockpit-session to: 4750 2021-05-26 10:45:27,256 [DEBUG] (migrate_etc) The mode of directory /tmp/mnt.Yf7qS//usr/share/factory/var/log/chrony is: 755 2021-05-26 10:45:27,256 [DEBUG] (migrate_etc) Chowning '/tmp/mnt.Yf7qS//usr/share/factory/var/log/chrony' to (995, 992) 2021-05-26 10:45:27,256 [DEBUG] (migrate_etc) The mode of directory /tmp/mnt.Yf7qS//usr/share/factory/var/log/ovirt-imageio is: 755 2021-05-26 10:45:27,256 [DEBUG] (migrate_etc) Chowning '/tmp/mnt.Yf7qS//usr/share/factory/var/log/ovirt-imageio' to (990, 986) 2021-05-26 10:45:27,257 [DEBUG] (migrate_etc) The mode of directory /tmp/mnt.Yf7qS//usr/share/factory/var/lib/unbound is: 755 2021-05-26 10:45:27,257 [DEBUG] (migrate_etc) Chowning '/tmp/mnt.Yf7qS//usr/share/factory/var/lib/unbound' to (991, 988) 2021-05-26 10:45:27,257 [DEBUG] (migrate_etc) The mode of directory /tmp/mnt.Yf7qS//usr/share/factory/var/lib/chrony is: 755 2021-05-26 10:45:27,257 [DEBUG] (migrate_etc) Chowning '/tmp/mnt.Yf7qS//usr/share/factory/var/lib/chrony' to (995, 992) 2021-05-26 10:45:27,257 [DEBUG] (migrate_etc) The mode of file /tmp/mnt.Yf7qS//usr/share/factory/var/lib/unbound/root.key is: 644 2021-05-26 10:45:27,258 [DEBUG] (migrate_etc) Chowning '/tmp/mnt.Yf7qS//usr/share/factory/var/lib/unbound/root.key' to (991, 988) 2021-05-26 10:45:27,260 [DEBUG] (migrate_etc) The mode of file /tmp/mnt.Yf7qS//usr/share/factory/etc/chrony.keys is: 640 2021-05-26 10:45:27,260 [DEBUG] (migrate_etc) Chowning '/tmp/mnt.Yf7qS//usr/share/factory/etc/chrony.keys' to (-1, 992) 2021-05-26 10:45:27,310 [DEBUG] (migrate_etc) The mode of file /tmp/mnt.Yf7qS//usr/lib/.build-id/dd/8572ed110434805b89c14e52a608474071d7bf is: 4750 2021-05-26 10:45:27,310 [DEBUG] (migrate_etc) Going to restore the access mode 2021-05-26 10:45:27,311 [DEBUG] (migrate_etc) Chowning '/tmp/mnt.Yf7qS//usr/lib/.build-id/dd/8572ed110434805b89c14e52a608474071d7bf' to (-1, 990) 2021-05-26 10:45:27,311 [DEBUG] (migrate_etc) Restoring mode of file /tmp/mnt.Yf7qS//usr/lib/.build-id/dd/8572ed110434805b89c14e52a608474071d7bf to: 4750 ...
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
QE verified this bug on "ovirt-node-ng-image-update-4.4.7-0.1.rc1.el8.noarch.rpm". Test steps: 1. Install oVirt node 4.4.5 2. Setup local repos and point to "ovirt-node-ng-image-update-4.4.7-0.1.rc1.el8.noarch.rpm" 3. Upgrade to oVirt node 4.4.7 4. Try to access cockpit with the correct root account password Test results: Login to cockpit successfully. Will move the bug Status to "VERIFIED".
This bugzilla is included in oVirt 4.4.7 release, published on July 6th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.7 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.