Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable-OVComputeOpsmanagement does not work without an activation key #685

Open
steven-kamp opened this issue Jan 29, 2025 · 0 comments
Open

Comments

@steven-kamp
Copy link

steven-kamp commented Jan 29, 2025

Two issues here:

  1. If no ActivationKey is passed (which you won't have for initial enable), the command fails because its not sending an empty payload. API states that Payload of {} needs to be included when no ActivationKey is used.

POST https://{appl}/rest/appliance/cloud

Auth: abcdefghijklmnopqrstuvwxyz012345
X-Api-Version: 6800

{}

Error response that is seen is:

ERROR RESPONSE: {"message": "The input provided is invalid. (CA020)", "data": {}, "errorCode": "INVALID_INPUT", "details": null, "recommendedActions": ["Retry the operation with valid input."], "errorSource": null, "nestedErrors": []}

  1. Help text for example 1 should not show the actual connection to COM as initial enable without activation key would show the appliance ID but not the connection. You would see that after example 2. Example 1 should look more like this:

Get-OVComputeOpsManagement -ApplianceConnection $conn

Management : Enabled
ApplianceID : 5fc80ac9-27bf-41e7-a7e6-94f869a645e0
AccountID :
ConnectionState : Disconnected
Region :
Url :
ApplianceConnection : 172.29.52.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant