Description of problem:
I have added Custom Attributes to a VM but those new Custom Attributes are not showing up in the Available Fields selection when creating a new Report
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use Automate to add a Custom Attribute to a VM
2. Create a new report
3. The Custom Attribute is not listed in the Available Fields
The Custom Attribute is not listed in the Available Fields
The Custom Attribute should be listed in the Available Fields
I had some Custom Attributes already the first time I ever opened the Reports UI and they show up in the Available Fields. But any new Custom Attributes do not show up in the UI since then.
This also seems to be a problem for the Tag Categories.
As a workaround:
I logged onto a different worker that had UI enabled and was able to see the refreshed list of Custom Attributes there.
Better work around:
If after adding new custom attributes to a VM you do a `systemctl restart evmserverd` on the UI appliance you are logged into then the new Custom Attributes will show up in the Available Fields for reports.
My hunch here is that the list of Available Fields is populated once the first time it is opened after an evmserverd restart and is loaded form cache after that. Besides seeing that a restart fixes the issue this hunch is compounded that after a restart the Available Fields dialog box takes 15-20 seconds longer to load the first time it is ever opened then any subsequent opening, whether on a new or existing report.