Skip to content

stylesyou/osa-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

On Deployment Node

  1. Clone rpc repo to deployment node
  git clone https://github.com/rcbops/rpc-openstack /opt/rpc-openstack
  1. cd /opt/rpc-openstack
  export RPC_PRODUCT_RELEASE="newton"
  ./scripts/deploy.sh
  1. Update package source lists:
$ apt-get update
## Upgrade the system packages and kernel:

$ apt-get dist-upgrade
## Reboot the host.
  1. Install additional software packages if they were not installed during the operating system installation:
 $ apt-get install aptitude build-essential git ntp ntpdate \
   openssh-server python-dev sudo
  1. run the Ansible bootstrap script:
  cd /opt/rpc-openstack
  export RPC_PRODUCT_RELEASE="Newton"  # This is optional, if unset the current stable product will be used
  openstack-ansible openstack-ansible-install.yml

(or)

Change to the /opt/openstack-ansible directory, and
  # scripts/bootstrap-ansible.sh
  1. cp all confi files to /etc/openstack_deploy
cp -r /opt/openstack-ansible/etc/openstack_deploy /etc/
  1. Customize openstack_user_config.yml and user_variables.yml file as per the needs

-> Set HAProxy to use http if using internal and external as same IP

    vim /etc/openstack_deploy/user_variables.yml

    haproxy_ssl: false
  1. Generate random passwords
cd /opt/openstack-ansible/scripts
python pw-token-gen.py --file /etc/openstack_deploy/user_secrets.yml
  1. Artifact Setup
  cd /opt/rpc-openstack
  export RPC_PRODUCT_RELEASE="newton"
  openstack-ansible site-artifacts.yml
  1. Change to the /opt/openstack-ansible/playbooks directory.

  2. Run the host setup playbook:

$ openstack-ansible setup-hosts.yml
  1. Run the infrastructure setup playbook:
$ openstack-ansible setup-infrastructure.yml
  1. Run the following command to verify the database cluster:
$ ansible galera_container -m shell \
  -a "mysql -h localhost -e 'show status like \"%wsrep_cluster_%\";'"
  1. Run the OpenStack setup playbook:
$ openstack-ansible setup-openstack.yml

Upgrade from Ocata to Pike

About

OpenStack Deployment using OSA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published