DevOps SUSE’s Innovation tools driving your CI/CD future Cameron Seader Technology Strategist [email protected] Jeff Price Principle Architect / Consulting [email protected]
Feb 05, 2018
DevOpsSUSE’s Innovation tools driving your CI/CD future
Cameron Seader
Technology Strategist
Jeff Price
Principle Architect / Consulting
2
3
Can you relate?
4
A common day in the life of a developer
5
My Code
6
Operations is slow and long on their delivery with unpredictable delivery dates. No one is responsible for the delivery requirements and there is a total lack of communication.
7
A day in the life of an Operations Tech.
8
I just like to see Green!
9
Which side are you on?
10
Developer Complaints
11
Operations Complaints
12
Enter DevOps
13
The DevOps Way
Typical Paradigms
Imaging / Packaging / Patching / Upgrades:
‒ Development standards often ignored – no enforcement
‒ Difficulties decoupling middleware/application upgrades from OS-related upgrades
‒ Building new images for new OS versions is usually approached by building and re-building from scratch
‒ This typically requires project initiation and implementation every time, with significant overhead costs.
16
The SUSE Approach
The SUSE Approach…
Software Und Systeme Entwicklung
“Software & Systems Development”
The SUSE Approach…
SUSE is more than just a Linux distribution!
The SUSE Approach…
SUSE design principles:
- Open Source & Open Development- APIs- Standards Based (protocols, languages, etc)- Enterprise Focus
Efficiency – Deployment Options
System Inspection “Machinery”
Various Output Format
Report
Your Project
KIWI
Develop.…...........Build.....................Test................Deploy
YaST / AutoYaST
Ahhhhhh...
Concept Leverage these components for developing, building, testing, integrating and managing hosts :
PACKAGE :Open Build Service - www.openbuildservice.org
BUILD :Kiwi/SUSE Studio - www.susestudio.com
TEST :openQA - openqa.opensuse.org/
DEPLOY : Virtual Workloads via SUSE OpenStack Cloud, VMware ESX, Cisco UCS, other image deployment mechanisms www.suse.com/products/suse-cloud/
MANAGE/MONITOR:SUSE Manager, Nagios www.suse.com/products/suse-manager/
24
SUSE (and other) Tools
SUSE ComponentsPACKAGE :Open Build Service
• Web Client and a CLI (osc)
• Allows for simple package creation
• Upload sources with wget or via web client
• Import or copy source packages
• Add repositories
• Build packages locally or on source server
• Reporting
• Collaboration via branching/merging/review/commit - request tracking
• Version testing
openQA
Automated test infrastructure
Used by openSUSE® and SUSE® Linux Enterprise
Ability to test various code paths / installation options
Basic concepts: “jobs”, “needles” (png + json)
Output: log files, pictures, video
https://en.opensuse.org/openSUSE:OpenQA
Kiwi
• Developed and hosted by openSUSE
• Portal page: http://en.opensuse.org/Portal:KIWI
• Can create for multiple architectures
• Can create for multiple distributions
• Can be deployed to physical, virtual and cloud– vmdk, qcow2, vhd, ovf, raw, lxc, Docker
• Very flexible
• With flexibility comes complexity
How do I build it?The easy way ...
SUSE Studio
Two ways to get it:1. SUSE Studio Onsite
https://www.suse.com/products/susestudio/
2. SUSE Studio Online http://www.susestudio.com
Provides a simplified, web-based user interface for Kiwi
JeOSJust enough Operating SystemDifferent names for the same
“Core ...”
“Tiny ...”
“Minimal installation” (YaST®)
“JeOS” (SUSE Studio™)
Use Cases
Virtualization/Containers
Embedded Systems
Cloud
Modules: An Easier Way to Get New Enhancements
Easier access to the latest updates
Different lifecycles, ranging from continuous integration to three years
Fully maintained and supported
Included in subscription without additional cost
Modules: A Closer Look
Module Name Content Lifecycle
Web and Scripting Module
PHP, Python, Ruby on Rails 3 years, 18 months overlap
Legacy Module Sendmail, old IMAP stack, old Java, etc.
3 years
Public Cloud Module Public cloud initialization code and tools
Continuous integration
Toolchain Module GCC Yearly delivery
Advanced Systems Management Module
cfengine, puppet and the new machinery tool
Continuous integration
Containers Module Docker Continuous integration
32
33
How is it different?
Docker• Supported as of June 2015
• Runtime and infrastructure to create SLE Docker images
• YaST interface for Docker
Benefits using Docker• Fast: performance = bare metal speed
• Flexible: put a system or application into a container
• Ship Docker images, not VMs
Better integration and management of Containers• Uses libvirt-lxc framework
• Same management layer as KVM and XEN
• Allows for integration with SUSE® Manager and SUSE OpenStack Cloud
• Unified tooling, independent of the “virtualization” mechanism
SELinux and AppArmor support and LXC
Filesystem copy-on-write (btrfs integration)
Docker Containers
Advanced Systems Management Module – Machinery
SUSE OpenStack Cloud ArchitectureFoundation for Software Defined Data Centers
ContainersInfrastructure
as a ServiceBig
Data
001010110111110101110111101101011110
Platform as a Service
Operating System: SUSE Linux Enterprise Server
Physical Devices
Virtual Systems
Servers
Servers Storage
Storage
Network
Network
SUSE OpenStack Cloud Resource Orchestration
Public Cloud
36
SUSE Manager:Operating System Lifecycle Management
Gain control Optimize operationsEnable innovation
Lots more in-depth discussion of these tools this week!susecon.com/sessions.html