Skip to content

osic/interop_challenge

Repository files navigation

Interoperability Challenge - OSIC Participation

This repository contain the details from environment creation to test case execution for OSIC OpenStack Interoperability Challenge participation.

About the OpenStack Interoperability Challenge

About the Interop Working Group a.k.a. Defcore

About RefStack Tools

THE WORKLOADS

LAMP Stack


Details:

  1. Tool: Ansible

  2. Repo: http://git.openstack.org/cgit/openstack/osops-tools-contrib/tree/ansible/lampstack

  3. Start Ansible from osops-tools-contrib/ansible/lampstack folder

    ansible-playbook site.yml -e "action=apply env=osic username=$OS_USERNAME password=$OS_PASSWORD project=$OS_PROJECT_NAME"
    
  4. Workload Creation Flow:

    • Provision 4 nodes
    • Create security group
    • Add security rules to allow ping, ssh, mysql and nfs access
    • Create a cinder volume
    • Attach the cinder volume to database node for wordpress database and content
    • Setup NFS on database node, so that web servers can share the cinder volume space, all wordpress content will be saved on cinder volume. This is to ensure that the multiple web servers will represent same content.
    • Setup mysql to use the space provided by cinder volume
    • Configure and initialize wordpress
    • Install and activte a wordpress theme specified by configuration file
    • Install wordpress importer plugin
    • Import sample word press content
    • Remove not needed floating IPs from servers which do not need them.

Docker Swarm


Details:

  1. Tool: Ansible

  2. Repo: http://git.openstack.org/cgit/openstack/osops-tools-contrib/tree/ansible/dockerswarm

  3. Start Ansible from osops-tools-contrib/ansible/dockerswarm folder

    ansible-playbook site.yml -e "action=apply env=osic username=$OS_USERNAME password=$OS_PASSWORD project=$OS_PROJECT_NAME"
    
  4. Workload Creation Flow:

    • Provision 3 coreos nodes on your cloud
    • Create security group
    • Add security rules to allow ping, ssh, docker access
    • Setup ssl keys, certificates
    • Display a set of environment variables that you can use to run docker commands

Deployer VM Pre-Requisites:


One deployer to run them all -- Use a disposable VM to fire the workloads (cloud VM, vagrant, virtualbox).

Use this repo to install required packages:

# If disposable VM available, get deployer_novenv.sh or deployer_venv.sh
wget https://raw.githubusercontent.com/osic/interop_challenge/master/deployer_novenv.sh
./deployer_novenv.sh

# If using virtual box - Use our Vagrantfile
git clone https://github.com/osic/interop_challenge.git
cd interop_challenge
vagrant up
vagrant ssh

# Source openrc.sh to set $OS_ environment variables
source openrc.sh
  1. Required Packages Installed by deployer_noenv.sh:

  2. Make sure there are images available on your cloud:

    • An Ubuntu cloud image.
    • An OpenStack coreos image.

NOTE: Refer to the osops-tools-contrib repo for further details.

RESULTS

About

OSIC specifics about OpenStack Interoperability Challenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages