Bug 1526000 - [RFE] Unable to use AWS tags as RHV tags
Summary: [RFE] Unable to use AWS tags as RHV tags
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Reporting
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.10.0
Assignee: Libor Pichler
QA Contact: Jad Haj Yahya
URL:
Whiteboard:
Depends On:
Blocks: 1572700 1650152
TreeView+ depends on / blocked
 
Reported: 2017-12-14 15:09 UTC by Saif Ali
Modified: 2024-05-18 08:27 UTC (History)
11 users (show)

Fixed In Version: 5.10.0.20
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1650152 (view as bug list)
Environment:
Last Closed: 2018-09-04 13:58:37 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3782141 0 None None None 2019-01-02 16:43:28 UTC

Description Saif Ali 2017-12-14 15:09:45 UTC
Description of problem:
We have Region 1 connected to PHX2 RHV, and Region 19 connected to two AWS VPC, then Region 99 used as centralized management for both regions. I configured the label to tag mapping on the AWS region, and I was able to see those values being marked on the instances, then replicated to the central region. Then I tried to tag RHV VMs with the same tags, however they don't show up in the list of tags to be used. In an attempt to workaround that, I went to the Region 99 config, created the tag categories, assigned some values, then tagged some instances. When I run a report based on "VMs and Instances" trying to see all objects with that tag, I only see the RHV VMs, not the AWS instances.

So I thought I was missing something, then I tried to add the label to tag map on Region 99, and it complained that the tag category already existed. Trying to workaround that, I deleted the tag category and created the map, then I tried to tag RHV VMs with that tag, and the tag category was not available. So I tried to add the category, and it says that it already exists.

Based on all of that, sounds to me like it's absolutely impossible to have the exact same tags between cloud and infrastructure providers. Did I understand that correct? Is this something that can be changed/fixed, or will change in future releases?

The intention here is to be able to run a report on VMs and instance usage per owner, which spans across all of our hosting environments (RHV and AWS), so that we can determine things like "this particular team has 10 hosts, being 6 in RHV and 4 in AWS, but they use more aggregated memory across their instances in AWS than the VMs in RHV" (just an example, not necessarily exactly what we're looking for).

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 24 CFME Bot 2018-10-11 14:01:41 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/8f7ff6aadf503619399148ff400adc37ebfb70b4
commit 8f7ff6aadf503619399148ff400adc37ebfb70b4
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Tue Oct  9 11:19:25 2018 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Tue Oct  9 11:19:25 2018 -0400

    Merge pull request #17971 from lpichler/convert_mapped_tags

    Conversion script for mapped tags/classification from remote regions to global

    (cherry picked from commit 8a9222cd885023f848f6b032151e1f38a69249e3)

    https://bugzilla.redhat.com/show_bug.cgi?id=1526000

 tools/convert_mapped_tags.rb | 73 +
 1 file changed, 73 insertions(+)


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