kolla
- 1. © 2016 Sungard Availability Services, all rights reserved
Kolla
Running OpenStack in containers
Public
- 3. © 2016 Sungard Availability Services, all rights reserved 3
Why Containers?
• Simplify the deployment process
• Make day 2 operations better
• Improve workflow
• Repeatable, reliable, fast
Public
- 4. © 2016 Sungard Availability Services, all rights reserved 4
How does it work?
• Ansible and Docker (Kubernetes on the way)
• Very opinionated out of the box
• Heavily customizable
Public
- 5. © 2016 Sungard Availability Services, all rights reserved 5
Building
• Install Kolla
• $ pip install kolla
• Run build
• $ tools/build.py -b ubuntu
• Supports ubuntu, centos, fedora, RHEL
• Push to registry
• $ tools/build.py --push
• Build from source
• tools/build.py -t source
Public
- 6. © 2016 Sungard Availability Services, all rights reserved 6
Customizing builds
• How does the build work?
• Configuration file
• Template overrides
• $ kolla-build --template-override template-overrides.j2 horizon
Public
- 7. © 2016 Sungard Availability Services, all rights reserved 7
Customizing configurations
• As mentioned before configs can be very opinionated
• How do we customize?
• Can override every piece of configuration
Public
- 8. © 2016 Sungard Availability Services, all rights reserved 8
Prepare for deployment
• Docker >= 1.12
• Mount flags set to shared
• Docker-py python library
• SSH connection (for Ansible)
• Ansible >= 2.0
• Generate passwords
• $ kolla-genpwd
• Modify globals.yml
• Mainly select interface and VIP address
• Configure your Ansible inventory
Public
- 9. © 2016 Sungard Availability Services, all rights reserved 9
Blastoff
• $ kolla-ansible deploy
• precheck
• destroy
• reconfigure
• upgrade
• bootstrap
• etc
Public
- 10. © 2016 Sungard Availability Services, all rights reserved 10
Other cool things about Kolla
• Buit-in ELK stack with log forwarding
• Bitfrost for bare metal deployments
• A lot of knobs to turn stuff on
• Ansible task injection coming
• Super friendly and welcoming community
• #kolla on freenode
Public
- 11. © 2016 Sungard Availability Services, all rights reserved 11
Caution
• Docker is new
• Kolla is even newer
• Kubernetes is coming and it is crazy new
• Really fast moving project
• Follow IRC
• Follow Github
• Follow Launchpad
• Follow Gerrit
• Networking is not terribly flexible
Public
- 12. © 2016 Sungard Availability Services, all rights reserved 12
Q A
Public