Contrail

last person joined: one month ago 

Get answers on the Contrail portfolio and share your expertise.
  • 1.  NeutronClientException at /admin/

    Posted 02-15-2015 23:11

    When I try to logs in to Openstack Dash Board. It throws an error like this.

     

    NeutronClientException at /admin/

    <html><body><h1>503 Service Unavailable</h1>
    No server is available to handle this request.
    </body></html>
    
    Request Method: GET
    Request URL: http://10.2.3.193/dashboard/admin/
    Django Version: 1.4.13
    Exception Type: NeutronClientException
    Exception Value:
    <html><body><h1>503 Service Unavailable</h1>
    No server is available to handle this request.
    </body></html>
    
    Exception Location: /usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py in exception_handler_v20, line 91
    Python Executable: /usr/bin/python
    Python Version: 2.6.6
    Python Path:
    ['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
     '/usr/lib/python2.6/site-packages/pycrypto-2.6-py2.6-linux-x86_64.egg',
     '/usr/lib/python2.6/site-packages/paramiko-1.11.0-py2.6.egg',
     '/usr/lib64/python26.zip',
     '/usr/lib64/python2.6',
     '/usr/lib64/python2.6/plat-linux2',
     '/usr/lib64/python2.6/lib-tk',
     '/usr/lib64/python2.6/lib-old',
     '/usr/lib64/python2.6/lib-dynload',
     '/usr/lib64/python2.6/site-packages',
     '/usr/lib64/python2.6/site-packages/PIL',
     '/usr/lib64/python2.6/site-packages/gtk-2.0',
     '/usr/lib/python2.6/site-packages',
     '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',
     '/usr/share/openstack-dashboard/openstack_dashboard']

     

    I want to know why this issue happens?



  • 2.  RE: NeutronClientException at /admin/
    Best Answer

    Posted 10-02-2016 21:44

    This is due to nested virtualization. If you are running Contrail on top of ESXI as an VM, edit following files as follows,

     

    /etc/nova/nova.conf

     

    [compute] compute_driver = libvirt.LibvirtDriver

    [libvirt] virt_type = qemu

     

    /etc/nova/nova-compute.conf

     

    [DEFAULT] compute_driver=libvirt.LibvirtDriver

    [libvirt] virt_type=qemu ~



  • 3.  RE: NeutronClientException at /admin/

    Posted 10-16-2017 03:38
    Thanks!!