Bug 1322891 - Can not validate C&U credentials for RHEVM provider
Summary: Can not validate C&U credentials for RHEVM provider
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.6.0
Assignee: Greg Blomquist
QA Contact: Nandini Chandra
URL:
Whiteboard: c&u:rhev
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-31 14:30 UTC by Alex Krzos
Modified: 2019-11-14 07:42 UTC (History)
11 users (show)

Fixed In Version: 5.6.0.6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-18 16:09:10 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Alex Krzos 2016-03-31 14:30:28 UTC
Description of problem:
Added RHEVM provider to 5.6.0.0-beta1 appliance and attempted to add C&U credentials through automation.  C&U credentials fail to validate thus automation stops.  The same provider + credentials works in 5.5.3.2.

Version-Release number of selected component (if applicable):
5.6.0.0-beta1

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


evm.log output:

[----] W, [2016-03-31T10:24:28.431629 #60095:4c90b7c]  WARN -- : MIQ(ManageIQ::Providers::Redhat::InfraManager#authentication_check_no_validation) type: ["metrics"] for [] [rhevm-small] Validation failed: invalid, Login failed due to a bad username or password.
[----] E, [2016-03-31T10:24:28.431868 #60095:4c90b7c] ERROR -- : MIQ(ems_infra_controller-create): Credential validation was not successful: Login failed due to a bad username or password.

Comment 2 Greg Blomquist 2016-04-07 14:42:45 UTC
Dave, can QE reproduce this?  I wonder if this is the Rails5 + RHEV data warehouse Postgresql version problem.

Namely, the fact that Rails5 should only work with Postgresql 9.1 and RHEV 3.x install with Postgresql 8.0.

However, the error message (Login failed due to a bad username or password) makes me think that maybe there's something else going on there...

Comment 3 Nandini Chandra 2016-04-07 20:08:37 UTC
I did run into this issue last week and have been meaning to update this BZ.

This is all I see in the evm.log file.

[----] W, [2016-04-07T14:14:22.286197 #3022:d319a4]  WARN -- : MIQ(ManageIQ::Providers::Redhat::InfraManager#authentication_check_no_validation) type: ["metrics"] for [1] [rhevm35] Validation failed: invalid, Lo
gin failed due to a bad username or password.
[----] E, [2016-04-07T14:14:22.286594 #3022:d319a4] ERROR -- : MIQ(ems_infra_controller-update): Credential validation was not successful: Login failed due to a bad username or password.

Comment 6 Greg Blomquist 2016-05-06 19:12:10 UTC
https://github.com/ManageIQ/manageiq/pull/8382 .. I'm hoping this fixes the problem. Actually https://github.com/ManageIQ/ovirt_metrics/pull/10, but PR 8382 pulls the new version of ovirt_metrics into ManageIQ.

Fingers crossed.

Comment 8 Chris Arcand 2016-05-11 19:49:39 UTC
The changes Greg mentions above should fix metrics collection, as well as changes that were merged *today* in Rails related to database connection adapters. Try a fresh build with today's changes and let me know if it still doesn't work.

Comment 9 Nandini Chandra 2016-05-12 22:16:34 UTC
Verified in 5.6.0.6

Comment 11 errata-xmlrpc 2016-06-29 15:46:42 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.

https://access.redhat.com/errata/RHBA-2016:1348


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