SlideShare une entreprise Scribd logo
1  sur  34
Télécharger pour lire hors ligne
Images for the Clouds with KIWI &
OBS
openSUSE Conference 2016 June 24, 2016
Christian Schneemann
System Management & Monitoring Architect
B1 Systems GmbH
schneemann@b1-systems.de
Stefan Seyfried
Cloud Infrastructure Architect
SAP SE
stefan.seyfried@sap.com
B1 Systems GmbH - Linux/Open Source Consulting,Training, Support & Development
Introducing B1 Systems
founded in 2004
operating both nationally and internationally
nearly 100 employees
provider for IBM, SUSE, Oracle & HP
vendor-independent (hardware and software)
focus:
consulting
support
development
training
operations
solutions
B1 Systems GmbH Images for the Clouds with KIWI and OBS 2/34
Areas of Expertise
B1 Systems GmbH Images for the Clouds with KIWI and OBS 3/34
Images for the clouds with KIWI and OBS
B1 Systems GmbH Images for the Clouds with KIWI and OBS 4/34
Images for the Clouds with KIWI and OBS 1/2
Why images?
cloud is everywhere
systems are not installed anymore → ready-made images get
deployed and configured instead
B1 Systems GmbH Images for the Clouds with KIWI and OBS 5/34
Images for the Clouds with KIWI and OBS 2/2
Image creation should be like package creation:
easy
reproducible
automatic
B1 Systems GmbH Images for the Clouds with KIWI and OBS 6/34
KIWI?
B1 Systems GmbH Images for the Clouds with KIWI and OBS 7/34
KIWI?
Source: The.Rohit - Elusive KiwiUploaded by Snowmanradio, CC BY 2.0,
https://commons.wikimedia.org/w/index.php?curid=10708202
B1 Systems GmbH Images for the Clouds with KIWI and OBS 8/34
KIWI?
Source: André Karwath aka Aka - Eigenes Werk, CC BY-SA 2.5,
https://commons.wikimedia.org/w/index.php?curid=65257
B1 Systems GmbH Images for the Clouds with KIWI and OBS 9/34
KIWI!
Source: http://suse.github.io/kiwi
B1 Systems GmbH Images for the Clouds with KIWI and OBS 10/34
KIWI – Image System
image system
appliance builder
B1 Systems GmbH Images for the Clouds with KIWI and OBS 11/34
KIWI
Supported image types/formats:
ISO, Live CD/DVD
PXEBoot
Hard Disk/USB
Amazon EC2 (.ami)
Docker
Google Cloud Format (..gce)
Vagrant
Virtual Systems: KVM/Qemu, XEN, VirtualBox, VMware
Open Virtualization Format (.ovf, .ova)
B1 Systems GmbH Images for the Clouds with KIWI and OBS 12/34
KIWI
written in Perl ( < version 8)
written in Python ( > version 8)
configuration file in XML
scripts for any fine-tuning of the image creation
B1 Systems GmbH Images for the Clouds with KIWI and OBS 13/34
KIWI
Integration into Open Build Service:
builds images according to XML configuration
handles images like packages
access to packages built in OBS
B1 Systems GmbH Images for the Clouds with KIWI and OBS 14/34
KIWI XML 1/2
<?xml version="1.0" encoding="utf-8"?>
<image schemaversion="5.3" name="dm" displayname="DM">
<preferences>
<type image="vmx" boot="vmxboot/suse-13.2"
format="qcow2" bootloader="grub2">
<machine memory="1024">
<vmdisk controller="ide" id="0"/>
</machine>
</type>
...
</preferences>
<packages type="image">
<package name="open-vm-tools"/>
<package name="bind-libs"/>
<package name="bind-utils"/>
B1 Systems GmbH Images for the Clouds with KIWI and OBS 15/34
KIWI XML 2/2
<users group="root">
<user name="root" pwd="..." home="/root"/>
</users>
<repository type="rpm-md" priority="2">
<source path=’...’/>
</repository>
B1 Systems GmbH Images for the Clouds with KIWI and OBS 16/34
KIWI XML
description (author, contact,..)
type of image
preferences (locale, package manager configuration)
packages to install
packages to delete
repositories to use (optional)
B1 Systems GmbH Images for the Clouds with KIWI and OBS 17/34
OBS?
B1 Systems GmbH Images for the Clouds with KIWI and OBS 18/34
OBS
What is OBS?
http://www.openbuildservice.org
A generic system to build and distribute packages from
sources in an automatic, consistent and reproducible way.
Release your software for a wide range of operating systems
and hardware architectures.
B1 Systems GmbH Images for the Clouds with KIWI and OBS 19/34
KIWI in OBS
B1 Systems GmbH Images for the Clouds with KIWI and OBS 20/34
KIWI in OBS 1/5
Integration into Open Build Service:
builds images according to XML configuration
handles images like packages, including dependencies
one configuration file can build multiple images with a similar
configuration
QCOW image
RAW image
self-installing ISO image for hardware deployment
HDD image for PXE deployment including PXE installer
B1 Systems GmbH Images for the Clouds with KIWI and OBS 21/34
KIWI in OBS 2/5
Integration into Open Build Service:
KIWI has access to packages/repositories built in this OBS instance
custom-built packages can be included in the image
a new version of a custom-built package triggers image rebuild
images always contain latest version
B1 Systems GmbH Images for the Clouds with KIWI and OBS 22/34
KIWI in OBS 3/5
B1 Systems GmbH Images for the Clouds with KIWI and OBS 23/34
KIWI in OBS 4/5
B1 Systems GmbH Images for the Clouds with KIWI and OBS 24/34
KIWI in OBS 5/5
root.tar.bz2
etc/
etc/sysconfig/
etc/sysconfig/network/
etc/sysconfig/network/ifcfg-eth0
B1 Systems GmbH Images for the Clouds with KIWI and OBS 25/34
KIWI in OBS – Repository Definitions 1/3
Repository definitions:
directly in KIWI XML definition
in project’s repository definition
B1 Systems GmbH Images for the Clouds with KIWI and OBS 26/34
KIWI in OBS – Repository Definitions 2/3
directly in KIWI XML definition
*.kiwi
<repository type="rpm-md">
<source path="obs://openSUSE:Leap:42.1:Update/standard"/>
</repository>
<repository type="rpm-md">
<source path="obs://openSUSE:Leap:42.1/standard"/>
</repository>
B1 Systems GmbH Images for the Clouds with KIWI and OBS 27/34
KIWI in OBS – Repository Definitions 3/3
. . . in project’s repository definition
*.kiwi
<repository type="rpm-md" priority="2">
<source path=’obsrepositories:/’/>
</repository>
Project XML
<repository name="images">
<path project="OBS:Server:2.7" repository="openSUSE_42.1"/>
<path project="openSUSE:Tools" repository="openSUSE_42.1"/>
<path project="openSUSE:Leap:42.1:NonFree:Update" repository="standard"/>
<path project="openSUSE:Leap:42.1:Update" repository="standard"/>
<arch>x86_64</arch>
</repository>
B1 Systems GmbH Images for the Clouds with KIWI and OBS 28/34
KIWI vs. KIWI in OBS
Particularities of plain KIWI vs. KIWI in OBS
Plain KIWI in OBS
can use expanded directories
with files as source
directories need to be packed up
as tarball
can use any repository for build-
ing images
can only use OBS repositories
B1 Systems GmbH Images for the Clouds with KIWI and OBS 29/34
Challenges with KIWI in OBS
B1 Systems GmbH Images for the Clouds with KIWI and OBS 30/34
Challenges with KIWI in OBS
Particularly nasty problems of KIWI in OBS vs. plain KIWI:
Building images of non-SUSE distributions, example: CentOS
plain KIWI uses the build system’s tools to assemble the image
OBS installs a VM with the same distribution as the image, and
builds the image in this VM
subtle differences in the tools might reveal KIWI bugs
per default, non-SUSE distributions in OBS use the kernel of the
build host for the build VM. It might be necessary to create a
kernel-obs-build package for the non-SUSE distribution to
make KIWI in OBS work
B1 Systems GmbH Images for the Clouds with KIWI and OBS 31/34
Challenges with KIWI in OBS
A few more from my list of interesting facts regarding KIWI in OBS:
The order of package repositories matters.
The repository containing kiwi needs to come first, or...
unresolvable: nothing provides kiwi = 7.03.75
needed by kiwi-requires, nothing provides
kiwi-desc-vmxboot = 7.03.75 needed by
kiwi-desc-vmxboot-requires
Not all OBS prjconf are used equally.
In the end, it all comes down to "‘trial and error"’
It is practically impossible to debug package resolution problems
in OBS, not even by changing the code ;-)
B1 Systems GmbH Images for the Clouds with KIWI and OBS 32/34
Challenges with KIWI in OBS – An Example
This works:
<repository type=’rpm-md’>
<source path=’obs://Infrastructure:KIWI/SLES12’/>
</repository>
<repository type=’rpm-md’>
<source path=’obs://SLES12-SP1-FU/standard’/>
</repository>
This doesn’t work (cannot resolve kiwi packages):
<repository type=’rpm-md’>
<source path=’obs://SLES12-SP1-FU/standard’/>
</repository>
<repository type=’rpm-md’>
<source path=’obs://Infrastructure:KIWI/SLES12’/>
</repository>
B1 Systems GmbH Images for the Clouds with KIWI and OBS 33/34
Thank You!
For more information, refer to info@b1-systems.de
or +49 (0)8457 - 931096
B1 Systems GmbH - Linux/Open Source Consulting,Training, Support & Development

