You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "nxsbi (via GitHub)" <gi...@apache.org> on 2024/07/02 18:30:17 UTC

[I] Setting for session.timeout not working for Admin user after upgrade to 4.19 [cloudstack]

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

   <!--
   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.19
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   NA
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   CentOS 7
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   After upgrade to 4.19, my web UI Session timeout of 30 minutes seems to have no impact when logged in as the admin user. It works for other users. My /etc/cloudstack/management/server.properties file's setting session.timeout=30 - which used to work earlier and session timed out at 30 minutes of inactivity. 
   Additionally, I am able to close brower tab (in which I am logged in as admin), open a new tab with original URL (copy paste) and it still works without asking to log in as admin - that is a security risk in my mind. 
   
   
   ##### 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 -->
   ~~~
   From 4.17 upgrade to 4.19. Verify session.timeout=30 in server.properies file
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Timeout occurs as per the /etc/cloudstack/management/server.properties file's setting session.timeout for all users including admin.
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Timeout is not respected when logged in as admin. I left a session open overnight and I was able to start working without login need.
   When logged in as non-admin user, the timeout setting works. 
   ~~~
   


-- 
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] Setting for session.timeout not working for Admin user after upgrade to 4.19 [cloudstack]

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

   @nxsbi , this is the unintended result of a new functionality; safe shutdown. It issues commands in the background when you are logged on. To test, you could close your tab/screen for the admin user for 31 minutes (more than the timeout at least) and than reopen it. You should then no longer be logged on.
   
   Normal users don't have this functionality and hence their sessions timeout as before.


-- 
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] Setting for session.timeout not working for Admin user after upgrade to 4.19 [cloudstack]

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

   hi @nxsbi , can you check this issue with latest main?


-- 
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] Setting for session.timeout not working for Admin user after upgrade to 4.19 [cloudstack]

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

   ping @nxsbi , can you check this issue on main?


-- 
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] Setting for session.timeout not working for Admin user after upgrade to 4.19 [cloudstack]

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

   OK, thats good to know.  I guess I just have to remember to log off :-) 


-- 
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] Setting for session.timeout not working for Admin user after upgrade to 4.19 [cloudstack]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #9328:
URL: https://github.com/apache/cloudstack/issues/9328#issuecomment-5519059848

   This issue is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent 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


Re: [I] Setting for session.timeout not working for Admin user after upgrade to 4.19 [cloudstack]

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

   @nxsbi , can you check if this is still an issue on main (cc @sureshanaparti ) It may be solved with #9854 


-- 
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] Setting for session.timeout not working for Admin user after upgrade to 4.19 [cloudstack]

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

   I can confirm based on my tests with ACS 4.20.1 and 4.20.2 that this issue exist on the Default Domain Admin account "admin" for all of its users. All other accounts are not affected.
   As a workaround you can create another Domain Admin account in the ROOT domain and session.timeout setting of /etc/cloudstack/management/server.properties will be respected.


-- 
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] Setting for session.timeout not working for Admin user after upgrade to 4.19 [cloudstack]

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

   Yeah :| I guess we can have a thought about a better solution. It was kind of an oversight but no-one has come up with another way to deal with it yet, @nxsbi . Solution could be to have a separate shutdown-app or a separate shutdown account or a switch to turn this behaviour on off (with it's own timeout). if you care to spend time on it we can leave this ticket open or cevert it to a discussion item...?


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