Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install devstack on the Openstack Network node

    Code Block
    languagebash
    $ git clone git://github.com/openstack-dev/devstack.git
  2. Creates local.conf file using the following options

    Code Block
    languagetext
    [[local|localrc]]
    HOST_IP=2.2.2.2
    SERVICE_HOST=1.1.1.1
    RABBIT_HOST=1.1.1.1
    DATABASE_HOST=1.1.1.1
    Q_HOST=2.2.2.2
    
    ADMIN_PASSWORD=nova
    DATABASE_PASSWORD=$ADMIN_PASSWORD
    RABBIT_PASSWORD=$ADMIN_PASSWORD
    SERVICE_PASSWORD=$ADMIN_PASSWORD
    SERVICE_TOKEN=$ADMIN_PASSWORD
    
    DATABASE_TYPE=mysql
    
    # Log
    SCREEN_LOGDIR=/opt/stack/logs/screen
    
    # Images
    IMAGE_URLS="http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img"
    
    LIBVIRT_TYPE=qemu
    
    #vnc
    NOVA_VNC_ENABLED=True
    VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP
    VNCSERVER_LISTEN=$HOST_IP
    
    # Services
    disable_service q-svc
    disable_service q-agt
    enable_service q-l3
    disable_service n-cpu
    disable_service n-net
    disable_service n-cpu
    disable_service tempest
    disable_service c-sch
    disable_service c-api
    disable_service c-vol

    We need to specify the Network node IP address in HOST_IP and Q_HOST, and the Control node IP address in others. Also, we just need to enable L3 service. Later, when OpenstackRouter app is implemented, Network node itself will not be necessary.

  3. Install devstack

    Code Block
    languagebash
    ~/devstack$ ./stack.sh

    When it is installed successfully, you will see the message below.

    Code Block
    languagetext
    ========================
    DevStack Components Timed
    ========================
    
    apt-get-update - 6 secs
    pip_install - 30 secs
    apt-get - 3 secs
    
    
    
    This is your host IP address: 10.40.102.231
    This is your host IPv6 address: ::1
    Horizon is now available at http://10.40.101.209/dashboard
    Keystone is serving at http://10.40.101.209:5000/
    The default users are: admin and demo
    The password: nova
    2015-12-10 06:22:21.048 | stack.sh completed in 171 seconds.
  4. Upgrade OVS to version 2.3.2
    Unload existing openvswitch modules

    Code Block
    languagebash
    $ sudo rmmod openvswitch

    Check if openvswitch modules are unloaded.

    Code Block
    languagebash
    $ sudo lsmod

    Stop the openvswitch serviceUninstall openvswitch 2.0.2.

    Code Block
    languagebash
    $ sudo serviceapt-get uninstall openvswitch-switch stopcommon

    Then, follow the steps "Install Openvswitch" steps below.

...