Contenu connexe

En vedette

Sencha review
Sencha reviewSencha review
Sencha reviewgndolf
 
Maritime New Haven - Sound School
Maritime New Haven - Sound SchoolMaritime New Haven - Sound School
Maritime New Haven - Sound SchoolAmy Durbin
 
Facebook-Zynga
Facebook-ZyngaFacebook-Zynga
Facebook-Zyngagndolf
 
R00 manual guía call center
R00 manual guía call centerR00 manual guía call center
R00 manual guía call centerFitira
 
Volume licensing programs overview_victor
Volume licensing programs overview_victorVolume licensing programs overview_victor
Volume licensing programs overview_victorFitira
 
อาชีพ อภิ
อาชีพ อภิอาชีพ อภิ
อาชีพ อภิKris Kizt
 
Android vs ios
Android vs iosAndroid vs ios
Android vs iosgndolf
 
P m02 inside_selling_managerswrap
P m02 inside_selling_managerswrapP m02 inside_selling_managerswrap
P m02 inside_selling_managerswrapFitira
 
성공하는모바일비즈니스패러다임
성공하는모바일비즈니스패러다임성공하는모바일비즈니스패러다임
성공하는모바일비즈니스패러다임gndolf
 
Voting presentation
Voting presentationVoting presentation
Voting presentationhannahfenney
 
