centos virt sig - community virtualization packages on an immutable core
TRANSCRIPT
![Page 1: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/1.jpg)
Lars Kurth (standing in for George Dunlap)Lead CentOS Virtualization SIG
Community Manger, Xen Project
Chairman, Xen Project Advisory Board lars_kurth
![Page 2: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/2.jpg)
Community-oriented distrosDebian, Gentoo, BSDs
Enterprise targeted distrosRedHat, SuSE
Company-sponsored community distrosFedora, OpenSuSE
Company-patched community distroUbuntu
Community-rebuilt distrosCentOS, Scientific Linux
Mcamcamca @ Flickr
![Page 3: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/3.jpg)
StabilityUse old versions
Backport significant new functionality / bug fixes
SupportabilityDon’t try to support everything
Pick one technology and support that one well
Eliminate all non-supported technologies
![Page 4: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/4.jpg)
Community-rebuilt distro...with a twist
SIG =Special Interest Group
![Page 5: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/5.jpg)
Released 10 July 2011
6 months after the release 10000’s of users still using CentOS 5
The reason? Xen Project
RHEL had purchased Qumranet
Made KVM the hypervisor of choice for RHEL6
Tons of users who still wanted to use Xen
CentOS community members approached the Xen Community
At FOSDEM 2012, we started to make a plan to fix this
![Page 6: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/6.jpg)
Supplementary yum repo
Xen
Domain 0 kernel
libvirt
![Page 7: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/7.jpg)
What if people want all the boring, slow-changing stability of an enterprise kernel, except...
...for one application, where they want something newer?
...a different technology than the one chosen by the “commercial upstream”?
![Page 8: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/8.jpg)
Community-developed “patches” on the immutable core
Mechanism:Additional yum repo that adds / overrides core packages
General approach: Make it up as we go along
Mcamcamca @ Flickr
![Page 9: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/9.jpg)
SIGs Approved:
Cloud SIG (OpenStack, &co )
Cloud Instance SIG (Amazon instances, &c)
Virtualization (Xen, Docker, oVirt)
Storage (CentOS as a storage node)
Atomic
... it would seem so!
![Page 10: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/10.jpg)
Maria Ly @ Flickr
Issues we have worked through
in the last 12 months
Some are not yet fully resolved
![Page 11: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/11.jpg)
Moving from a small tight-knit group to larger disaggregated groups
Everyone’s trusted to Want to trust everyone, but trust needs to be limited
Not unique to CentOS model
Complicated by the already-large community
Also See:
cbs.centos.org/koji/wiki.centos.org/HowTos/CommunityBuildSystemCERN CentOS Dojo presentation @ bit.do/centos-sig-cbs
![Page 12: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/12.jpg)
Not even minor fixes can be added to the CentOS-Core
So even minor changes mean re-building the whole package
Example: virt-install uses blktap1 instead of blktap2
Re-building also means tracking Core changes
Nicholas A. Tonelli @ Flickr
![Page 13: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/13.jpg)
Example:Docker for C7 (in the Virt SIG) uses stock C7 kernel
Xen for C7 will need a domain-0 enabled kernel
Solutions:Break down into virt7-xen and virt7-docker reposShare the same SIG delivered kernel
Challenge: Avoiding repo multiplication
Mcamcamca @ Flickr
![Page 14: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/14.jpg)
What if you want to install two different SIGs, but:
The two SIGs require different versions of the same package (e.g., the kernel)
General approach:
We’ll figure it out when we get there.
Mcamcamca @ Flickr
![Page 15: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/15.jpg)
CentOS core has the stability guarantees of the upstream enterprise OS
CentOS SIGs don’t have nearly as much testing behind them
But they still carry the CentOS name
Oversight by CentOS board member important
![Page 16: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/16.jpg)
Maintainers having taken ownership for several technologies: Xen, Docker, oVirt
wiki.centos.org/SpecialInterestGroup/Virtualization
![Page 17: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/17.jpg)
Done:Projects building in the community build system for CentOS 6
Updated to Xen 4.4.1 and libvirt 1.2.10
Already a user: “yum update”wiki.centos.org/HowTos/Xen/Xen4QuickStart
To-do:Build for CentOS 7
Update kernel to 3.14 (currently 3.10)
![Page 18: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/18.jpg)
Docker 1.4.1 for CentOS 7 in CBS
Close to release (in testing, tag “virt7-testing”)
Working on Rocket
![Page 19: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/19.jpg)
Added to Virt SIG 6 weeks ago
Goals:Build qemu-kvm binary with live snapshot supportoVirt Live “spin”
oVirt Node “spin”
Interface with Storage SIG … for GlusterFS support
![Page 20: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/20.jpg)
See if there’s an existing SIG you can join
E-mail centos-devel with your proposal
Convince one of the CentOS Board members to sponsor you.
wiki.centos.org/SpecialInterestGroupwww.centos.org/about/governance/sigs
![Page 21: CentOS Virt SIG - Community virtualization packages on an immutable core](https://reader031.vdocuments.site/reader031/viewer/2022020106/55a5e1481a28aba71d8b45f5/html5/thumbnails/21.jpg)
Slides on www.slideshare.net/xen_com_mgr/