Data Sense Linux host loses connectivity after reboot
- Views:
- 222
- Visibility:
- Public
- Votes:
- 0
- Category:
- netapp_console
- Specialty:
- netapp_console_platform
- Last Updated:
Applies to
- Cloud Data Sense (BlueXP classification)
- BlueXP
Issue
Cause
From OCCM.LOG we see
{"log":"2023-09-29 22:16:38,055 UTC ERROR [Working Environment ] [KTqOMWxD] [ ] [John Doe ] (oncloud-akka.actor.default-dispatcher-39) [DataSenseOperations:545] Failed getting compliance status. java.lang.IllegalStateException: Cloud Compliance service is currently not available, please try again later\n","stream":"stdout","time":"2023-09-29T22:16:38.055634179Z"}
The DEBUG-DATASENSE.LOG shows
<<<< Response <<<<
{"state":"NGINX_OFFLINE","deploy_location":"OnPrem","deployment_in_progress":false,"cloud_compliance_deploy_state":"NGINX_OFFLINE","resources_deploy_state":"DEPLOYED_SUCCESSFULLY","deploy_date":"2023-08-18T17:04:28.497076+00:00","cloud_compliance_private_ip":"10.0.0.0","error_type":null,"id":"ONPREM-DEPLOYMENT","cloud_compliance_instance_id":null,"error_message":"Connection refused to 10.0.0.0:443","deploy_version":null,"error_data":null}
Additionally, the connector showed as 'Inactive' when accessing the On-Prem BlueXP

- The Customer stated the Data Sense host was previously at IP 10.0.0.0 but then changed to some other IP address after it was rebooted due to the Linux server being set for DHCP
- Attempting to reset the Linux server back to its original IP address did not resolve the connector state or the Data Sense accessibility
Solution
- Run the uninstall command (
uninstall.sh) on the connector, which will remove the connector from BlueXP - Run the connector software installation again, which will reestablish the active status for the connector in BlueXP
- From BlueXP, run the Data Sense installation script and verify the application operation
Partner Notes
Internal Notes
If the connector is Active in BlueXP, then use this process:
- If the Linux host is reachable by its defined address (i.e. 10.0.0.0) and port 443 has been verified to be open, then log in to the CLI of the connector and run
connector~> sudo docker exec cloudmanager_compliance redis-cli set on-prem.cloud_compliance_private_ip "10.0.0.0”
- Restart the connector
connector~> sudo systemctl restart occm
- After the connector restarts, try accessing the Data Sense host from the BlueXP interface again
