SlideShare a Scribd company logo
Transforming the Ceph tests
with OpenStack
Loic Dachary
Artisan Logiciel Libre
2015/10/27
Ceph developers population
Elite:
Smart people : Sage, Sam, Josh...
Large companies : Red Hat, SUSE, Intel...
Normal:
You and me
Non-profit : Tetaneutral, FSF...
Normal developer loop 2014
Setup Ceph $1
Hit a bug and report it $10
Fix the bug $1000
Rebuild the packages $10
Run tests N/A
Upgrade the package N/A
Normal developer loop 2015
Setup Ceph $1
Hit a bug and report it $10
Fix the bug $1000
Rebuild the packages $10
Run tests $100
Upgrade the package $1
Ceph development lifecycle
commit => test => review => merge
=> test => release
Tests
commit => test => review => merge
=> test => release
test == unit tests => packages =>
integration tests
Unit tests
Unit tests and functional tests : not too
long, single machine, no network, not
root
Make check local
Make check bot
Stable and under surveillance
Debugging unit tests
make check bot fails => run locally =>
fix => push --force
Integration tests
Requires more than one machine or
Takes more than a few minutes
Each job taks ~2 machines and takes ~2
hours
Before a release ~2,000 jobs are run and
failures analyzed
Running integration tests 2014
Push a branch on the official repository
Wait for gitbuilder to create a package
teuthology-suite to add the test in the sepia
lab
Integration tests 2015
teuthology-openstack with an OpenStack
tenant
Debugging integration tests
2015
teuthology fails => debug from log or
pause the test => fix => push --force
Commit review 2014
Developer: Pull request
Automatic: Unit test pass
Reviewer: Review the commit
Reviewer: Add needs-qa label
Reviewer: Merge and push in a testing
branch
Reviewer: Wait for gitbuilders
Reviewer: Run teuthology-suite
Reviewer: Sort the teuthology-suite results
Commit review 2015
Developer: Pull request
Automatic: Unit test pass
Reviewer: Review the commit
Developer: Run teuthology-openstack
Developer: Sort the teuthology-suite results
Developer: Fix and re-push
OpenStack prerequisites
Flavors with 16 cpus and 32GB RAM
Floating IPs (optional)
Volumes (optional)
Security groups (optional)
Tested with Havana, Juno & Kilo clusters
Adding OpenStack workers
add openstack: to ~/.teuthology.yaml
source openrc.sh
teuthology-worker –tube openstack
teuthology-suite –machine-type openstack
self-service teuthology-
openstack
use a tenant with no pets
source openrc.sh
create a passwordless keypair
~/myself.pem
teuthology-openstack –suite rados
watch http://120.43.25.39:8081/
teuthology-openstack --teardown
--key-name –key-filename
openstack keypair create myself
teuthology-openstack --key-name myself
--key-filename ~/myself.pem
--throttle --simultaneous-jobs
teuthology-openstack --throttle 30
--simultaneous-jobs 200
--name
teuthology-openstack –name other
--archive-upload --upload
teuthology-openstack –archive-upload ubuntu@teuthology-
logs.public.ceph.com:./ --upload
Resources description
openstack:
- machine:
disk: 40 # GB
ram: 8000 # MB
openstack:
- machine:
ram: 32000 # MB
Resources description
openstack:
- machine:
disk: 40 # GB
ram: 32000 # MB
Resources description defaults
openstack:
machine:
disk: 20 # GB
ram: 8000 # MB
cpus: 1
volumes:
count: 0
size: 1 # GB
Caveats
mulitple OpenStack provider support
--verbose to see feedback
archival with –upload would be more
convenient as a standalone action
setting up teuthology should be done when
compiling Ceph locally
Commit review 20XX
Developer: Pull request
Automatic: Unit test and integration tests
pass, display coverage of the commit
modifications and cross reference the
results in the corresponding issue
Reviewer: Review the commit
THANK YOU
plus.google.com/+RedHat
linkedin.com/company/red-hat
youtube.com/user/RedHatVideos
facebook.com/redhatinc
twitter.com/RedHatNews

More Related Content

PDF
Ceph Day Shanghai - CeTune - Benchmarking and tuning your Ceph cluster
PDF
iSCSI Target Support for Ceph
PDF
Ceph Day Beijing - SPDK for Ceph
PDF
Ceph Day Beijing - Ceph RDMA Update
PPTX
Ceph Day KL - Delivering cost-effective, high performance Ceph cluster
PDF
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
PDF
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
PDF
제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-CRUI
Ceph Day Shanghai - CeTune - Benchmarking and tuning your Ceph cluster
iSCSI Target Support for Ceph
Ceph Day Beijing - SPDK for Ceph
Ceph Day Beijing - Ceph RDMA Update
Ceph Day KL - Delivering cost-effective, high performance Ceph cluster
Ceph Day San Jose - All-Flahs Ceph on NUMA-Balanced Server
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-CRUI

