Description of problem:
In order to identify which VM(s) are the ones set up to be OpenStack conversion VMs we need to load tags from OpenStack (which are added during conversion VM setup) so that they can be read and stored on CloudForms.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Please assess the impact of this issue and update the severity accordingly. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.
If it's something like a tracker bug where it doesn't matter, please set the severity to Low.
*** Bug 1592749 has been marked as a duplicate of this bug. ***
Where in CFME this tags are stored? Can you explain steps to get there?
I can't find it in VM > policy > tags, may be this is not correct place.
The tags from Openstack will appear on the VM details page under the "labels" heading. If those tags from Openstack have been mapped to ManageIQ tags, (ManageIQ Configuration -> Settings -> Tags -> Map Tags) then the mapped tags will appear under the "Smart Management" heading.
*** Bug 1592745 has been marked as a duplicate of this bug. ***
@Sam, before this we need to create tags in openstack provider and import that in cfme, right? Do you have steps/commands for creating tags in osp?
I can see multiple resources on internet, like https://docs.openstack.org/mitaka/networking-guide/ops-resource-tags.html.
But I guess this is related to adding tag to network resource (via neutron) and we want for instance resource (via nova), can you clarify?
Just now I added tag to my osp instance (fedora29) with command
# nova server-tag-add 2ff880d8-6161-4f27-a026-c2b36a5a69e0 red
# nova server-tag-list 2ff880d8-6161-4f27-a026-c2b36a5a69e0
| Tag |
| red |
How should I import this tag in cfme?
On openstack, I have added properties (not as a nova instances tag it was wrong), as a server metadata tag.
#openstack server set --property foo=bar <server_id>
Here foo and bar are the key, value pair of tag. You will get server ids with
#openstack server list
You can check if that tag added in openstack with
#openstack server show <server-id>
We are all done with openstack. Now in CFME we have to do mapping tag via mentioned steps (Comment #6).
Thanks info and help @Sam.
Created attachment 1505661 [details]
Fixed! Verified on 188.8.131.52.20181106165157_92dd189
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.