Detaching a host profile from a host fails with the error: A host profile is attached to the cluster. Detach the host profile from the cluster before detaching it from the hosts within such a cluster
search cancel

Detaching a host profile from a host fails with the error: A host profile is attached to the cluster. Detach the host profile from the cluster before detaching it from the hosts within such a cluster

book

Article ID: 334302

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • A Detach Host Profile operation on a host fails.
  • Removing a Host Profile associated with a host fails.
  • You see the error:

    A host profile is attached to the cluster. Detach the host profile from the cluster before detaching it from the hosts within such a cluster.


Environment

VMware vSphere ESXi 5.0

Cause

When a Host Profile is attached to a cluster, the host or hosts within that cluster gets automatically attached to that Host Profile. You cannot detach a Host Profile from a host that is part of a cluster that has the Host Profile attached.

Resolution

If you want to detach a Host Profile from a host that is a part of a cluster which has an attached Host Profile, you need to detach the Host Profile from the cluster.
  1. Right-click the Cluster.
  2. Navigate to All vCenter Actions > Host Profiles.
  3. Click Detach Host Profile and follow the prompts.

For more information, see the Host Profiles guide.