cloudstack-cloudmonkey icon indicating copy to clipboard operation
cloudstack-cloudmonkey copied to clipboard

6.4.0 add host -> authentication error

Open hoogenm opened this issue 1 year ago • 3 comments

With version 6.4.0, if I do add host, I get a credentials error from the api. I tried cmk version 6.3.0 instead: version 6.3.0 did not result in an API error.

I tried version 6.3.0 because there seems to be a change after 6.3.0 in how get/post requests are made if a password param is included. I hope this helps.

hoogenm avatar May 05 '24 12:05 hoogenm

@hoogenm I think this would fix it - https://github.com/apache/cloudstack-cloudmonkey/pull/150 The current workaround is to use username / password to log in, are you using apikey secretkey in your cmk for calling the API ?

rohityadavcloud avatar May 05 '24 12:05 rohityadavcloud

Yes, I did use the apikey/secretkey. Thank you for adding this to the 6.5.0 milestone.

hoogenm avatar May 05 '24 14:05 hoogenm

@hoogenm for now, the workaround is you can use username-password as auth for a cmk profile. #150 fixes your issue, I hit the same yesterday.

rohityadavcloud avatar May 05 '24 16:05 rohityadavcloud

Fixed by https://github.com/apache/cloudstack-cloudmonkey/pull/150

rohityadavcloud avatar May 20 '24 10:05 rohityadavcloud