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

Contributing with Ceph and OpenStack Cinder on ...

Contributing with Ceph and OpenStack Cinder on upstream

Ceph day in Arg. Nov 2017 at Medallia.
These slides explain how to contribute to ceph and OpenStack cinder on upstream.

Avatar for Laura Sofia Enriquez

Laura Sofia Enriquez

November 29, 2017
Tweet

Other Decks in Technology

Transcript

  1. OUTLINE • Which OpenStack projects use Ceph. • Places to

    find inspiration and documentation. • Contributors workflow. • Basic configuration to setup an environment.
  2. Integrating Ceph Storage with OpenStack Ceph can act as storage

    backend for: - OpenStack Block Storage (Cinder), - OpenStack Image service (Glance), - OpenStack File Share service (Manila). In addition, Ceph Storage can be a drop-in replacement for OpenStack Object Storage (Swift).
  3. Get in touch with the community • Join the weekly

    IRC meetup. • Subscribe to the email-list. • Just join any IRC openstack channel.
  4. Cinder contribution workflow Local Environment Upstream code cinder / master

    cinder / master cinder / topic_branch git checkout -b topic_branch Gerrit (Review system) Review requirements: Core reviews: 2 (+2) y 0 (-2) Jenkins: +1 1. Fix chances 2. Run unit tests 3. git commit git commit --amend git clone Zuul (automated testing) devstack
  5. Vagrantfile example One way to deploy an Openstack developer environment

    is with virtualbox + vagrant: • <4Gb. • Be careful with the shell provisions.
  6. DevStack is a series of extensible scripts used to quickly

    bring up a complete OpenStack environment based on the latest versions of everything from git master. It is used interactively as a development environment and as the basis for much of the OpenStack project’s functional testing. • Also a OpenStack project. • All-In-One Single Machine. • Devstack attempts to support Ubuntu 16.04/17.04, Fedora 24/25, CentOS/RHEL 7, as well as Debian and OpenSUSE. • If you do not have a preference, Ubuntu 16.04 is the most tested, and will probably go the smoothest.
  7. Devstack configuration file: localrc or local.config Custom localrc to set

    Ceph as backend storage for Cinder and Glance. • I dont recommend to run `.stack.sh` without a local.conf or locarlrc. • Use devstack-plugin-ceph: avoid do all from scratch if you don’t know how to.