How to Manage OpenStack via Management or Data network

Version 2

    If you wish to mange OpenStack API via different interface, perform the following:

     

    change the file: "/etc/openstack-dashboard/local_settings"

     

    And add your management network ip to the following line:

     

    ALLOWED_HOSTS = [<'datanetwork ip>', '<host name>', 'localhost', <'management network ip>',]


    For example:

    ALLOWED_HOSTS = ['11.11.0.5', 'reg-r-vrt-005', 'localhost', ’10.231.5.1’,  ]

     

    In addition in the compute nodes, open the file /etc/nova/nova.conf and change the following entries:

     

    (assuming the management IP for the OpenStack dashboard is 10.213.5.1)

     

    novncproxy_base_url=http://10.213.5.1:6080/vnc_auto.html

    xvpvncproxy_base_url=http://10.213.5.1:6081/console

    vncserver_listen=0.0.0.0

    vncserver_proxyclient_address=10.213.1.1

    vnc_enabled=True