OpenStack: Community driven development, For Real!

23
 http://creativecommons.org/licenses/by-nc-sa/3.0/ OpenStack: Community driven development, #ForReal Codemotion - Rome, 2013 Flavio Percoco – [email protected] - Red Hat, Inc      OpenStack    Services Community

description

OpenStack is an iaas provider completely developed by the community around it. In order to keep things organized, it takes advantage of many tools and multiple infrastructures for c-i, scm, core review etc. This talk aims to share the details behind OpenStack, how its development is driven, and how it's kept organized.

Transcript of OpenStack: Community driven development, For Real!

Page 1: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

     OpenStack

   Services

Community

Page 2: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Outline

● OpenStack (Tiny Intro)● Services and Tools Used● Dev oriented community aspects● Takeaways

Page 3: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

About Me

● Red Hatter● Open Source contributor since forever● Member of Mongodb's Master Group● Cloud Lover● @flaper87 (mostly everywhere)

Page 4: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

What is OpenStack?

OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all managed through a dashboard that gives administrators control while empowering their users to provision resources through a web interface.

Marketing point of view

Devs' point of viewReally cool, open source, “Infrastructure as a 

Service” (IaaS) provider.

Page 5: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Loosely Coupled fashion

● Nova● Glance● Swift

Recently Graduated● Ceilometer● Heat

● Cinder● Quantum● Horizon

Page 6: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Development Tools

Gerrit (Code Review)

Page 7: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

About Github

● Public Repository● Forget about “git push”● Stable Branches for server projects● No special features used● Not even a good README

Page 8: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

About launchpad

● Bugs (features?) reports● Blueprints● Milestones● OpenID● Core Groups

Page 9: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

About ...

● Continues Breakage (Integration)● Commit gates on unit tests● (pre|post)­merge tests● He loves to ­1

Page 10: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

About Gerrit

Because, Code Review Matters

Page 11: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Page 12: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Page 13: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Review Process

● Patch Sets– Unittests for each (including style checks)– Unittests and SmokeTests pre/post merge

● Reviewers– Anyone can ±1– Core members can ±2 – Only core members can approve

Page 14: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Dev Workflowgit clone

git commit (­­amend) git review

git co ­b (bp|bug)/<id>

Light some candles

Fix / Code Approved?You wish

git co master

Looks Good

git pull –rebase ...

git branch ­D (bp|bug)/<id>

Page 15: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

About the Community

Openness?● Open Design● Open Development● Open Community

Page 16: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Leadership

Project Technical Lead (PTL)● 1 For each project● It's not a dictator● Elected by the Active Technical Contributors to that project

Page 17: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Contributors

8516 People87 countries

(keeps growing)

Page 18: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

No rules, just “standards”

● Non Opinionated● Apache License 2.0● HACKING Files● GitCommitMessages

Page 19: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Release Cycle● 6 monthly to a stable branch (8­10 weekly fix releases after this)● No upstream packaging for Linux distributions● Design Summit after each● Alphabetically ordered names

– Austin– Bexar– Cactus– Diablo

– Essex– Folsom– Grizzly (Apr 2013)– Havana (Sep 2013)

Page 20: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Contribute Back

● Code● IRC● Mailing Lists● Summits● Documentation

● Bug squashing days● Distro test days

Page 21: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

“Ultimately, enterprises don't care about community and openness unless the product itself is rock solid.”

http://readwrite.com/2013/03/19/amazon­king­of­cloud­computing­forever

… but we DO!!!

Page 22: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Takeaways

● Community Matters and Devs like to be part of it● Define your standards● Do reviews● Drop your ego

Page 23: OpenStack: Community driven development, For Real!

 http://creativecommons.org/licenses/by­nc­sa/3.0/

OpenStack: Community driven development, #ForReal

Codemotion ­ Rome, 2013Flavio Percoco – [email protected] ­ Red Hat, Inc

Q & A