Change oVirt Web UI Timeout

September 20, 2018

By default, oVirt's web UI logs users out after 30 minutes of inactivity.  At times, this can be annoying - it may seem that every time you sit down at your desk, you have to put your credentials in again.  Here's how to change that value from 30 minutes to something longer (or shorter, if wanted).

Environment: CentOS 7 w/oVirt 4.2

Instructions

  1. SSH into your oVirt node
  2. To check the current timeout value, execute: 
    > engine-config -g UserSessionTimeOutInterval
            
    UserSessionTimeOutInterval: 30 version: general
  3. To set the value to something else, execute: 
    engine-config -s UserSessionTimeOutInterval=600
  4. If you want, you can check to make sure the new value took effect: 
    > engine-config -g UserSessionTimeOutInterval
     
    UserSessionTimeOutInterval: 600 version: general
  5. Lastly, restart the oVirt engine for the changes to apply: 
    systemctl restart ovirt-engine

Tags
oVirt

©2024 Tyler Wright