26
1 OpenStack in Debian GNU/Linux July 10, 2012 Loïc Dachary [email protected]

OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

  • Upload
    dotuyen

  • View
    233

  • Download
    6

Embed Size (px)

Citation preview

Page 1: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

1

OpenStack in Debian GNU/Linux

July 10, 2012

Loïc [email protected]

Page 2: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

2

Executive summary

• Goal : apt-get install openstack

• Reality : Follow a HOWTO

• Goal : unified effort with Ubuntu

• Reality : too much redundancy and not enough communication

• Goal : stable releases

• Reality : six months vs over 18 month release cycle

Page 3: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

3

•IaaS / PaaS / SaaS

•compute

•storage

•network

•APIs

OpenStack 101

Page 4: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

4

•Collect creatures

•Make a circle around the target

•Go to the next level

A WebGL game

Page 5: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

5

•Collect creatures

•Make a circle around the target

•Go to the next level

A WebGL game

Page 6: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

6

The garage with a small scale architecture

The success and automated elastic scaling

A web game company

Page 7: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

7

Architecture

need 5 instances

Page 8: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

8

Create a keypair

Page 9: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

9

Launch two MySQL

Instances

Renameprimary

andsecondary

Page 10: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

10

Login in the console

Ping the secondaryUsing the private IP

Page 11: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

11

Create a PHP instance

Create a snapshot

Create a second PHP instance

Page 12: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

12

Create a HAProxyfrom a snapshot

Open the port TCP 80 to the public

Page 13: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

13

Allocate a public IP

Associate the public IP to the HAProxy

instance

Page 14: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

14

WorldwideArchitecture

Duplicate theInfrastructure.

Multiply the php instances

Page 15: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

15

Get API credentials

Page 16: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

16

Page 17: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

17

Add a server

Page 18: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

18

Remove a server

Page 19: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

19

OpenStack packaging team

• https://alioth.debian.org/projects/openstack/

• 7 members

• currently three active

• it needs a lot more manpower

Page 20: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

20

Organisation

• irc.freenode.net#debian-openstack

• alioth mailing list

• ~20 repo http://anonscm.debian.org/git/git/openstack/

• git-buildpackage way of doing things

Page 21: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

21

Useable Defaults

• HOWTO http://wiki.debian.org/OpenStackHowto

• Improve each package to reduce the Howto

• apt-get install openstack and no Howto

Page 22: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

22

Puppet, chef, cfengine

• Puppet HOWTO http://wiki.debian.org/OpenStackPuppetHowto

• ensure the packages are friendly

• Improve the puppet modules to remove the Howto

Page 23: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

23

Future

• Package 2012.2 in experimental

• Presence at FOSDEM 2013

• Presence at OpenStack summit April 2013

• How to deal with the release cycle ?

Page 24: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

24

http://the.re/

• Sharing hardware between friends

• OpenStack Essex and Wheezy based

• Hardware at three different locations

• Actually using OpenStack

Page 25: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

25

http://april.org/

• http://agir.april.org/projects/admins/

• Migrate from vserver to OpenStack

• Agile applied to devops

• Continuous integration of puppet manifests

Page 26: OpenStack in Debian GNU/Linux - DebConffr2012.mini.debconf.org/slides/openstack-and-debian.pdf · 2 Executive summary • Goal : apt-get install openstack • Reality : Follow a HOWTO

26

Thank you

[email protected]

http://the.re/