Compute Policies can be created from the UI only when having categories with associable entity types
book
Article ID: 315266
calendar_today
Updated On:
Products
VMware vSphere ESXi
Issue/Introduction
Symptoms: The user is unable to create a compute policy from the UI using a category that has no explicitly set associable entity type. If this category is searched for in the "New Compute Policy" dialog, it is not listed as result.
Cause
While creating a Compute Policy, based on it's type, the user needs to enter names of the Category and Tag that can be assigned to VM and/or Host. If there are Categories with at least VM as assignable type (depending on the policy that will be created, category with assignable type Host can also be needed) these categories will be listed as result. But if there are categories having no explicitly set assignable entity type, these will not be listed as results and thus it won't be possible to create policy with them.
Resolution
To resolve this issue, create a category that has at least Virtual Machine or Host (depending on the policy that will be created) as assignable type.