Hi Hean,

What does your management server logs show after the listHosts and the 
deleteHost API calls?


Regards,

Nicolas Vazquez

________________________________
From: Hean Seng <heans...@gmail.com>
Sent: Tuesday, April 13, 2021 4:47 PM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Request failed with status code 530

Hi

I added a host to a wrong cluster,  deleted it and re-add to the correct
cluster .  After that found that duplicate host inside the cluster ,  and
after delete it the duplicated record, it come with error
"Request failed with status code 530"

MYSQL record ;

  16 | lax-06 | Removed      | Disabled       |           NULL

  17 | lax-06 | Up           | Enabled        |     2130706689


Duplicated Host deleted  is id=16 , but now the error happens is 17.

In API :

cmk listHosts id=17

🙈 Error: (HTTP 530, error code 9999) <nil>

for 16 , is return empty record.

API log show"

2021-04-13 19:41:41,395 INFO  [a.c.c.a.ApiServer]
(qtp1644231115-1244:ctx-eba7bffd ctx-95331a28) (logid:1e346c12) (userId=2
accountId=2 sessionId=node01qfrx0iypf3ts1q1kf43fexp7u174) 127.0.0.1 -- GET
command=listHosts&id=17&response=json&sessionkey=X3J4ui0AxuwP2zbYqrTrZxHzYLg
530 null

I tried to forced delete host 17. but seems error also;

cmk deletehost id=17 forced=true

🙈 Error: (HTTP 530, error code 9999) <nil>


Any one help to give me idea of what's going on, and how to solve
this problem




--
Regards,
Hean Seng

nicolas.vazq...@shapeblue.com 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 

Reply via email to