Help Center/ Host Security Service/ FAQs/ Protection/ What Do I Do If HSS Protection Fails to Be Configured for a CCE Cluster?
Updated on 2026-11-05 GMT+08:00

What Do I Do If HSS Protection Fails to Be Configured for a CCE Cluster?

Problem 1: When I Install HSS and Enable Protection on the CCE Console, a Protection Exception Message Is Displayed and an Internal Program Error Is Reported

Cause: The CCE cluster version is too early (for example, V1.15).

Solution: Use YAML to create a DaemonSet and manually install HSS.

Problem 2: When I Install HSS and Enable Protection on the CCE Console, a Protection Exception Is Displayed and the Error "Failed to access the CCE API" Is Reported

Cause: The CCE cluster version is too early. Only CCE clusters of V1.19.16 or later support agency accounts. For clusters earlier than V1.19.16, install the agent on a single node.

Solution: Ensure that the CCE cluster node version is V1.19.16 or later.

Problem 3: When I Install HSS and Enable Protection on the CCE Console, a Protection Exception Message Is Displayed and the Error "NO_AGENCY_ACCOUNT" Is Reported

Cause: This problem occurs occasionally. Calling IAM involves multiple services, and some of them may experience temporary request failures.

Solution: Reinstall the agent.

Problem 4: When the Agent Is Installed on Nodes in a CCE Cluster, the Installation Fails on Part of the Nodes

Cause: Nodes in the CCE cluster may not have routes. As a result, HSS cannot invoke metadata.

Solution:
  1. Check whether the URL can be pinged.
    curl -k http://169.xxx.xxx.254/openstack/latest/meta_data.json
  2. Run the following command to check whether a node has route information:
    ip route
    If no route information is found, add route information.
    Figure 1 Example (when route information is found)
  3. Run the following command to check whether the URL output is blocked. If yes, unblock it.
    iptables -nvL | grep 169.xxx.xxx.254

Problem 5: If I Have Installed the Agent and Enabled Protection on the HSS Console, Can I Also Enable Protection on the CCE Console?

You do not need to repeatedly install the agent. Choose either of the two methods. If protection has been enabled on the HSS console, you do not need to enable it on the CCE console.

  • If you want to install the agent on the CCE console, uninstall the agent on the HSS console first, and then install and enable protection on the CCE console.
  • If you have installed and enabled HSS on the CCE console, the agent will be displayed as online on the HSS console, but the button to disable protection will be grayed out. To disable protection, you need to go to the CCE console.

Problem 6: The Agent Fails to Be Installed, and Protection Fails to Be Enabled on the CCE Console, and the Error HSS.0008 (Internal System Error) Is Reported

Cause: The configured HSS domain name is incorrect.

Solution: Check whether the domain name is correct. If not, modify it.

Problem 7: The Agent Fails to Be Enabled on the CCE Console, and a Message Is Displayed Indicating That The Current User Lacks Security Service Permissions, Which Need to Be Granted by Administrator

Cause: Some container cluster functions are unavailable due to insufficient permissions.

Solution: Grant high permissions (te_admin) to the account. Note that these permissions may also incur risks.

Problem 8: When I Install and Configure HSS on Containers for a CCE Cluster on the HSS console, an Error Message Indicating a CCE API Access Failure Is Displayed

Cause: HSS does not have sufficient permission to call APIs and escalate permissions.

Solution: CCE integrates with HSS. HSS needs to call the cce clusterrole API to create a cluster role and call the clusterrolebinding API to bind the HSS agency account.

Problem 9: When I Install HSS and Enable Protection on the CCE Console, a Protection Exception Message Is Displayed and the Error "Add_cluster_role_failed" Is Reported

Cause: HSS does not have sufficient permission to call APIs and escalate permissions.

Solution: Contact CCE O&M personnel to grant HSS the required permissions to call APIs and escalate permissions.

Problem 10: The MAOS Feature Has Been Enabled for a New CCE Cluster, and HostGuard Has Been Automatically Installed and Enabled, But Protection Is Abnormal

Cause: The configured domain name is incorrect.

Solution: Contact O&M personnel for assistance.