You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "thorzinaung (via GitHub)" <gi...@apache.org> on 2023/06/05 07:04:51 UTC

[GitHub] [cloudstack] thorzinaung opened a new issue, #7585: Unable to unlock user account

thorzinaung opened a new issue, #7585:
URL: https://github.com/apache/cloudstack/issues/7585

   <!--
   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.
   -->
   
   ##### User Management Issue
   
   
    * Improvement Request
   
   ##### Management-Server-component
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   
   ~~~
   
   ##### 4.18.0.0
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### RHEL 8 / Vmware
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   I got locked user account when i wrongly typed password 3 times. I already searched in root privileges and cannot find to unlock account.  
   
   ##### 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 -->
   ~~~
   <img width="782" alt="image" src="https://github.com/apache/cloudstack/assets/122773216/b29fda4a-e46b-42bb-afb1-642a93272267">
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


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


[GitHub] [cloudstack] rajujith commented on issue #7585: Unable to unlock user account

Posted by "rajujith (via GitHub)" <gi...@apache.org>.
rajujith commented on issue #7585:
URL: https://github.com/apache/cloudstack/issues/7585#issuecomment-1590465095

   @thorzinaung Assuming that you are using an isolated guest network, you could click on the instance and go to its details. Select the tab NICs, and click on the network it is attached to. Click on the tab Public IP addresses. Here you can either acquire a new public IP and configure a static NAT or you could even configure a port forwarding rule on the source NAT IP itself. Make sure to allow the ports and subnets on the firewall tab on the IP. 
   
   Some of these are explained here : 
   http://docs.cloudstack.apache.org/en/latest/adminguide/networking_and_traffic.html#enabling-or-disabling-static-nat
   https://www.shapeblue.com/apache-cloudstack-poc-guide/#tab-id-3 
   
   
   


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


[GitHub] [cloudstack] thorzinaung commented on issue #7585: Unable to unlock user account

Posted by "thorzinaung (via GitHub)" <gi...@apache.org>.
thorzinaung commented on issue #7585:
URL: https://github.com/apache/cloudstack/issues/7585#issuecomment-1576218570

   user aungyekyaw account is user role and i alrady checked in account setting. It's show enable with green light.


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


[GitHub] [cloudstack] thorzinaung commented on issue #7585: Unable to unlock user account

Posted by "thorzinaung (via GitHub)" <gi...@apache.org>.
thorzinaung commented on issue #7585:
URL: https://github.com/apache/cloudstack/issues/7585#issuecomment-1576163690

   <img width="782" alt="image" src="https://github.com/apache/cloudstack/assets/122773216/1bb1350f-6315-4865-9184-2ac3f799ce12">
   


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


[GitHub] [cloudstack] thorzinaung commented on issue #7585: Unable to unlock user account

Posted by "thorzinaung (via GitHub)" <gi...@apache.org>.
thorzinaung commented on issue #7585:
URL: https://github.com/apache/cloudstack/issues/7585#issuecomment-1578059365

   yes. @kiranchavala thank you. Also, i'm newbie to ACS. how can i take public ip to instance like Elastic ip in aws. 


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


[GitHub] [cloudstack] kiranchavala commented on issue #7585: Unable to unlock user account

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on issue #7585:
URL: https://github.com/apache/cloudstack/issues/7585#issuecomment-1576213065

   @thorzinaung 
   
   I am not able to reproduce the issue in my lab after typing the password incorrectly 3 times
   
   What type of role you assigned for (angyekyaw) when creating the account ?
   
   Is ur system linked to any LDAP integration ?
   
   
   <img width="518" alt="Screenshot 2023-06-05 at 12 51 43 PM" src="https://github.com/apache/cloudstack/assets/1401014/d1d110ee-3694-46c9-aee8-6abe41b7f7a6">
   
   
   Can you login as Admin user > Account > View Users  Check the status of the user
   
   
   <img width="1181" alt="Screenshot 2023-06-05 at 12 56 49 PM" src="https://github.com/apache/cloudstack/assets/1401014/39b6ef8e-36ff-48a1-a82b-faad2c53cc6a">
   
   <img width="503" alt="Screenshot 2023-06-05 at 12 57 02 PM" src="https://github.com/apache/cloudstack/assets/1401014/6afbf53a-07c5-4d66-b56a-4599b858bc1b">
   
   
   You can try the enable user api call 
   
   https://cloudstack.apache.org/api/apidocs-4.18/apis/enableUser.html
   
   
   
   


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


[GitHub] [cloudstack] kiranchavala commented on issue #7585: Unable to unlock user account

Posted by "kiranchavala (via GitHub)" <gi...@apache.org>.
kiranchavala commented on issue #7585:
URL: https://github.com/apache/cloudstack/issues/7585#issuecomment-1576249265

   @thorzinaung , please if it's showing green light for the User setting
   
   Admin user > Select  Account > Select the user under the account > View Users> Check the status of the user
   
   Or execute the list user api call and check the state
   
   https://cloudstack.apache.org/api/apidocs-4.18/apis/listUsers.html
   
   > list users username=kiranuser listall=true
   {
     "count": 1,
     "user": [
       {
         "account": "kiranuser",
         "accountid": "ca73fc64-586e-4d06-9596-f4b2cf449a92",
         "accounttype": 0,
         "created": "2023-06-05T07:19:46+0000",
         "domain": "ROOT",
         "domainid": "0627bb29-ea34-11ed-aeb5-1e0092000276",
         "email": "kiranchavala@gfsgsal.com",
         "firstname": "kiran",
         "id": "08749f72-6ccc-4e2f-a8ff-19e3a885b187",
         "is2faenabled": false,
         "is2famandated": false,
         "iscallerchilddomain": false,
         "isdefault": false,
         "lastname": "user",
         "roleid": "1445ab81-ea34-11ed-aeb5-1e0092000276",
         "rolename": "User",
         "roletype": "User",
         "**state": "disabled",**
         "username": "kiranuser",
         "usersource": "native"
       }
     ]
   }
   
   
   
   Could you please try to clear the browser cache or try in an incognito window of the browser
   
   Also, please  provide the complete management server logs 


-- 
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] Unable to unlock user account [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #7585:
URL: https://github.com/apache/cloudstack/issues/7585#issuecomment-2084999157

   @thorzinaung is the issue that even admins can't unlock the account?


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