Comments (12)
@bronaghs thanks! I realised after I posted that this wasn't all from now! 😂
from manageiq-providers-amazon.
One thing I noticed is that when you create a label and category on the "Map Tags" tab, it scopes the tag name to kubernetes:
"/managed/kubernetes::amazon_label"
I'm guessing we'll need to address that.
from manageiq-providers-amazon.
@djberg96 might be worth checking if the UI is enforcing that.
from manageiq-providers-amazon.
Another possible issue is that when you create a tag/category via the Map Tags tab, it sets the read_only
value to true, which means that it won't show up within the UI.
from manageiq-providers-amazon.
We received this feedback from @bascar:
As an enhancement, it would be great if we could pick a specific tag category and auto create the tag value. I am thinking something like:
- AWS Label: "myCompany_department" = "HR"
If we wild-carded(create if doesn't exist) the category of "myCompany_department" , then it would match to "HR" or create "HR" if it does not exists. That way categories that exhibit a lot of adds dont have to be manually mapped. - MIQ Mapping: "company_department" = "HR"
from manageiq-providers-amazon.
"wildcard" is what the container "Map Tags" feature already does.
The mapping is for specific key ("myCompany_department") -> a category, finds or creates tag per value as needed. [*]
ContainerLabelTagMapping class also supports mapping a single value, but that was never documented nor exposed in UI, I'm all for dropping it to simplify the code
(unless you have a use for it. it would complicate the UI, especially logic for deleting mappings & categories. would need someone to decide exact requirements first.)
[*] BTW I forgot to warn you, that tag creation code does some DB locking, might kill your shiny graph refresh performance ;-) https://github.com/ManageIQ/manageiq/blob/a684fcfa52/app/models/container_label_tag_mapping.rb#L74-L94
The motivation was that tags and classifications tables are shared for the region, wanted different providers' refresh workers that want to create same tag to achieve atomic upsert. There are probably better ways.
from manageiq-providers-amazon.
This issue has been automatically marked as stale because it has not been updated for at least 6 months.
If you can still reproduce this issue on the current release or on master
, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions!
from manageiq-providers-amazon.
@cben Where are we on this?
from manageiq-providers-amazon.
One thing I noticed is that when you create a label and category on the "Map Tags" tab, it scopes the tag name to kubernetes:
In my db I have /managed/amazon:vm:santa
from manageiq-providers-amazon.
@juliancheal - I too get the correct value in the taggings table: /managed/amazon:vm:aws_tier
I think the comment Dan made was fixed, he made it on March 7th.
from manageiq-providers-amazon.
@cben Where are we on this?
You tell me :-)
I believe this issue could have been closed — it has all worked at some stage.
However now tag mapping is broken in amazon — https://bugzilla.redhat.com/show_bug.cgi?id=1506404 , I'm not sure if that's just because of switch to graph refresh (expected) or also broken in classical refresh — details on the BZ.
I'm happy to help next week, but need a failing test or at least VCR / sample of refresh parser inputs to work on this.
from manageiq-providers-amazon.
Looks like https://bugzilla.redhat.com/show_bug.cgi?id=1506404 was moved to POST. Can we close this?
from manageiq-providers-amazon.
Related Issues (20)
- Gather AWS instance types list from AWS's GitHub repo HOT 3
- Gather AWS instances details from AWS's Price List API HOT 20
- Raise exceptions if SSH commands failed in docker running image HOT 1
- Os on AWS not working HOT 4
- Allow AWS provider to be defined without secret/key in order to assume instance credentials HOT 4
- Upgrade AWS SDK library to version 3 HOT 11
- After switching to aws-sdk v3 paged results are not handled HOT 4
- ManagerMixin::ClassMethods::verify_credentials always returns true HOT 2
- The new `create_from_params` doesn't create an endpoint relation, just the authentication HOT 1
- Are relationships between cloud_networks and network_routers correct? HOT 3
- AWS_EC2_Instance_DELETE events are not always received HOT 8
- AWS Network(VPC) in CFME has no relationship with Network Router(Route Table) HOT 1
- AWS VPC Security Groups and Network Ports(Network Interfaces) don't use in CFME Name field for naming HOT 2
- EC2 Volume size change is not detected by targeted refresh HOT 2
- Amazon SSA not working HOT 4
- [RFE] Support Amazon EKS HOT 1
- Refresh fails normalizing OS name for image with no image_location
- Add a new region to regions.yml HOT 2
- Allow instance types to be pulled from github.com HOT 2
- Verify access to SQS before starting the EventCatcher HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manageiq-providers-amazon.