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

Cannot Delete Root admin account #8531

Closed
Tbaugus44 opened this issue Jan 18, 2024 · 6 comments
Closed

Cannot Delete Root admin account #8531

Tbaugus44 opened this issue Jan 18, 2024 · 6 comments

Comments

@Tbaugus44
Copy link

ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.18.1
CONFIGURATION
OS / ENVIRONMENT

Ubuntu 22.04 KVM

SUMMARY

I cannot delete a root admin user.

STEPS TO REPRODUCE

user_


EXPECTED RESULTS
to be able to delete a user
ACTUAL RESULTS
i couldn't delete a user 
@Tbaugus44 Tbaugus44 changed the title Cannont delte Root admin account Cannot Delete Root admin account Jan 18, 2024
@DaanHoogland
Copy link
Contributor

@Tbaugus44 you are right, please use an API tool to do this, like cmk.

@Tbaugus44
Copy link
Author

could you provide an example of this ?

@DaanHoogland
Copy link
Contributor

sure:

cmk list users username=scadmin filter=id
cmk delete user id=<uuid of the user>

@Tbaugus44
Copy link
Author

im getting this error when running the cmk list users username=scadmin filter=id

Two factor authentication 2FA is enabled but not verified, please verify 2FA using validateUserTwoFactorAuthenticationCode API before calling other APIs. Existing session is invalidated.

@DaanHoogland
Copy link
Contributor

im getting this error when running the cmk list users username=scadmin filter=id

Two factor authentication 2FA is enabled but not verified, please verify 2FA using validateUserTwoFactorAuthenticationCode API before calling other APIs. Existing session is invalidated.

well, it seems to trivial to be true but the message actually tells you what to do; do a call to validateUserTwoFactorAuthenticationCode before you proceed.

@Tbaugus44
Copy link
Author

this has been solved thank you for your help. this article helped set up cloudmonkey.

https://kb.leaseweb.com/products/elastic-compute/managing-apache-cloudstack-api-and-automation

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

No branches or pull requests

2 participants