Bug 1096074

Summary: RHEVH TUI: Can't set password for adding Node through oVirt Engine UI, it causes host can not be added into rhevm webadmin portal.
Product: Red Hat Enterprise Virtualization Manager Reporter: cshao <cshao>
Component: ovirt-node-plugin-vdsmAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED ERRATA QA Contact: Tareq Alayan <talayan>
Severity: high Docs Contact:
Priority: high    
Version: 3.4.0CC: acathrow, bazulay, cpelland, fdeutsch, gklein, gouyang, guasun, hadong, hateya, huiwa, iheim, jboggs, leiwang, lpeer, pstehlik, rbarry, tpoitras, yaniwang, ycui, yeylon
Target Milestone: ---Keywords: Regression, ZStream
Target Release: 3.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: ovirt-node-plugin-vdsm-0.1.1-19.el6ev Doc Type: Bug Fix
Doc Text:
Previously, changing the password for the "Optional password for adding Node through oVirt Engine UI" setting in the Red Hat Enterprise Virtualization Hypervisor oVirt Engine menu was dependent on changing the address. This meant that if the password was changed on the hypervisor, but not the address, the hypervisor would fail to connect when added to the engine. Now, changing the password is independent of the address and can be changed in the Red Hat Enterprise Virtualization Hypervisor oVirt Engine menu and connect to the engine as expected.
Story Points: ---
Clone Of:
: 1097243 (view as bug list) Environment:
Last Closed: 2014-06-09 14:26:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1097243    
Attachments:
Description Flags
can't set password
none
vdsm.log none

Description cshao 2014-05-09 08:13:02 UTC
Created attachment 893877 [details]
can't set password

Description of problem:
TUI: Can't set password for adding Node through oVirt Engine UI

In oVirt Engine menu, user can set password for adding Node through oVirt Engine UI, but actually we can't do that and it will pop-up:
oVirt Engine Fingerprint
Can't connect to oVirt Engine.

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.5-20140508.0.el6ev
ovirt-node-3.0.1-18.el6_5.10.noarch
vdsm-4.14.7-1.el6ev.x86_64
RHEV-M: av8.1

How reproducible:
100%

Steps to Reproduce:
1. Install rhev-hypervisor6-6.5-20140508.0.el6ev.
2. Configure network.
3. Enter oVirt Engine menu, leave management server blank.
4. Set password for for adding Node through oVirt Engine UI.
5. Save & Register

Actual results:
Can't set password for adding Node through oVirt Engine UI

Expected results:
Can set password for adding Node through oVirt Engine UI

Additional info:
Workaround is here:
Enter rescue mode and set root password, and then add Node through oVirt Engine UI with the new root password can successful, the Node can up normally.

No such issue on build rhev-hypervisor6-6.5-20140407.0.el6ev, so it is a regression bug.

Comment 1 cshao 2014-05-09 08:26:46 UTC
Created attachment 893879 [details]
vdsm.log

Comment 4 Tareq Alayan 2014-05-13 11:42:53 UTC
verified on 
Red Hat Enterprise Virtualization Hypervisor release 6.5 (20140507.0.el6ev)

Comment 5 Fabian Deutsch 2014-05-13 12:03:02 UTC
I can still reproduce the bug on

Red Hat Enterprise Virtualization Hypervisor release 6.5 (20140507.0.el6ev)

stpes to reproduce:
1. Configure network
2. Enter Enine page
3. Set password ( Do NOT set a management server url)
4. Hit Save & Register

Result:
A dialog is shown (can not register to engine)

Expected result:
The root password is set

Comment 6 Tareq Alayan 2014-05-13 12:27:04 UTC
moving to QA i tested it on z stream rhevh

Comment 8 Fabian Deutsch 2014-05-13 12:51:02 UTC
Removing FailedQA because the build that was tested in comment 4 5 and 6 were all OLD builds not containing the fix.

Comment 9 Tareq Alayan 2014-05-18 11:17:49 UTC
verified on 
Red Hat Enterprise Virtualization Hypervisor release 6.5 (20140513.0.el6ev)
ovirt-node-plugin-vdsm-0.1.1-19.el6ev.noarch

Comment 10 errata-xmlrpc 2014-06-09 14:26:32 UTC
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-2014-0673.html