How to Force Remove offline host from PCD Using API call?
Problem
Environment
Procedure
$ openstack token issue -f value -c id$ curl -X GET \\
-H "X-Auth-Token: <TOKEN_ID>" \\
"https://<PCD_FQDN>/resmgr/v2/hosts" \\
| jq '[.[] | {id, hostname: .info.hostname, responding: .info.responding}]'$ curl -s -X GET \\
-H "X-Auth-Token: <TOKEN_ID>" \\
"https://[example-region1.app.pcd.platform9.com]/resmgr/v2/hosts" \\
| jq '[.[] | {id, hostname: .info.hostname, responding: .info.responding}]'
[
{
"id": "[HOST_ID_1]",
"hostname": "[HOST_NAME_1]",
"responding": true
},
{
"id": "[HOST_ID_2]",
"hostname": "[HOST_NAME_2]",
"responding": false
},
]PreviousHow to Setup CLI in Virtual Environment for Troubleshooting?NextHypervisor Stuck in N/A Scheduling State After Host Onboarding
Last updated
