Bug 1728295 - Newly added RHV provider is not refreshed and manual refresh is not working
Summary: Newly added RHV provider is not refreshed and manual refresh is not working
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: GA
: 5.11.0
Assignee: Roberto Ciatti
QA Contact: Angelina Vasileva
Red Hat CloudForms Documentation
URL:
Whiteboard:
: 1729907 (view as bug list)
Depends On:
Blocks: 1720640 1724487
TreeView+ depends on / blocked
 
Reported: 2019-07-09 14:52 UTC by Matouš Mojžíš
Modified: 2019-12-13 14:57 UTC (History)
11 users (show)

Fixed In Version: 5.11.0.16
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-13 14:57:36 UTC
Category: Bug
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
evm.log stacktrace (12.62 KB, text/plain)
2019-07-09 14:52 UTC, Matouš Mojžíš
no flags Details

Description Matouš Mojžíš 2019-07-09 14:52:37 UTC
Created attachment 1588765 [details]
evm.log stacktrace

Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. Add a new RHV provider - tried with rhv4.2, rhv4.3 and rhv4.0
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Jaroslav Henner 2019-07-15 11:39:05 UTC
*** Bug 1729907 has been marked as a duplicate of this bug. ***

Comment 4 Adam Grare 2019-07-15 12:26:33 UTC
This was probably introduced by https://github.com/ManageIQ/manageiq/pull/18842

Comment 5 Roberto Ciatti 2019-07-22 10:44:33 UTC
Hi,
  I was able to see the bug on 5.11.0.13 on an appliance ran by Matouš,
but on the master (an also on 5.11.z) I'm able to add a RHV provider(for rhv 4.3) and to refresh it without errors.

Comment 6 Mike Shriver 2019-07-22 18:43:36 UTC
QE continues to see this failure in CFME 5.11.0.15.

Roberto, were you implying in comment 5 that this is fixed in master after 5.11.0.15 was built on Jul 19th? Can you identify what PR should have resolved this?

Comment 7 Roberto Ciatti 2019-07-23 09:10:34 UTC
Hi Mike,
  I dig again on an appliance that Matouš gave me and I think I found the problem and also why on my local env was not showing up.

The problem is the 'permissions.yml" file in '/var/www/miq/vmdb/config'. 

The file was not including permissions for 

- ems-type:redhat_network

Adding it everything is working.
I don't know why this permission was missing and not copied from 'permissions.tmpl.yml'.

Maybe someone may have some ideas on this aspect?

I'll continue to dig on this

Comment 8 Roberto Ciatti 2019-07-23 14:02:34 UTC
Update:

Proposed a Merge Request on cfme_productization to add the ems_type required to the permissions.yml.

Comment 9 Roberto Ciatti 2019-07-23 15:43:42 UTC
Update:

The Request was merged into master.

Comment 15 Angelina Vasileva 2019-07-25 12:00:54 UTC
Fixed and verified in 5.11.0.16.20190724210259_2b4aa51.

Newly added RHV provider is refreshed and manual refresh also works.


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