Installing the Openstack Plugin - Adaptive Plugins - BlueCat Gateway - 20.6.1

OpenStack Train Administration Guide

prodname
BlueCat Gateway
version_custom
20.6.1

To obtain the OpenStack Train software (AdaptivePlugin_OpenStack_train_20.6.1.zip), contact BlueCat Customer Care.

  1. Download the Openstack Train plugin from BlueCat Customer Care.
  2. On the OpenStack Train controller node, run the following command to unzip the BlueCat OpenStack Plugin package:
    # unzip AdaptivePlugin_OpenStack_train_20.6.1.zip
  3. Install the package by running the following commands:
    # cd bluecat-openstack-drivers
    
    # python setup.py install
    
    # python train_install.py
    The Installer will prompt for required post-installation configuration. Upon completion of train_install.py, the installer will auto-generate content for two of the main config files on the controller that require updates.
    # [setup] Enter the IP Address of your BlueCat Address Manager: x.x.x.x   ….. done
    # [setup] Enter the API username to access BlueCat Address Manager: xxx  …. done
    # [setup] Enter the password to access BlueCat Address Manager: xxxxxx   … done
    # [setup] Enter a Configuration Name that will represent OpenStack on your BlueCat Address Manager: openstack … done
    # [setup] Enter the IPv4 public Block that will be used for OpenStack compute instances: 10.0.0.0/8 …. done
    # [setup] Enter the DNS zone that will be used for OpenStack compute instances: bluecat.lab  ..done
  4. Copy the following content into /etc/neutron/neutron.conf:
    [DEFAULT]
        ipam_driver = bluecatopenstack
        dns_domain = bluecat.lab
    
        [bluecat]
        bam_address=10.244.85.198
        bam_api_user=apiuser
        bam_api_pass=bluecat
        bam_config_name=openstack
        bam_ipv4_public_block=10.0.0.0/8
        bam_ipv4_private_block=192.168.1.0/24
        bam_ipv4_private_network=192.168.1.0/26
        bam_ipv4_private_iprange_startip=192.168.1.2
        bam_ipv4_private_iprange_endip=192.168.1.62
        bam_ipv4_private_iprange_gw=192.168.1.254
        bam_ipv6_public_block=2000::/3
        bam_ipv6_private_block=FC00::/6
        bam_dns_zone=bluecat.lab
        bam_updatemodify_networks=True
    
        bcn_neutron_transport_url=amqp://RABBIT_USER:RABBIT_PASS@localhost:5672//
        bcn_neutron_nameserver=10.244.85.199
        bcn_neutron_logfile=/var/log/bluecat_neutron.log
        bcn_neutron_ttl=-1
        bcn_neutron_domain_override=False
        bcn_neutron_debuglevel=DEBUG
        bcn_neutron_TSIG = bluecat.lab:trgMrgF/Kf1Bn67tNbWWhA==,openstack.bluecat.lab:c26dRiyCqnKfgVUGWlp5Tg==
  5. Copy the following content into /etc/nova/nova.conf:
    [bluecat]
        bcn_nova_transport_url=amqp://RABBIT_USER:RABBIT_PASS@localhost:5672//
        bcn_nova_nameserver=10.244.85.199
        bcn_nova_logfile=/var/log/bluecat_nova.log
        bcn_nova_ttl=-1
        bcn_nova_domain_override=False
        bcn_nova_debuglevel=DEBUG
        bcn_nova_TSIG = bluecat.lab:trgMrgF/Kf1Bn67tNbWWhA==,openstack.bluecat.lab:c26dRiyCqnKfgVUGWlp5Tg==
  6. Run the following command to restart Neutron and Nova services on the controller.
    # systemctl restart neutron-server.service
    # systemctl restart openstack-nova-api.service openstack-nova-scheduler.service openstack-nova-conductor.service 
    openstack-nova-novncproxy.service
  7. Run the monitoring services from the installed directory. You can see the install directory by running ‘pip show bluecatopenstack’.
    #  python /usr/lib/python2.7/site-packages/bluecatopenstack/bluecat_neutron_monitor.py &
    #  python /usr/lib/python2.7/site-packages/bluecatopenstack/bluecat_nova_monitor.py &