You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "Tbaugus44 (via GitHub)" <gi...@apache.org> on 2024/01/18 14:52:55 UTC
[I] Cannont delte Root admin account [cloudstack]
Tbaugus44 opened a new issue, #8531:
URL: https://github.com/apache/cloudstack/issues/8531
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete the comments.
-->
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
UI
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main branch.
-->
~~~
4.18.1
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise
-->
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
Ubuntu 22.04 KVM
##### SUMMARY
<!-- Explain the problem/feature briefly -->
I cannot delete a root admin user.
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->

<!-- Paste example playbooks or commands between quotes below -->
~~~
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
to be able to delete a user
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
i couldn't delete a user
~~~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Cannot Delete Root admin account [cloudstack]
Posted by "Tbaugus44 (via GitHub)" <gi...@apache.org>.
Tbaugus44 commented on issue #8531:
URL: https://github.com/apache/cloudstack/issues/8531#issuecomment-1900646169
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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Cannot Delete Root admin account [cloudstack]
Posted by "Tbaugus44 (via GitHub)" <gi...@apache.org>.
Tbaugus44 commented on issue #8531:
URL: https://github.com/apache/cloudstack/issues/8531#issuecomment-1898963955
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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Cannot Delete Root admin account [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8531:
URL: https://github.com/apache/cloudstack/issues/8531#issuecomment-1898757284
@Tbaugus44 you are right, please use an API tool to do this, like cmk.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Cannot Delete Root admin account [cloudstack]
Posted by "Tbaugus44 (via GitHub)" <gi...@apache.org>.
Tbaugus44 closed issue #8531: Cannot Delete Root admin account
URL: https://github.com/apache/cloudstack/issues/8531
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Cannot Delete Root admin account [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8531:
URL: https://github.com/apache/cloudstack/issues/8531#issuecomment-1899952470
> 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Cannot Delete Root admin account [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8531:
URL: https://github.com/apache/cloudstack/issues/8531#issuecomment-1898766053
sure:
```
cmk list users username=scadmin filter=id
cmk delete user id=<uuid of the user>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Cannot Delete Root admin account [cloudstack]
Posted by "Tbaugus44 (via GitHub)" <gi...@apache.org>.
Tbaugus44 commented on issue #8531:
URL: https://github.com/apache/cloudstack/issues/8531#issuecomment-1898760854
could you provide an example of this ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org