Diagnose node
import requests
url = "https://platform.ankra.app/api/v1/clusters/morpheus/{cluster_id}/nodes/{node_id}/diagnose"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/clusters/morpheus/{cluster_id}/nodes/{node_id}/diagnose', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/clusters/morpheus/{cluster_id}/nodes/{node_id}/diagnose \
--header 'Authorization: Bearer <token>'{
"operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"job_name": "<string>",
"status": "<string>",
"completed": true,
"attached_to_existing_run": true,
"report": {},
"error_excerpt": "<string>"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}HPE Morpheus Clusters
Diagnose node
Snapshots the node’s OS-level state over the platform’s bastion SSH lane and classifies the symptoms without changing anything, on providers whose nodes it can reach. Proxmox VE and HPE Morpheus nodes sit behind an on-premises jump host the node remediation jobs cannot reach yet, so on a HPE Morpheus cluster the route answers 409 naming the unsupported provider.
POST
/
api
/
v1
/
clusters
/
morpheus
/
{cluster_id}
/
nodes
/
{node_id}
/
diagnose
Diagnose node
import requests
url = "https://platform.ankra.app/api/v1/clusters/morpheus/{cluster_id}/nodes/{node_id}/diagnose"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/clusters/morpheus/{cluster_id}/nodes/{node_id}/diagnose', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request POST \
--url https://platform.ankra.app/api/v1/clusters/morpheus/{cluster_id}/nodes/{node_id}/diagnose \
--header 'Authorization: Bearer <token>'{
"operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"node_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"job_name": "<string>",
"status": "<string>",
"completed": true,
"attached_to_existing_run": true,
"report": {},
"error_excerpt": "<string>"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.