Installing OneOps Vagrant Image

Install OneOps using vagrant from here

Note : As an admin you will be responsible for primarily installing OneOps in your organization or also responsible for setting up cloud and services The steps described to create an assembly, platform refers to User section.

Outline

  1. Setup Vagrant here
  2. Set up clouds. Refer screen cast below. For more details refer to user
    1. Create Clouds
    2. Create Cloud Services
      1. Compute Cloud Service
      2. DNS Cloud Service
      3. GNS Cloud Service
  3. Create Assembly
    1. Create Platform
    2. Create Environment
    3. Deploy an Environment

Vagrant up

  1. Install the required software for Vagrant.
    1. Virtal Box 5.
    2. Vagrant
  2. Execute the following
   git clone https://github.com/oneops/setup
   cd setup/vagrant
   vagrant up

The setup does the following :

  • Installs all required software see here
  • Sets up minimal data set required for OneOps to work.
  • Clones, Builds and Deploys all the required components to run OneOps
  • Bootstraps the circuits from circuit-oneops
# After the successful install, you will see this in console.
  ==> default: Done with admin
  ==> default: OneOps should be up on http://localhost:3000
  ==> default: Configure your port forwarding and shut down iptables service (or configure it) if needed
  ==> default: All done at : 15:28:54

If step fails refer troubleshooting.

UI should be up here.

Set Up your Organization, Clouds, Cloud Services

  • Refer User or see screen cast below.

Check Inductor Inductor

This section is for informative purpose only, The vagrant image has pre-installed and configured inductor ready to execute workorder.

Inductor executes the workoders/actionOrders pushed by controller to cloud location specified at cloud creation. Refer this for overall flow.

Log on to Vagrant Image

vagrant ssh
sudo su
cd /opt/oneops/inductor
inductor status
inductor tail
## should show inductor successfuly connected to amq.

Inductor directory Structure

The directory structure after you have created inductor successfully will look like this,

cd /opt/oneops/inductor
├── circuit-oneops-1 -> /home/oneops/build/circuit-oneops-1 from (https://github.com/oneops/circuit-oneops-1)
├── clouds-available # All inductor which are created will go in this
│   └── public.oneops.clouds.aws
├── clouds-enabled
│   └── public.oneops.clouds.aws -> ../clouds-available/public.oneops.clouds.aws
├── Gemfile
├── Gemfile.lock
├── init.d
│   └── inductor
├── lib
│   └── client.ts
├── log
└── shared ## Refer (https://github.com/oneops/oneops-admin/tree/master/lib/shared)
    ├── cookbooks
    ├── exec-gems.yaml
    ├── exec-order.rb
    └── hiera.yaml

Validate Set up

Create Assembly, Platforms and environment to test it out. Refer User Or See screen cast below (might work better on the full screen, we are working on improving this).