StackBuffet + GUTS: Dr Shunde Zhang, Aptira

23
StackBuffet and GUTS - the missing puzzle pieces in an OpenStack private cloud Dr Shunde Zhang, Senior Developer

Transcript of StackBuffet + GUTS: Dr Shunde Zhang, Aptira

Page 1: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

StackBuffet and GUTS- the missing puzzle pieces in an

OpenStack private cloud

Dr Shunde Zhang, Senior Developer

Page 2: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

StackBuffet: CI-as-a-Service

Page 3: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

● CI-as-a-Service○ Local patches○ Distros are rigid○ Local CI too expensive/hard

Overview

Page 4: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

● 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

Page 5: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

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

Page 6: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

● 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

Page 7: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

● 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

Page 8: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

● Built-in Repository (APT, YUM)○ http://username.stackbuffet.com/repo_name

● Delete packages ● Help messages

○ How to configure this repository

Use your packages

Page 9: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

● Create/delete repository○ Quota, default 1 repository

● Your subscription○ Start date○ End date

● Contact Info

System Setting

Page 10: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

Job View

Page 11: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

Files View

Page 12: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

Setting View

Page 13: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

● Hosted service○ Beta users are welcome○ https://aptira.com/stackbuffet/

Other information

Page 14: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

GUTS: OpenStack Migration Service

Page 15: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

“A workload migration engine designed to

automatically move workloads and virtual machines

between two virtualization/cloud platforms”

Overview

Page 16: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

● 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

Page 17: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

● 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

Page 18: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

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

Page 19: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

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.

Page 20: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

Guts-Dashboard

● Horizon plugin extension which provides UI for guts workflow.

● Quickly bootstrapped with devstack

Page 21: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

● More Drivers○ Hyper-V○ OpenVZ○ Xen○ AWS○ Google Cloud Platform

● More resource types○ Volume○ Network

Future Work

Page 22: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

● Documents○ http://guts.readthedocs.io/en/latest/index.html

● Source Code○ https://github.com/aptira/guts

● Screencast○ https://asciinema.org/a/1nwd6vpvm93ajaik6xl9y834w

Links

Page 23: StackBuffet + GUTS: Dr Shunde Zhang, Aptira

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!