Perniagaan Borong
Perniagaan BorongPerniagaan Borong
Perniagaan BorongSharina Nor
 
Deploying oracle rac 10g with asm on rhel and sles with svc
Deploying oracle rac 10g with asm on rhel and sles with svcDeploying oracle rac 10g with asm on rhel and sles with svc
Deploying oracle rac 10g with asm on rhel and sles with svcwikiwei
 
Evaluation question 2
Evaluation question 2Evaluation question 2
Evaluation question 2moppettharry
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackB1 Systems GmbH
 
Steps presentation
Steps presentationSteps presentation
Steps presentationLiam Wylie
 
Data data every where!! Thomas O'Grady
Data data every where!! Thomas O'GradyData data every where!! Thomas O'Grady
Data data every where!! Thomas O'Gradytomo006
 

En vedette (20)

Reference_Letter
Reference_LetterReference_Letter
Reference_Letter
 
Sencha review
Sencha reviewSencha review
Sencha review
 
Maritime New Haven - Sound School
Maritime New Haven - Sound SchoolMaritime New Haven - Sound School
Maritime New Haven - Sound School
 
Facebook-Zynga
Facebook-ZyngaFacebook-Zynga
Facebook-Zynga
 
R00 manual guía call center
R00 manual guía call centerR00 manual guía call center
R00 manual guía call center
 
Volume licensing programs overview_victor
Volume licensing programs overview_victorVolume licensing programs overview_victor
Volume licensing programs overview_victor
 
House for sale
House for saleHouse for sale
House for sale
 
อาชีพ อภิ
อาชีพ อภิอาชีพ อภิ
อาชีพ อภิ
 
Android vs ios
Android vs iosAndroid vs ios
Android vs ios
 
Prezentacja1
Prezentacja1Prezentacja1
Prezentacja1
 
P m02 inside_selling_managerswrap
P m02 inside_selling_managerswrapP m02 inside_selling_managerswrap
P m02 inside_selling_managerswrap
 
성공하는모바일비즈니스패러다임
성공하는모바일비즈니스패러다임성공하는모바일비즈니스패러다임
성공하는모바일비즈니스패러다임
 
Voting presentation
Voting presentationVoting presentation
Voting presentation
 
Perniagaan Borong
Perniagaan BorongPerniagaan Borong
Perniagaan Borong
 