What's hot (20)

PDF
Ceph Day Seoul - Delivering Cost Effective, High Performance Ceph cluster
ODP
How Many Ohs? (An Integration Guide to Apex & Triple-o)
PDF
제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-Asible
PPTX
Ceph Day Taipei - How ARM Microserver Cluster Performs in Ceph
PDF
Ceph Day Tokyo -- Ceph on All-Flash Storage
PDF
KVM Tuning @ eBay
PDF
CephFS in Jewel: Stable at Last
PDF
Ceph Day Tokyo - Bit-Isle's 3 years footprint with Ceph
PDF
Intel - optimizing ceph performance by leveraging intel® optane™ and 3 d nand...
ODP
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
PDF
Ceph Day Seoul - Ceph: a decade in the making and still going strong
PDF
Ceph Day Beijing - Welcome to Beijing Ceph Day
PDF
Introduction to Stacki at Atlanta Meetup February 2016
PDF
Ceph Day Beijing - Storage Modernization with Intel and Ceph
PDF
Salesforce at Stacki Atlanta Meetup February 2016
PDF
제2회난공불락 오픈소스 세미나 커널튜닝
PPTX
Ceph Day Taipei - Accelerate Ceph via SPDK
PDF
Ceph on arm64 upload
PPTX
Performance analysis with_ceph
PPTX
Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Seoul - Delivering Cost Effective, High Performance Ceph cluster
How Many Ohs? (An Integration Guide to Apex & Triple-o)
제4회 한국IBM과 함께하는 난공불락 오픈소스 인프라 세미나-Asible
Ceph Day Taipei - How ARM Microserver Cluster Performs in Ceph
Ceph Day Tokyo -- Ceph on All-Flash Storage
KVM Tuning @ eBay
CephFS in Jewel: Stable at Last
Ceph Day Tokyo - Bit-Isle's 3 years footprint with Ceph
Intel - optimizing ceph performance by leveraging intel® optane™ and 3 d nand...
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Ceph Day Seoul - Ceph: a decade in the making and still going strong
Ceph Day Beijing - Welcome to Beijing Ceph Day
Introduction to Stacki at Atlanta Meetup February 2016
Ceph Day Beijing - Storage Modernization with Intel and Ceph
Salesforce at Stacki Atlanta Meetup February 2016
제2회난공불락 오픈소스 세미나 커널튜닝
Ceph Day Taipei - Accelerate Ceph via SPDK
Ceph on arm64 upload
Performance analysis with_ceph
Ceph Day Tokyo - Bring Ceph to Enterprise
Ad

Viewers also liked (20)

PDF
London Ceph Day: Ceph Performance and Optimization
PPTX
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
PPTX
Ceph Day New York 2014: Ceph, a physical perspective
PDF
Ceph Day 2015 - Erasure Coding
ODP
Ceph Day NYC: Developing With Librados
PDF
Ceph Day Shanghai - The Scrub and Repair in Jewel
PDF
Ceph Day Beijing: Containers and Ceph
PPTX
Using Recently Published Ceph Reference Architectures to Select Your Ceph Con...
PPTX
Ceph Day New York 2014: Distributed OLAP queries in seconds using CephFS
PDF
Ceph Day Berlin: Scaling an Academic Cloud
PDF
Ceph Day Berlin: Erasure Code in Ceph
PDF
Ceph Day Beijing: Experience Sharing and OpenStack and Ceph Integration
PPTX
Ceph Day Berlin: Measuring and predicting performance of Ceph clusters
PDF
Ceph Day Beijing: Big Data Analytics on Ceph Object Store
PDF
Ceph Day LA - RBD: A deep dive
PPTX
Ceph Day LA: Ceph Ecosystem Update
PDF
Reference Architecture: Architecting Ceph Storage Solutions
PPTX
Ceph Day New York 2014: Ceph and the Open Ethernet Drive Architecture
PDF
Ceph Day Melbourne - Scale and performance: Servicing the Fabric and the Work...
PDF
London Ceph Day: Erasure Coding: Purpose and Progress
London Ceph Day: Ceph Performance and Optimization
Ceph Day New York 2014: Best Practices for Ceph-Powered Implementations of St...
Ceph Day New York 2014: Ceph, a physical perspective
Ceph Day 2015 - Erasure Coding
Ceph Day NYC: Developing With Librados
Ceph Day Shanghai - The Scrub and Repair in Jewel
Ceph Day Beijing: Containers and Ceph
Using Recently Published Ceph Reference Architectures to Select Your Ceph Con...
Ceph Day New York 2014: Distributed OLAP queries in seconds using CephFS
Ceph Day Berlin: Scaling an Academic Cloud
Ceph Day Berlin: Erasure Code in Ceph
Ceph Day Beijing: Experience Sharing and OpenStack and Ceph Integration
Ceph Day Berlin: Measuring and predicting performance of Ceph clusters
Ceph Day Beijing: Big Data Analytics on Ceph Object Store
Ceph Day LA - RBD: A deep dive
Ceph Day LA: Ceph Ecosystem Update
Reference Architecture: Architecting Ceph Storage Solutions
Ceph Day New York 2014: Ceph and the Open Ethernet Drive Architecture
Ceph Day Melbourne - Scale and performance: Servicing the Fabric and the Work...
London Ceph Day: Erasure Coding: Purpose and Progress
Ad

