Troubleshooting Agent One-Click Restoration Failures
Symptom
After you click Restore Agent Configurations, the Agent status is still Configuration error.
Constraints
The restoration method in this section only supports new Agent version. If your Agent is of an earlier version, you are advised to upgrade it to the new version.
Run the following command to check the current Agent version:
if [[ -f /usr/local/uniagent/extension/install/telescope/bin/telescope ]]; then /usr/local/uniagent/extension/install/telescope/bin/telescope -v; elif [[ -f /usr/local/telescope/bin/telescope ]]; then echo "old agent"; else echo 0; fi
- If old agent is displayed, the early version of the Agent is used.
- If a version is returned, the new version of the Agent is used.
- If 0 is returned, the Agent is not installed.
Possible Causes
Troubleshooting methods:
- Check DNS configurations
- Check the IAM agency configurations.
- Check user permissions
Procedure
- Check DNS configurations.
- Log in to the management console.
- Under Compute, select Elastic Cloud Server.
- Click the name of the ECS.
- Click the VPC name.
- In the VPC list, click the VPC name.
- On the Subnets tab, check whether the DNS server addresses are correct.
For details about how to configure the DNS servers for different regions, see Modifying the DNS Server Address and Adding Security Group Rules (Windows) or Modifying the DNS Server Address and Adding Security Group Rules (Linux).
Figure 1 DNS server address
- Check IAM agency quota
- Log in to the management console.
- In the service list, select Identity and Access Management.
- On the IAM console, choose Agencies.
- Check the agency quota.
Check whether there is the agency: CESAgentAutoConfigAgency.
If there is no such an agency and the quota has been used up, delete unnecessary agencies and then perform one-click Agent restoration.
- Check user permissions.
- Log in to the management console.
- In the service list, select Identity and Access Management.
- In the navigation pane on the left, click User Groups.
- Locate your user group and click Assign Permissions in the Operation column.
- To install the Agent, you must have the following permissions:
- Global: Security Administrator
- Region: ECS CommonOperationsr, or BMS CommonOperations and CES Administrator, or CES FullAccess
Figure 2 Permissions required for installing the Agent
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot