StackBuffet + GUTS: Dr Shunde Zhang, Aptira
-
Upload
openstack -
Category
Technology
-
view
538 -
download
0
Transcript of StackBuffet + GUTS: Dr Shunde Zhang, Aptira
StackBuffet and GUTS- the missing puzzle pieces in an
OpenStack private cloud
Dr Shunde Zhang, Senior Developer
StackBuffet: CI-as-a-Service
● CI-as-a-Service○ Local patches○ Distros are rigid○ Local CI too expensive/hard
Overview
● Build RPM/DEB packages from your source code● Test packages● Built-in repository (YUM or APT)● Multi-OS support (CentOS and Ubuntu)● Profiles
○ Virtualenv○ system lib (/usr/lib)○ docker image (future)
Features
Workflow
StackBuffet Dashboard
StackBuffet Worker
Repository Server
StackBuffet WorkerStackBuffet Worker
StackBuffet WorkerStackBuffet Worker
StackBuffet WorkerStackBuffet Worker
User’s Source Code (git)
Patches
Upstream Source (git)
Cloud
clone
apply
build
testupdate
User’s Clouduse VM
● Source code○ Git URL○ Gitref (tag, branch, commit ID)
● GPG sign● Release number
○ enable/disable auto-increase● Build log and history builds
○ Quota applied○ Default 20 history builds
Build your packages
● Automatic test○ Launch a VM ○ Install OpenStack using your packages○ Rally Certification Test (Integration test)○ Unit test in future version
● Reporting and troubleshooting○ Install log and test report available on StackBuffet
Test your packages
● Built-in Repository (APT, YUM)○ http://username.stackbuffet.com/repo_name
● Delete packages ● Help messages
○ How to configure this repository
Use your packages
● Create/delete repository○ Quota, default 1 repository
● Your subscription○ Start date○ End date
● Contact Info
System Setting
Job View
Files View
Setting View
● Hosted service○ Beta users are welcome○ https://aptira.com/stackbuffet/
Other information
GUTS: OpenStack Migration Service
“A workload migration engine designed to
automatically move workloads and virtual machines
between two virtualization/cloud platforms”
Overview
● Migrate VMs off your traditional virtualization platform onto OpenStack
● Migrate VMs between two OpenStack clouds○ in two geographically distributed datacenters○ during an upgrade
● Migrate VMs between two virtualization platforms/clouds○ if they are both supported by GUTS
Use Cases
● guts-api service○ Accepts and responds to end user migration API calls.○ Enforces some policies and initiates most orchestration activities, such as
starting migration processes.● guts-scheduler service
○ Takes a migration request from the queue and determines on which migration service host it runs.
○ Selects a migration node based on conversion space available on migration nodes.
● guts-migration service○ A workers daemon that creates and manages migration processes of
computing instances.
Components
Destination HypervisorsSource Hypervisors
Architecture
VMWare
OpenStack
Migration Node
Hyper - V
Keystone guts-api
guts-scheduler
VMWare
OpenStack
Hyper - V
guts-migrationguts-migration
guts-migration
1 3
2
guts-migration
disk.vhd disk.vm
dk
disk.qcow2
Features● Pluggable and distributed architecture.● Provides virtual machine, storage and network migrations.● Converts disk image formats based on hypervisor types.● Installs / uninstalls cloud specific tools like VMWare-Tools
and virtio tools.● Optimizes migration process by scheduling migration
operation to appropriate migration node.● Currently Guts supports VMWare, OpenStack as source
hypervisors and OpenStack as destination hypervisor.
Guts-Dashboard
● Horizon plugin extension which provides UI for guts workflow.
● Quickly bootstrapped with devstack
● More Drivers○ Hyper-V○ OpenVZ○ Xen○ AWS○ Google Cloud Platform
● More resource types○ Volume○ Network
Future Work
● Documents○ http://guts.readthedocs.io/en/latest/index.html
● Source Code○ https://github.com/aptira/guts
● Screencast○ https://asciinema.org/a/1nwd6vpvm93ajaik6xl9y834w
Links
More questions?
● Talk to us today● or go to https://aptira.com/contact/ and click “SALES
and GENERAL” to send us a message
Thank you!