Similar to Transforming the Ceph Integration Tests with OpenStack (20)

PDF
Making your first OpenStack contribution (EuroPython)
PDF
Sanger OpenStack presentation March 2017
PDF
Why so continuous
PPTX
Ceph Deployment at Target: Customer Spotlight
PPTX
Ceph Deployment at Target: Customer Spotlight
PDF
ceph openstack dream team
PDF
OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
PDF
Ceph and cloud stack apr 2014
PDF
Peanut Butter and jelly: Mapping the deep Integration between Ceph and OpenStack
PDF
Using Ceph in OStack.de - Ceph Day Frankfurt
PDF
Kolla - containerizing the cloud itself
PDF
3 ubuntu open_stack_ceph
PDF
Openstack devops challenges
PPTX
Build public private cloud using openstack
PDF
Hitchhikers guide to open stack toolchains
PDF
Automate Your Automation | DrupalCon Vienna
PDF
Building and Running OpenStack on POWER8
PDF
PDF
CEPH & OPENSTACK - Red Hat's Winning Combination for Enterprise Clouds
PDF
How to integrate_custom_openstack_services_with_devstack
Making your first OpenStack contribution (EuroPython)
Sanger OpenStack presentation March 2017
Why so continuous
Ceph Deployment at Target: Customer Spotlight
Ceph Deployment at Target: Customer Spotlight
ceph openstack dream team
OpenNebulaconf2017US: Paying down technical debt with "one" dollar bills by ...
Ceph and cloud stack apr 2014
Peanut Butter and jelly: Mapping the deep Integration between Ceph and OpenStack
Using Ceph in OStack.de - Ceph Day Frankfurt
Kolla - containerizing the cloud itself
3 ubuntu open_stack_ceph
Openstack devops challenges
Build public private cloud using openstack
Hitchhikers guide to open stack toolchains
Automate Your Automation | DrupalCon Vienna
Building and Running OpenStack on POWER8
CEPH & OPENSTACK - Red Hat's Winning Combination for Enterprise Clouds
How to integrate_custom_openstack_services_with_devstack

Recently uploaded (20)

PDF
medical staffing services at VALiNTRY
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
System and Network Administration Chapter 2
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
System and Network Administraation Chapter 3
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
AI in Product Development-omnex systems
PPTX
L1 - Introduction to python Backend.pptx
PPTX
ai tools demonstartion for schools and inter college
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Essential Infomation Tech presentation.pptx
PDF
Digital Strategies for Manufacturing Companies
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Nekopoi APK 2025 free lastest update
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
medical staffing services at VALiNTRY
Upgrade and Innovation Strategies for SAP ERP Customers
System and Network Administration Chapter 2
Which alternative to Crystal Reports is best for small or large businesses.pdf
System and Network Administraation Chapter 3
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Navsoft: AI-Powered Business Solutions & Custom Software Development
AI in Product Development-omnex systems
L1 - Introduction to python Backend.pptx
ai tools demonstartion for schools and inter college
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Essential Infomation Tech presentation.pptx
Digital Strategies for Manufacturing Companies
PTS Company Brochure 2025 (1).pdf.......
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Design an Analysis of Algorithms II-SECS-1021-03
Nekopoi APK 2025 free lastest update
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Design an Analysis of Algorithms I-SECS-1021-03

Transforming the Ceph Integration Tests with OpenStack