Automation of your OpenStack Infrastructure with Stacki

Preview:

Citation preview

CONFIDENTIAL

Stacki, OpenStack-Ansible, Benchmarking

StackiFest - May 2017

Hugh Ma | Rob Neff

1 CONFIDENTIAL Restricted – share with permission only.

CloudLabs Helps Ecosystem Deliver Solutions

Integrated solution with SW,

HW across networking, storage

& compute offer differentiation

possibilities at many layers

CECHW

Services/SLAs Layer

SW

HW

SW

SW

HW

ST

OR

AG

E

HW

Enterprise Application Layer

BI/Analytics

Operations

ER

P/S

CM

Infrastructure Layer

Telco and Cloud solutions

requires multiple decisions

across various platforms and

vendors developing specific

solution

CloudLabs goal is to provide

integrated solutions based on

partnerships across key

vendors

2 CONFIDENTIAL Restricted – share with permission only.

CloudLabs focuses on Rack Scale Reference Platforms

EMS Services

JDM Hardware

System Integration

Firmware/BIOS

Platform software

Appliance

Applications

APPLIANCE READY NODE

Cloud Reference Architecture

Cloudlabs Focus

Node N

System Integration

CLOUD OS

Node 1

Rack Scale

Integration

Current Ciii

Customers

Ciii Cloud

Customers

Cloud-enabled Apps

& Workloads

Enterprise

Customers

Cloud-enabled Apps &

Workloads

APPLIANCE READY RACK

Rack Scale Solution Workflow

Architect

Ciii RSP Engineering flex

1

Integrate Test Manufacture32 5

Optimize4

Services

Support6

FlexBench and FlexConfig

Storage

Compute

Switch

4

CloudLabs Investment in Rack Solutions

CORD

Platform

OPNFV based IaaS

Telco Infra Project

platforms

OCP Based Platform

Intel RSA Architecture

Service Provider Driven Solutions

Services bring differentiation

Multi-vendor Spares Management Full rack integration

Repair / Returns Custom ServicesSupply chain ‘as a service’

Server Provisioning with Stacki

Open Source

Simplified Baremetal Provisioning

Mac address targeted PXE Booting

Customizable Local CentOS and Ubuntu Repositories

Hardware & Software RAID Support

NIC Bonding

Post-Install Configuration

http://www.stacki.com/

OpenStack(i) - Ansible

• Using Ansible to deploy OpenStack

• First released in April 2015 (Kilo)

• https://github.com/openstack/openstack-ansible

• OpenStack-Ansible deployment steps:

7 CONFIDENTIAL Restricted – share with permission only.

Benchmarking Overview

Benchmarking Framework

Automated and Agent-Less

with a full-featured web

interface to launch tasks

from.

Baremetal to Rackscale

Node deployment including

server imaging and Cluster

OpenStack deployment,

and virtual machine

creation.

Multi-Level Validation

Validate and Benchmark at

all levels including node-

level components,

databases, containers, and

cloud.

Data and Log Analytics

Results, Logs, and Node

metadata provide

visualizations and raw data

for deeper investigations.

8

Benchmarking Framework

Stacki Host Tasks

• These tasks show utilizing the Stacki

Ansible Host Module to:

Remove host if it exists on in Stacki

Add a new host to Stacki

Wait for node to return from imaging

process

10

Stacki Inventory Script

• JSON Formatted output of host information via

Stacki APIs

• Made to work for Ansible dynamic inventory to

be passed to ansible or ansible-playbook

• Uses yml formatted parameter file for required

arguments

# stacki.yml---stacki:

auth: stacki_user: admin stacki_password: abcdefghijklmnopqrstuvwxyz123456789 stacki_endpoint: http://192.168.1.10/stack

use_hostnames: false

Unity, medium VMs provide optimal cumulative Unixbench

performance

Looking Ahead

• Expand Module Capabilities– Networking (VLAN, BONDS)

– Storage (RAIDS, PARTITIONING)

– Carts and Appliances

• Community Contribution– Stacki Inventory Script

• https://github.com/ansible/ansible/blob/devel/contrib/inventory/stacki.py

– Stacki Host Module• https://github.com/ansible/ansible/tree/devel/lib/ansible/modules/remote_management/stacki

– Ansible Blog Post• https://www.ansible.com/blog/how-flex-ciii-uses-ansible-tower-for-benchmarking

Questions?

Hugh Ma (Hugh.Ma@flextronics.com)

Rob Neff (Rob.Neff@flextronics.com)

Recommended