Deploying oracle rac 10g with asm on rhel and sles with svc
Deploying oracle rac 10g with asm on rhel and sles with svcDeploying oracle rac 10g with asm on rhel and sles with svc
Deploying oracle rac 10g with asm on rhel and sles with svc
 
Evaluation question 2
Evaluation question 2Evaluation question 2
Evaluation question 2
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStack
 
Steps presentation
Steps presentationSteps presentation
Steps presentation
 
Data data every where!! Thomas O'Grady
Data data every where!! Thomas O'GradyData data every where!! Thomas O'Grady
Data data every where!! Thomas O'Grady
 
The magic cat eye
The magic cat eyeThe magic cat eye
The magic cat eye
 

Similaire à Images for the Clouds with KIWI & OBS

OSDC 2019 | Running backups with Ceph-to-Ceph by Michael Raabe
OSDC 2019 | Running backups with Ceph-to-Ceph by Michael RaabeOSDC 2019 | Running backups with Ceph-to-Ceph by Michael Raabe
OSDC 2019 | Running backups with Ceph-to-Ceph by Michael RaabeNETWAYS
 
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...koolsolutions
 
Brighttalk: SUSE Lösungen für die Public Cloud
Brighttalk: SUSE Lösungen für die Public CloudBrighttalk: SUSE Lösungen für die Public Cloud
Brighttalk: SUSE Lösungen für die Public CloudRalf Dannert
 
Mihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti - PyCon Ireland - Automate EverythingMihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti - PyCon Ireland - Automate EverythingMihai Criveti
 
Creating a dynamic software deployment solution using free/libre software
Creating a dynamic software deployment solution using free/libre softwareCreating a dynamic software deployment solution using free/libre software
Creating a dynamic software deployment solution using free/libre softwareB1 Systems GmbH
 
Win ce 6.0 development (1)
Win ce 6.0 development (1)Win ce 6.0 development (1)
Win ce 6.0 development (1)Rajshree Daware
 
S103 cics cloud and dev ops agility
S103 cics cloud and dev ops agilityS103 cics cloud and dev ops agility
S103 cics cloud and dev ops agilitynick_garrod
 
Continuous Integration using Docker & Jenkins
Continuous Integration using Docker & JenkinsContinuous Integration using Docker & Jenkins
Continuous Integration using Docker & JenkinsB1 Systems GmbH
 
2015 DockerCon Using Docker in production at bity.com
2015 DockerCon Using Docker in production at bity.com2015 DockerCon Using Docker in production at bity.com
2015 DockerCon Using Docker in production at bity.comMathieu Buffenoir
 
Codemotion Rome 2015 IBM Bluemix and Docker
Codemotion Rome 2015 IBM Bluemix and DockerCodemotion Rome 2015 IBM Bluemix and Docker
Codemotion Rome 2015 IBM Bluemix and Dockergjuljo
 
- Codemotion Rome 2015
- Codemotion Rome 2015- Codemotion Rome 2015
- Codemotion Rome 2015Codemotion
 
DockerCon EU 2015: Trading Bitcoin with Docker
DockerCon EU 2015: Trading Bitcoin with DockerDockerCon EU 2015: Trading Bitcoin with Docker
DockerCon EU 2015: Trading Bitcoin with DockerDocker, Inc.
 
CloudStack templates with OpenVM
CloudStack templates with OpenVMCloudStack templates with OpenVM
CloudStack templates with OpenVMShapeBlue
 
AnsibleFest 2021 - DevSecOps with Ansible, OpenShift Virtualization, Packer a...
AnsibleFest 2021 - DevSecOps with Ansible, OpenShift Virtualization, Packer a...AnsibleFest 2021 - DevSecOps with Ansible, OpenShift Virtualization, Packer a...
AnsibleFest 2021 - DevSecOps with Ansible, OpenShift Virtualization, Packer a...Mihai Criveti
 
End of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStackEnd of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStackB1 Systems GmbH
 
Enhanced cics cloud enablement and dev ops capabilities
Enhanced cics cloud enablement and dev ops capabilitiesEnhanced cics cloud enablement and dev ops capabilities
Enhanced cics cloud enablement and dev ops capabilitiesnick_garrod
 

Similaire à Images for the Clouds with KIWI & OBS (20)

OSDC 2019 | Running backups with Ceph-to-Ceph by Michael Raabe
OSDC 2019 | Running backups with Ceph-to-Ceph by Michael RaabeOSDC 2019 | Running backups with Ceph-to-Ceph by Michael Raabe
OSDC 2019 | Running backups with Ceph-to-Ceph by Michael Raabe
 
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...
 
