HPE OneView
1837085 Members
2274 Online
110112 Solutions
New Discussion

OneView 6.6 Removing Rack Manager not possible. Also via REST API

 
Royalflush
Occasional Visitor

OneView 6.6 Removing Rack Manager not possible. Also via REST API

Hi all,

I have an issue with OneView 6.6 when having SD Flex rack managers imported with 2 chassis each that got converted to a 4 chassis Superdome Flex. If I want to remove the 2 rack managers (and also check the force option) from the OneView Actions Menu, it just tells me "Unable to contact the Rack Management Controller (RMC)" as a red locked alert. If I execute the REST API call like this: "DELETE https://appliance/rest/rack-managers/id?force=true" , even without the force option it does not remove the RMC from the OneView. A reboot of the appliance had no effect on the issue. Please provide me a solution to fully remove the object from the OneView appliance.

Best regards,

Joshua

1 REPLY 1
support_s
System Recommended

Re: OneView 6.6 Removing Rack Manager not possible. Also via REST API

Hi Joshua, 

Please verify if the session with the appliance is established with proper headers and use the auth code.

As you have OV Version 6.60 use the below headers. 

 

Headers: 

 

X-API-Version - 3800 

Content Type - application/json

Accept - application/json

 

Body:

 

{

    "userName":"Administrator",

    "password":"Password"

}

 

Note: Replace Administrator and Password with OV credentials.

 

Request: 

 

POST: https://<Appliance IP>/rest/login-sessions

 

Result: 

200 OK

 

Under "Response" You can find the Session ID. using this session ID, add one more header as below. 

 

Auth: <Session ID>

 

Note: Just use "Auth", DO NOT use "Authorization"

 

Once the header is added, use the below arguments to list the added rack-managers. 

 

 

GET https://{appl}/rest/rack-managers

 

Note the rack manager ID and use the below arguments to delete the rack-manager. 

 

DELETE https://{appl}/rest/rack-managers/{id}/

 

Verify the issue. 

 

If you have tried this and still not able to delete the rack-manager using REST Clients, log a support case for further troubleshooting as this has to be deleted from OV Service console.


Accept or Kudo