34
Flexible, simple deployments with OpenStack-Ansible OpenStack Austin Meetup - June 20th, 2016 Major Hayden | major.io | @majorhayden

Flexible, simple deployments with OpenStack-Ansible

Embed Size (px)

Citation preview

Page 1: Flexible, simple deployments with OpenStack-Ansible

Flexible, simple deploymentswith OpenStack-Ansible

OpenStack Austin Meetup - June 20th, 2016

Major Hayden | major.io | @majorhayden

Page 2: Flexible, simple deployments with OpenStack-Ansible

Agenda

1. About me

2. The big question

3. Why Ansible?

4. Why OpenStack-Ansible?

5. Get involved!

Page 3: Flexible, simple deployments with OpenStack-Ansible

About me

Major HaydenPrincipal Architect, Rackspace

At Rackspace since 2006

Contributor to OpenStackand the Fedora Project

I am addicted tobuying domain names(please don’t give me ideas)

Page 4: Flexible, simple deployments with OpenStack-Ansible

We seriously needed another way to deploy OpenStack clouds?

Page 5: Flexible, simple deployments with OpenStack-Ansible

“Fortunately, the charging one has been solved now that we’ve all standardized on mini-USB. Or is it micro-USB?”

https://xkcd.com/927/

STANDARDS

Page 6: Flexible, simple deployments with OpenStack-Ansible

Different use cases demand different deployment methods.

Page 7: Flexible, simple deployments with OpenStack-Ansible

What our customers wanted

“I want to focus on what we deploy on our cloud, not how we deploy it.I want to lean on someone else’s experience.”

“We want to add hardware on an as-needed basis.I want to expand my cloud without downtime.”

Page 8: Flexible, simple deployments with OpenStack-Ansible

What our customers didn’t want

“Don’t tell me I need downtime to change a configuration option.I want my cloud to be flexible for my needs.”

“Don’t tell me to ‘lift and shift’ my workloads. Upgrades should be easy.”

Page 9: Flexible, simple deployments with OpenStack-Ansible

Existing deployment

methods had limitations

Rigid configuration

Upgrade challenges

No operators in the community

Not coordinated

Lack of an overall direction

Page 10: Flexible, simple deployments with OpenStack-Ansible

The foundation was set for something entirely different.

Page 11: Flexible, simple deployments with OpenStack-Ansible

Why Ansible?

Page 12: Flexible, simple deployments with OpenStack-Ansible

Highly extensible

Each task does one action

Tasks are grouped into roles

Roles are tied together with playbooks

Page 13: Flexible, simple deployments with OpenStack-Ansible

Simple variable scope

Every role or task can have a default

Additional variables per environment

Deployers can override all of these variables easily

Page 14: Flexible, simple deployments with OpenStack-Ansible

Dependencies make sense

If you can read top-down, you understand Ansible’s dependencies

Page 15: Flexible, simple deployments with OpenStack-Ansible

Very little baggage

No daemons or agents

No clients or servers

Everything uses ssh

Use your existing keys, users, and auth mechanisms (like Kerberos!)

Page 16: Flexible, simple deployments with OpenStack-Ansible

Why OpenStack-Ansible?

Page 17: Flexible, simple deployments with OpenStack-Ansible

Extensible collection of roles

A backbone of playbooks that links multiple roles together

Each role deploys an OpenStack service

Opinionated defaults are set in each role

Page 18: Flexible, simple deployments with OpenStack-Ansible

OpenStack-Ansible isbuilt by operators,

for operators

Page 19: Flexible, simple deployments with OpenStack-Ansible

Isolation

Each service deploys into a different container

Each service gets unique message queue and database credentials

Each service queries different databases and message queue virtual hosts

Page 20: Flexible, simple deployments with OpenStack-Ansible

Coordination

Every change is tested as part of the whole stack

If a keystone change breaks nova, automated testing will fail

Deprecated configurations and imports are handled gracefully

Page 21: Flexible, simple deployments with OpenStack-Ansible

Documentation

Lots of installation documentation and reference guides

Real-world use cases and integrations

Page 22: Flexible, simple deployments with OpenStack-Ansible

Growing, diverse community

Over 2,700 commits from 30 companies

Used to deploy the OSIC cluster (over 2,000 nodes)

* Newton mid-cycle is in San Antonio in August!

Page 23: Flexible, simple deployments with OpenStack-Ansible

Deploy, maintain,and upgrade with ease

Page 24: Flexible, simple deployments with OpenStack-Ansible

Maintain

Upgrade

Deploy to one host, 100 hosts, or 1,000 hosts

High availability is built-in

Control over quantity and location of Openstack services

Comes with opinionated defaults from OpenStack operators

Deploy

Page 25: Flexible, simple deployments with OpenStack-Ansible

Maintain

Upgrade

Change configurations with little or no downtime

Rebuild any container quickly after a failure or disruption

Add, remove or replace control plane nodes as needed

Comprehensive host security hardening

Deploy

Page 26: Flexible, simple deployments with OpenStack-Ansible

Maintain

Upgrade

Upgrading between and within major releases is a first class feature

Services are carefully upgraded along with database migrations

Deprecations are handled gracefully

Deploy

Page 27: Flexible, simple deployments with OpenStack-Ansible

What about security?

Page 28: Flexible, simple deployments with OpenStack-Ansible

OpenStack-Ansible has a security role

Applies 200+ security configurationson hosts and virtual machines

Follows the guidelines from the DISA STIG

Lots of auditor-friendly documentation

Supports Ubuntu 14.04/16.04, CentOS 7 and Red Hat Enterprise Linux 7

See the OpenStack Summit talk! https://goo.gl/iyywZD

Page 29: Flexible, simple deployments with OpenStack-Ansible

Get involved

Page 30: Flexible, simple deployments with OpenStack-Ansible

What’s next?Newton release

Ubuntu 16.04 support

Multi-arch support (PPCLE)

Xen and PowerVM support

Improved testing

Page 31: Flexible, simple deployments with OpenStack-Ansible

Join us for theNewton mid-cycle meeting

in San Antonio:August 10-12, 2016

Page 32: Flexible, simple deployments with OpenStack-Ansible

Join our community

Freenode IRC: #openstack-ansible

Mailing list: [email protected] (use the [openstack-ansible] tag in the subject line)

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

Docs: http://docs.openstack.org/developer/openstack-ansible/

Page 33: Flexible, simple deployments with OpenStack-Ansible

Thank you!Major [email protected]

Page 34: Flexible, simple deployments with OpenStack-Ansible

Photo creditsTitle slide: Miles Bintz (Flickr) https://www.flickr.com/photos/milesbintz/4366494947

Construction crane: Richard Carter (Flickr) https://www.flickr.com/photos/richard_carter/6816885264/

Lock on old door: Denise Krebs (Flickr) https://www.flickr.com/photos/mrsdkrebs/13006945815/

Alamo: Nan Palmero (Flickr) https://www.flickr.com/photos/nanpalmero/15442494764/

Roadway at night: Paulo Valdivieso (Flickr) https://www.flickr.com/photos/p_valdivieso/14908384223/

All other photos are provided courtesy of Rackspace.