Issue :
Visibility tag displays following error "Unexpected error encountered". We are not able to work with new tenants due to this. We get this error when we assign visibility tag to hosts, culster etc.
====
Unexpected error encountered
===
Errors in Management Engine can be caused by:
① Accessing Management Engine from multiple tabs or windows of the same browser on a single machine.
Close any duplicate browser sessions, then select a menu option above.
② Pressing the back button during a session.
Close any duplicate browser sessions, then select a menu option above.
③ An internal system error.
Please contact your administrator for assistance.
Error text:
Action not implemented [host/tag_edit_form_field_changed]
----
Solution:
It seems that the issue is related to the Classifications table pointing to a non-existent tag that might have been deleted or removed (as shown below).
#
Solution Instructions:
- Navigate to /var/www/miq/vmdb
- From the vmdb directory please type: rails c
- Run the following command: bad = Classification.all.select {|c| c.tag.nil?}
bad.each {|b| b.delete}
Once that is done you should be able to go into the UI and navigate through without any problems.