SLE BCI
SLE BCISLE BCI
SLE BCI
 
Brighttalk: SUSE Lösungen für die Public Cloud
Brighttalk: SUSE Lösungen für die Public CloudBrighttalk: SUSE Lösungen für die Public Cloud
Brighttalk: SUSE Lösungen für die Public Cloud
 
Mihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti - PyCon Ireland - Automate EverythingMihai Criveti - PyCon Ireland - Automate Everything
Mihai Criveti - PyCon Ireland - Automate Everything
 
Packaging Event 2008
Packaging Event 2008Packaging Event 2008
Packaging Event 2008
 
Creating a dynamic software deployment solution using free/libre software
Creating a dynamic software deployment solution using free/libre softwareCreating a dynamic software deployment solution using free/libre software
Creating a dynamic software deployment solution using free/libre software
 
Win ce 6.0 development (1)
Win ce 6.0 development (1)Win ce 6.0 development (1)
Win ce 6.0 development (1)
 
S103 cics cloud and dev ops agility
S103 cics cloud and dev ops agilityS103 cics cloud and dev ops agility
S103 cics cloud and dev ops agility
 
Continuous Integration using Docker & Jenkins
Continuous Integration using Docker & JenkinsContinuous Integration using Docker & Jenkins
Continuous Integration using Docker & Jenkins
 
2015 DockerCon Using Docker in production at bity.com
2015 DockerCon Using Docker in production at bity.com2015 DockerCon Using Docker in production at bity.com
2015 DockerCon Using Docker in production at bity.com
 
Codemotion Rome 2015 IBM Bluemix and Docker
Codemotion Rome 2015 IBM Bluemix and DockerCodemotion Rome 2015 IBM Bluemix and Docker
Codemotion Rome 2015 IBM Bluemix and Docker
 
- Codemotion Rome 2015
- Codemotion Rome 2015- Codemotion Rome 2015
- Codemotion Rome 2015
 
DockerCon EU 2015: Trading Bitcoin with Docker
DockerCon EU 2015: Trading Bitcoin with DockerDockerCon EU 2015: Trading Bitcoin with Docker
DockerCon EU 2015: Trading Bitcoin with Docker
 
ZCM 3rd Party Imaging
ZCM 3rd Party ImagingZCM 3rd Party Imaging
ZCM 3rd Party Imaging
 
CloudStack templates with OpenVM
CloudStack templates with OpenVMCloudStack templates with OpenVM
CloudStack templates with OpenVM
 
Ibm smart cloud entry+ for system x user guide
Ibm smart cloud entry+ for system x user guideIbm smart cloud entry+ for system x user guide
Ibm smart cloud entry+ for system x user guide
 
AnsibleFest 2021 - DevSecOps with Ansible, OpenShift Virtualization, Packer a...
AnsibleFest 2021 - DevSecOps with Ansible, OpenShift Virtualization, Packer a...AnsibleFest 2021 - DevSecOps with Ansible, OpenShift Virtualization, Packer a...
AnsibleFest 2021 - DevSecOps with Ansible, OpenShift Virtualization, Packer a...
 
End of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStackEnd of the Road - Facing Current Scaling Limits within OpenStack
End of the Road - Facing Current Scaling Limits within OpenStack
 
Enhanced cics cloud enablement and dev ops capabilities
Enhanced cics cloud enablement and dev ops capabilitiesEnhanced cics cloud enablement and dev ops capabilities
Enhanced cics cloud enablement and dev ops capabilities
 

Plus de B1 Systems GmbH

Ubuntu-/Debian-Packaging
Ubuntu-/Debian-PackagingUbuntu-/Debian-Packaging
Ubuntu-/Debian-PackagingB1 Systems GmbH
 
Ubuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreibenUbuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreibenB1 Systems GmbH
 
Android mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen RepoAndroid mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen RepoB1 Systems GmbH
 
Ambilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & HyperionAmbilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & HyperionB1 Systems GmbH
 
B1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AGB1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AGB1 Systems GmbH
 
Salt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersSalt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersB1 Systems GmbH
 
Systemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanSystemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanB1 Systems GmbH
 
Ausrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit DockerAusrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit DockerB1 Systems GmbH
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackB1 Systems GmbH
 
Bits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der ZeitBits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der ZeitB1 Systems GmbH
 
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenOpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenB1 Systems GmbH
 
E-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPGE-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPGB1 Systems GmbH
 
Some Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisierenSome Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisierenB1 Systems GmbH
 
