Go to main content
Oracle® VM Server for SPARC OpenStack Nova Driver and Utilities 1.0 Administration Guide

Exit Print View

Updated: May 2017
 
 

Troubleshooting Other OpenStack Issues

Cannot Log In To Horizon Because CSRF Verification Failed

After you perform a pkg upgrade command, your attempt to log in to the Horizon dashboard might fail with the following error message:

CSRF verification failed. Request aborted.

To work around this issue, run the following command on the cloud controller:

cctrl# gsed -i -e s@SECURE_PROXY_SSL_HEADER@#SECURE_PROXY_SSL_HEADER@ \
        -e s@CSRF_COOKIE_SECURE@#CSRF_COOKIE_SECURE@ \
        -e s@SESSION_COOKIE_SECURE@#SESSION_COOKIE_SECURE@ \
        /etc/openstack_dashboard/local_settings.py

Restart the apache24 service.

cctrl# svcadm restart apache24

Clear your browser cache.

Access the Horizon dashboard at http://your-cloud-controller/horizon.

Important Things to Validate In Your Environment

  • Ensure that all compute nodes use NTP. OpenStack depends on accurate time to function properly.

  • Ensure that name resolution, forward and reverse, functions properly by using a standard /etc/hosts file that contains information about the compute nodes in your OpenStack environment. You can also have a fully functioning DNS with accurate records and appropriate search paths on hosts and can be used for production.

  • Ensure that your system is running at least the Oracle Solaris 11.3 SRU 12 OS.

  • Ensure that no services on the cloud controller or compute nodes have failed.

    Use the svcs command to view the status of all services. Run it on the cloud controller and on the compute nodes.

    # svcs -xv