Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Robert Collins: Testing and OpenStack

Robert Collins: Testing and OpenStack

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Robert Collins:
Testing and OpenStack
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
@ Kiwi PyCon 2013 - Saturday, 07 Sep 2013 - Track 2
http://nz.pycon.org/

**Audience level**

Intermediate

**Description**

OpenStack's infra team coordinates running ~500 test runs a day, across over 20 projects, most of which involve bringing up a test cloud... find out how to reuse this infrastructure yourself, in your own cloud or public clouds.

**Abstract**

Something about OpenStack - sorry it's brief, I will flesh it out more tomorrow, wanted to meet your deadline... and I'm happy to change the talk to meet your interests - I'm still relatively new in the OpenStack community, but driving a fascinating operations project (which isn't really PyCon material, sadly) - but which gets me in contact with most of the 'stackers projects. : More tomorrow ;)

**YouTube**

http://www.youtube.com/watch?v=eB5ZmU6KKoY

New Zealand Python User Group

September 07, 2013
Tweet

More Decks by New Zealand Python User Group

Other Decks in Programming

Transcript

  1. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Testing and OpenStack: Something interesting, today Robert Collins Twitter: @rbtcollins Email: [email protected]
  2. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Tripleo What I really work on → Deploying OpenStack using OpenStack → Because if it it's not meta it's not real →
  3. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 5 My code is GOOD
  4. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. No, it's not
  5. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 7 Reality check Most patches: are broken first time → will break if left alone for a non-trivial time →
  6. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Code Review
  7. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 10 → Reviewers don't scale Check every patch → Review only 'good' patches →
  8. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Automated Testing
  9. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 12 → Reliability Repeatability → Hands off debugging → Scale →
  10. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 14 Patch Set 1: Works for me Build succeeded. Gate-heat-pep8 SUCCESS in 2m 03s gate-heat-docs SUCCESS in 2m 18s gate-heat-python26 SUCCESS in 2m 32s gate-heat-python27 SUCCESS in 2m 10s gate-tempest-devstack-vm-full SUCCESS in 23m 50s gate-tempest-devstack-vm-postgres-full SUCCESS in 26m 08s gate-tempest-devstack-vm-neutron SUCCESS in 15m 11s
  11. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Share and reuse!
  12. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 16 IF You have multiple projects → Which need to be cross-tested → You have functional or other slow tests → Or very high contributor rates →
  13. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 17 And you have Access to an OpenStack Cloud → Source code in Git → An OpenID SSO [internal or external] →
  14. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 18 Then you too can join me on this journey Self managed scalable, automated tooling → Moving target :( → I'm working on making that better :) →
  15. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 20 http://ci.openstack.org/running-your-own.html
  16. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. Bonus round!
  17. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 24 → Make a domain Make your account in your SSO → Manually launch and configure a puppetmaster → Use automation to spawn dashboard → And gerrit →
  18. © Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained

    herein is subject to change without notice. 25 → And zuul And Jenkins → And Jenkins slaves → Configure test jobs → $Profit →