Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Automating hard things may 2015

908 views

Published on

Automating some of the aspects of OpenStack - hardware provisioning, install of OpenStack and installing from source.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Automating hard things may 2015

  1. 1. NYC OpenStack meet Mark Baker OpenStack Product Group @ Canonical Automating hard things
  2. 2. The promise of OpenStack 1. Do things faster 2. Maybe do them cheaper Both of these are really hard to achieve without automation
  3. 3. Hard things to automate 1. Hardware 2. Deploying OpenStack 3. Deploying OpenStack from Source with code from $your_source
  4. 4. Hard things to automate 1. Hardware 2. Deploying OpenStack 3. Deploying OpenStack from Source with code from $your_source
  5. 5. Deploy from source - demo
  6. 6. Why did cloud succeed?
  7. 7. Why did cloud succeed? 1. Re-introduced the concept of pay- as-you-go computing infrastructure 2. Solved a very common use case in a spectacular way
  8. 8. Developer Bob says: Give me a new server to run this thing I'm working on
  9. 9. Bob's Use Case 1. Give me a new server machine (with this much CPU, RAM, disk) 2. Install my chosen operating system 3. With the drives configured like this 4. On this specific network 5. With my credentials on it
  10. 10. Developer Bob says: Can it be this week? Ah, OK. Well, can it be this month?
  11. 11. Wouldn't it great if bare metal.. was just like the cloud?
  12. 12. Any OS Windows Custom images “Please provide a machine with 24 GB RAM, a root disk of 300GB and at least 6 more 3TB disks, and an nVidia GPGPU” Ubuntu, Red Hat, SUSE
  13. 13. MAAS Machine configuration Service orchestration Manual setup “Please provide a machine with 24 GB RAM, a root disk of 300GB and at least 6 more 3TB disks, with an nVidia GPGPU”
  14. 14. What can MAAS do? ● Discover new hardware ● Configure disks ● Configure networking ● Install an operating system ● Set up admin credentials ● Configure devops automation
  15. 15. Chef & MAAS ● Fully-supported devops automation ● Manage bare metal kit with knife & Chef provisioning
  16. 16. How does MAAS do it? ● Packs in a lot of functionality DHCP, DNS, TFTP, iSCSI, HTTP IPMI, iLO, DRAC, UCS, AMT ● Probes and configures BMCs and PDUs & remotely controls machine power state ● Unique image-based installer ● Detects hardware component details & auto-tags machines based on capabilities ● Models L2 & L3 networks & interfaces ● Secure decommission
  17. 17. Cloud-style RESTful API ● Find me a node POST /api/1.0/nodes/?op=acquire [cpu_count, mem, arch, tags, name] ● Install OS & boot POST /api/1.0/nodes/{id}/?op=start ● Get node hardware & LLDP details GET /api/1.0/nodes/{id}/?op=details ● Discover servers in a chassis POST /api/1.0/nodegroups/{id}/?op=probe
  18. 18. What should I use MAAS for? ● Managing bare-metal at scale OpenStack, Web, Storage, Hadoop & more ● Replacing homegrown provisioners Fully supported PXE & OS install ● Building your own bare-metal cloud Embedding MAAS is easy ● Keeping your ops team happy Abstract your bare-metal complexity
  19. 19. Region Controller - highly available - users and groups - resource allocation - central postgres db - machine inventory Machine allocation, status, workflows, web UI. Needs low bandwidth to many clusters. Handles 100,000 machines. Cluster Controller - close to machines - typically in-rack - large-file cache Provides PXE boot and OS delivery for installation. Has high bandwidth to a few servers - the cluster. Cluster Controller Cluster Controller Cluster Controller Cluster Controller... server server …typically x 10-200 server server … server server server … 1x HA 2000x 100,000x
  20. 20. Automating Deployment of OpenStack The OpenStack Autopilot
  21. 21. 1 2 3 4 5 Reality meets design Autopilot deploys OpenStack
  22. 22. 1 2 3 4 5 Reality meets design Autopilot deploys OpenStack Autopilot monitors cloud state
  23. 23. 1 2 3 4 5 Reality meets design Autopilot deploys OpenStack Autopilot monitors cloud state Administrator allocates additional resources
  24. 24. 1 2 3 4 5 Reality meets design Autopilot deploys OpenStack Autopilot monitors cloud state Administrator allocates additional resources Autopilot calculates delta between current state and desired state
  25. 25. 1 2 3 4 5 Reality meets design Autopilot deploys OpenStack Autopilot monitors cloud state Administrator allocates additional resources Autopilot calculates delta between current state and desired state Autopilot orchestrates service models until reality meets design
  26. 26. Demo!
  27. 27. Coming soon….. More choices, more flexibility, more OpenStack
  28. 28. More choices Hypervisor Storage SwiftLXD Containers Ceth Networking
  29. 29. 1 2 3 4 5 More intelligence Hardware roles Hardware quotas Node maintenance Controlled cloud reboot Architecture optimisations
  30. 30. 1 2 3 4 5 More intelligence Hardware roles Resource quotas Node maintenance Controlled cloud reboot Architecture optimisations
  31. 31. 1 2 3 4 5 More intelligence Hardware roles Resource quotas Node maintenance Controlled cloud reboot Architecture optimisations
  32. 32. 1 2 3 4 5 More intelligence Hardware roles Resource quotas Node maintenance Controlled cloud reboot Architecture optimisations
  33. 33. 1 2 3 4 5 More intelligence Hardware roles Resource quotas Node maintenance Controlled cloud reboot Architecture optimisations
  34. 34. OpenStack upgrades: Kilo -> Liberty
  35. 35. Canonical’s OpenStack CI-as-a-Service ● Validate code with upstream git tip or stable ● Validate new vendor code against upstream git tip or stable ● Validate enterprise branches against upstream git tip or stable ● Run CI tests in “real-world” multi-node scenarios ● Build a cloud of arbitrary scale and complexity from tip ● Deploy to metal, cloud, or virtualized environment ● Verify deployed cloud with Tempest, Rally, or other tests MAAS Juju OpenStack Jenkins OILTesting
  36. 36. What’s supported from source?
  37. 37. Questions?
  38. 38. Demo Backup

×