Entwicklungsumgebungen mit Vagrant
Entwicklungsumgebungen mit VagrantEntwicklungsumgebungen mit Vagrant
Entwicklungsumgebungen mit VagrantB1 Systems GmbH
 
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...B1 Systems GmbH
 
Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?B1 Systems GmbH
 
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SEOpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SEB1 Systems GmbH
 
Softwarepaketierung und Continuous Integration bei Airbus Defence and Space
Softwarepaketierung und Continuous Integration bei Airbus Defence and SpaceSoftwarepaketierung und Continuous Integration bei Airbus Defence and Space
Softwarepaketierung und Continuous Integration bei Airbus Defence and SpaceB1 Systems GmbH
 
Ceph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die CloudCeph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die CloudB1 Systems GmbH
 

Plus de B1 Systems GmbH (20)

Ubuntu-/Debian-Packaging
Ubuntu-/Debian-PackagingUbuntu-/Debian-Packaging
Ubuntu-/Debian-Packaging
 
Ubuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreibenUbuntu-Server als Backup- und Fileserver betreiben
Ubuntu-Server als Backup- und Fileserver betreiben
 
Android mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen RepoAndroid mit Google Befreiung, PlayStore Apps im eigenen Repo
Android mit Google Befreiung, PlayStore Apps im eigenen Repo
 
Ambilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & HyperionAmbilight, Raspberry Pi, Ubuntu & Hyperion
Ambilight, Raspberry Pi, Ubuntu & Hyperion
 
B1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AGB1 Thin Client Management bei der Fraport AG
B1 Thin Client Management bei der Fraport AG
 
Salt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for DatacentersSalt - A Scalable Systems Management Solution for Datacenters
Salt - A Scalable Systems Management Solution for Datacenters
 
Systemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und ForemanSystemmanagement mit Puppet und Foreman
Systemmanagement mit Puppet und Foreman
 
Ausrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit DockerAusrollen von Multi-Tier-Applikationen mit Docker
Ausrollen von Multi-Tier-Applikationen mit Docker
 
Simplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStackSimplify and run your development environments with Vagrant on OpenStack
Simplify and run your development environments with Vagrant on OpenStack
 
Bits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der ZeitBits and Bytes im Flow - Netzwerk im Wandel der Zeit
Bits and Bytes im Flow - Netzwerk im Wandel der Zeit
 
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und EntwicklungsumgebungenOpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
OpenStack und Heat - Standardisierte Test- und Entwicklungsumgebungen
 
systemd im Alltag
systemd im Alltagsystemd im Alltag
systemd im Alltag
 
E-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPGE-Mail-Verschlüsselung mit GnuPG
E-Mail-Verschlüsselung mit GnuPG
 
Some Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisierenSome Bashing II - Mit der Kommandozeile Abläufe automatisieren
Some Bashing II - Mit der Kommandozeile Abläufe automatisieren
 
Entwicklungsumgebungen mit Vagrant
Entwicklungsumgebungen mit VagrantEntwicklungsumgebungen mit Vagrant
Entwicklungsumgebungen mit Vagrant
 
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
Docker und Virtualisierung - Container Use Cases für eine isolierte, performa...
 
Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?Btrfs - das Dateisystem der Zukunft?
Btrfs - das Dateisystem der Zukunft?
 
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SEOpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
OpenStack Betrieb & Support - 5 Jahre OpenStack Managed Service bei der SAP SE
 
Softwarepaketierung und Continuous Integration bei Airbus Defence and Space
Softwarepaketierung und Continuous Integration bei Airbus Defence and SpaceSoftwarepaketierung und Continuous Integration bei Airbus Defence and Space
Softwarepaketierung und Continuous Integration bei Airbus Defence and Space
 
Ceph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die CloudCeph - Software Defined Storage für die Cloud
Ceph - Software Defined Storage für die Cloud
 

Dernier

Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 

Dernier (20)

Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 

