Bug 1448100 - [OVN] - oVirt OVN provider password can't be empty
Summary: [OVN] - oVirt OVN provider password can't be empty
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.2.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Marcin Mirecki
QA Contact: Mor
URL:
Whiteboard:
Depends On:
Blocks: 1457925
TreeView+ depends on / blocked
 
Reported: 2017-05-04 14:18 UTC by Michael Burman
Modified: 2017-12-20 11:30 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:30:36 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 77254 0 'None' MERGED packaging: ovirt-provider-ovn password must not be empty by default 2021-02-16 09:44:49 UTC

Description Michael Burman 2017-05-04 14:18:18 UTC
Description of problem:
[OVN] - oVirt OVN provider password can't be empty.

If choosing to install the ovirt-provider-ovn packages, the default authentication password is 'empty', but it can't be empty, as engine will not accept it and connection to the provider will fail:

code 403, message Forbidden
May 04 16:55:25 mburman-4-test-rpms.scl.lab.tlv.redhat.com python[26103]: 127.0.0.1 - - [04/May/2017 16:55:25] "GET /v2.0/ HTTP/1.1" 403 -

'Test' will fail as engine not accepting empty password for authentication.

Version-Release number of selected component (if applicable):
4.2.0-0.0.master.20170503135127.git43302b6.el7.centos


Steps to Reproduce:
1. Run engine-setup on master version and choose to install ovirt-provider-ovn
oVirt OVN provider user[admin]: 
oVirt OVN provider password[empty]:

2. Choose default admin and password(empty)
3. Finish engine-setup and go the the webadmin and test the ovn-provider

Actual results:
No connection to the provider, authentication has failed with empty password

Expected results:
User should configure password for authentication when running engine-setup and the default shouldn't be empty.

Comment 1 Dan Kenigsberg 2017-05-06 22:19:34 UTC
There should be no default, then.

Comment 2 Mor 2017-06-05 07:43:27 UTC
During fresh install, we intended to take the password of admin@internal as the default password for ovirt-provider-ovn.

But if too complex, we can avoid this, and force the user to retype the password on upgrade and on fresh install.

Comment 3 Marcin Mirecki 2017-06-09 08:07:54 UTC
Password is not mandatory.
note that we do not ask for it if using default credentials

Comment 4 Mor 2017-06-15 09:10:37 UTC
Verified on 4.2.0-0.0.master.20170612192318.gitf773263.el7.centos

Comment 5 Sandro Bonazzola 2017-12-20 11:30:36 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.