Robert collins openstack on openstack 201304162

Embed Size (px)

DESCRIPTION

 

Text of Robert collins openstack on openstack 201304162

  • 1. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.Openstack onOpenstackRobert Collinsrbtcollins@hp.comHP Cloud Services
  • 2. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.2
  • 3. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.3
  • 4. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.4Install / Reconfigure / UpgradeBugs Cruft / Entropy Hardware failureCI/CD Golden images HA setup
  • 5. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.TripleO: Openstack on OpenstackContinuous integration and deliveryDrive installation and maintenance costs downEncapsulate the installation and upgrade processCommon API and infrastructure for above and below cloud
  • 6. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.6
  • 7. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.7Provisioning Software Configuration State OrchestrationNovadiskimage-builderos-config-applieros-config-refresh HeatMaaSJujuCrowbar Crowbar~~~ Chef ~~~Stand-alone Chef, Puppet, etcRazor ~~~ Puppet ~~~?? Vendor-specific tools ???ManualInstall
  • 8. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.ComponentsNova bare metal (see Devanandas talk)Heat (See Clints talk)Diskimage-builder (https://github.com/stackforge/diskimage-builder)OS-config-applier (https://github.com/stackforge/os-config-applier)OS-refresh-config (https://github.com/stackforge/os-refresh-config)
  • 9. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.9Nova baremetalYour machine imagenova-computePXEIPMI
  • 10. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.HeatFocus on orchestrationSupports any CM system within a machineUse Puppet or Chef if you likeDelivers configuration metadata to machinesAccepts exported metadata from machinesOpenstack templates https://github.com/openstack-ops/templates
  • 11. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.Heat triggersNew metadata from heatQuiesce fragile services(If needed) Upgrade software from glance(If needed) RebootEnsure required services are running and/or restartedPerform any migrations (such as seeding initial data)Notify heat that the deploy is complete on the machine
  • 12. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.Golden ImagesEncapsulate a known good set of softwareExcludes configuration and persistent statethese are placed on a separate state partition/ is then mounted read-onlyEquivalent of packages at a cluster levelEach image can be tested and then deployed as-isBecause the configuration is not part of the imageSmall focused toolchain to build imageshttps://github.com/stackforge/diskimage-builderhttps://github.com/stackforge/tripleo-image-elements
  • 13. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.DeploymentHeat stack defines the clusterHeat drives the Nova API to deliver images to machinesVirtual machines in developer testBare metal Nova for CICD and production deployment
  • 14. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.14Openstack (KVM)Openstack (Bare metal)Openstack (KVM)Under and Over cloudNova cannot reliably run two differenthypervisors in one cloud todaySo we run two+ clouds:the undercloud, a bare metal cloud thatruns on, and owns, all the hardwarethe overcloud, a regular VM based cloudrunning as a tenant on the bare metalcloudadditional VM clouds can run as paralleltenants on the undercloud (e.g. fortesting).
  • 15. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.UndercloudFully HA Bare metal OpenstackSelf hosted: nodes in the control plane are tenants within itAiming for as few as 2 machines for the control planeAll additional nodes are available for the overcloud tenant
  • 16. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.OvercloudFully HA KVM based Openstack hosted by the undercloudOrchestrated by Heat running in the undercloudCan (optionally) use the same disk images for most services
  • 17. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.InstallationSpecial case of normal deploymentRun a collapsed cluster: a single image with Heat + Nova Bare metal in a VMBridge that to the new datacentre networkEnroll the machinesTell Heat that we want an HA configurationWait while it scale the undercloud outSwitch off the VM imageTell Heat to recover from the loss of the VM node(by scaling out again)Deploy the overcloud as a tenant
  • 18. Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.