Images for the Clouds with KIWI & OBS

  • 1. Images for the Clouds with KIWI & OBS openSUSE Conference 2016 June 24, 2016 Christian Schneemann System Management & Monitoring Architect B1 Systems GmbH schneemann@b1-systems.de Stefan Seyfried Cloud Infrastructure Architect SAP SE stefan.seyfried@sap.com B1 Systems GmbH - Linux/Open Source Consulting,Training, Support & Development
  • 2. Introducing B1 Systems founded in 2004 operating both nationally and internationally nearly 100 employees provider for IBM, SUSE, Oracle & HP vendor-independent (hardware and software) focus: consulting support development training operations solutions B1 Systems GmbH Images for the Clouds with KIWI and OBS 2/34
  • 3. Areas of Expertise B1 Systems GmbH Images for the Clouds with KIWI and OBS 3/34
  • 4. Images for the clouds with KIWI and OBS B1 Systems GmbH Images for the Clouds with KIWI and OBS 4/34
  • 5. Images for the Clouds with KIWI and OBS 1/2 Why images? cloud is everywhere systems are not installed anymore → ready-made images get deployed and configured instead B1 Systems GmbH Images for the Clouds with KIWI and OBS 5/34
  • 6. Images for the Clouds with KIWI and OBS 2/2 Image creation should be like package creation: easy reproducible automatic B1 Systems GmbH Images for the Clouds with KIWI and OBS 6/34
  • 7. KIWI? B1 Systems GmbH Images for the Clouds with KIWI and OBS 7/34
  • 8. KIWI? Source: The.Rohit - Elusive KiwiUploaded by Snowmanradio, CC BY 2.0, https://commons.wikimedia.org/w/index.php?curid=10708202 B1 Systems GmbH Images for the Clouds with KIWI and OBS 8/34
  • 9. KIWI? Source: André Karwath aka Aka - Eigenes Werk, CC BY-SA 2.5, https://commons.wikimedia.org/w/index.php?curid=65257 B1 Systems GmbH Images for the Clouds with KIWI and OBS 9/34
  • 10. KIWI! Source: http://suse.github.io/kiwi B1 Systems GmbH Images for the Clouds with KIWI and OBS 10/34
  • 11. KIWI – Image System image system appliance builder B1 Systems GmbH Images for the Clouds with KIWI and OBS 11/34
  • 12. KIWI Supported image types/formats: ISO, Live CD/DVD PXEBoot Hard Disk/USB Amazon EC2 (.ami) Docker Google Cloud Format (..gce) Vagrant Virtual Systems: KVM/Qemu, XEN, VirtualBox, VMware Open Virtualization Format (.ovf, .ova) B1 Systems GmbH Images for the Clouds with KIWI and OBS 12/34
  • 13. KIWI written in Perl ( < version 8) written in Python ( > version 8) configuration file in XML scripts for any fine-tuning of the image creation B1 Systems GmbH Images for the Clouds with KIWI and OBS 13/34
  • 14. KIWI Integration into Open Build Service: builds images according to XML configuration handles images like packages access to packages built in OBS B1 Systems GmbH Images for the Clouds with KIWI and OBS 14/34
  • 15. KIWI XML 1/2 <?xml version="1.0" encoding="utf-8"?> <image schemaversion="5.3" name="dm" displayname="DM"> <preferences> <type image="vmx" boot="vmxboot/suse-13.2" format="qcow2" bootloader="grub2"> <machine memory="1024"> <vmdisk controller="ide" id="0"/> </machine> </type> ... </preferences> <packages type="image"> <package name="open-vm-tools"/> <package name="bind-libs"/> <package name="bind-utils"/> B1 Systems GmbH Images for the Clouds with KIWI and OBS 15/34
  • 16. KIWI XML 2/2 <users group="root"> <user name="root" pwd="..." home="/root"/> </users> <repository type="rpm-md" priority="2"> <source path=’...’/> </repository> B1 Systems GmbH Images for the Clouds with KIWI and OBS 16/34
  • 17. KIWI XML description (author, contact,..) type of image preferences (locale, package manager configuration) packages to install packages to delete repositories to use (optional) B1 Systems GmbH Images for the Clouds with KIWI and OBS 17/34
  • 18. OBS? B1 Systems GmbH Images for the Clouds with KIWI and OBS 18/34
  • 19. OBS What is OBS? http://www.openbuildservice.org A generic system to build and distribute packages from sources in an automatic, consistent and reproducible way. Release your software for a wide range of operating systems and hardware architectures. B1 Systems GmbH Images for the Clouds with KIWI and OBS 19/34
  • 20. KIWI in OBS B1 Systems GmbH Images for the Clouds with KIWI and OBS 20/34
  • 21. KIWI in OBS 1/5 Integration into Open Build Service: builds images according to XML configuration handles images like packages, including dependencies one configuration file can build multiple images with a similar configuration QCOW image RAW image self-installing ISO image for hardware deployment HDD image for PXE deployment including PXE installer B1 Systems GmbH Images for the Clouds with KIWI and OBS 21/34
  • 22. KIWI in OBS 2/5 Integration into Open Build Service: KIWI has access to packages/repositories built in this OBS instance custom-built packages can be included in the image a new version of a custom-built package triggers image rebuild images always contain latest version B1 Systems GmbH Images for the Clouds with KIWI and OBS 22/34
  • 23. KIWI in OBS 3/5 B1 Systems GmbH Images for the Clouds with KIWI and OBS 23/34
  • 24. KIWI in OBS 4/5 B1 Systems GmbH Images for the Clouds with KIWI and OBS 24/34
  • 25. KIWI in OBS 5/5 root.tar.bz2 etc/ etc/sysconfig/ etc/sysconfig/network/ etc/sysconfig/network/ifcfg-eth0 B1 Systems GmbH Images for the Clouds with KIWI and OBS 25/34
  • 26. KIWI in OBS – Repository Definitions 1/3 Repository definitions: directly in KIWI XML definition in project’s repository definition B1 Systems GmbH Images for the Clouds with KIWI and OBS 26/34
  • 27. KIWI in OBS – Repository Definitions 2/3 directly in KIWI XML definition *.kiwi <repository type="rpm-md"> <source path="obs://openSUSE:Leap:42.1:Update/standard"/> </repository> <repository type="rpm-md"> <source path="obs://openSUSE:Leap:42.1/standard"/> </repository> B1 Systems GmbH Images for the Clouds with KIWI and OBS 27/34
  • 28. KIWI in OBS – Repository Definitions 3/3 . . . in project’s repository definition *.kiwi <repository type="rpm-md" priority="2"> <source path=’obsrepositories:/’/> </repository> Project XML <repository name="images"> <path project="OBS:Server:2.7" repository="openSUSE_42.1"/> <path project="openSUSE:Tools" repository="openSUSE_42.1"/> <path project="openSUSE:Leap:42.1:NonFree:Update" repository="standard"/> <path project="openSUSE:Leap:42.1:Update" repository="standard"/> <arch>x86_64</arch> </repository> B1 Systems GmbH Images for the Clouds with KIWI and OBS 28/34
  • 29. KIWI vs. KIWI in OBS Particularities of plain KIWI vs. KIWI in OBS Plain KIWI in OBS can use expanded directories with files as source directories need to be packed up as tarball can use any repository for build- ing images can only use OBS repositories B1 Systems GmbH Images for the Clouds with KIWI and OBS 29/34
  • 30. Challenges with KIWI in OBS B1 Systems GmbH Images for the Clouds with KIWI and OBS 30/34
  • 31. Challenges with KIWI in OBS Particularly nasty problems of KIWI in OBS vs. plain KIWI: Building images of non-SUSE distributions, example: CentOS plain KIWI uses the build system’s tools to assemble the image OBS installs a VM with the same distribution as the image, and builds the image in this VM subtle differences in the tools might reveal KIWI bugs per default, non-SUSE distributions in OBS use the kernel of the build host for the build VM. It might be necessary to create a kernel-obs-build package for the non-SUSE distribution to make KIWI in OBS work B1 Systems GmbH Images for the Clouds with KIWI and OBS 31/34
  • 32. Challenges with KIWI in OBS A few more from my list of interesting facts regarding KIWI in OBS: The order of package repositories matters. The repository containing kiwi needs to come first, or... unresolvable: nothing provides kiwi = 7.03.75 needed by kiwi-requires, nothing provides kiwi-desc-vmxboot = 7.03.75 needed by kiwi-desc-vmxboot-requires Not all OBS prjconf are used equally. In the end, it all comes down to "‘trial and error"’ It is practically impossible to debug package resolution problems in OBS, not even by changing the code ;-) B1 Systems GmbH Images for the Clouds with KIWI and OBS 32/34
  • 33. Challenges with KIWI in OBS – An Example This works: <repository type=’rpm-md’> <source path=’obs://Infrastructure:KIWI/SLES12’/> </repository> <repository type=’rpm-md’> <source path=’obs://SLES12-SP1-FU/standard’/> </repository> This doesn’t work (cannot resolve kiwi packages): <repository type=’rpm-md’> <source path=’obs://SLES12-SP1-FU/standard’/> </repository> <repository type=’rpm-md’> <source path=’obs://Infrastructure:KIWI/SLES12’/> </repository> B1 Systems GmbH Images for the Clouds with KIWI and OBS 33/34
  • 34. Thank You! For more information, refer to info@b1-systems.de or +49 (0)8457 - 931096 B1 Systems GmbH - Linux/Open Source Consulting,Training, Support & Development