apache / cloudstack-cloudmonkey

Apache Cloudstack Cloudmonkey
Apache License 2.0
91 stars 60 forks source link

6.4.0 add host -> authentication error #151

Closed hoogenm closed 3 months ago

hoogenm commented 4 months ago

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.

rohityadavcloud commented 4 months ago

@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 ?

hoogenm commented 4 months ago

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

rohityadavcloud commented 4 months ago

@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 commented 3 months ago

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