Open nebula is evolving paris techday 2015

19
Techday Paris 2015 @ IPPON Paris, France, July 8th © OpenNebula Project. Creative Commons Attribution-NonCommercial-ShareAlike License OpenNebula is Evolving… Fast! Jaime Melis 1

Transcript of Open nebula is evolving paris techday 2015

Page 1: Open nebula is evolving   paris techday 2015

Techday Paris 2015 @ IPPONParis, France, July 8th

© OpenNebula Project. Creative Commons Attribution-NonCommercial-ShareAlike License

OpenNebula is Evolving…Fast!

Jaime Melis

1

Page 2: Open nebula is evolving   paris techday 2015

Agenda

● OpenNebula 4.14● Disk and image snapshotting● Recovery mechanisms for VMs● Disk showback● GPU devices from a VM● Sunstone Refactor● Cloning of running VMs● Import running VMs● Migration of VM across Datastores● Cold Attach/Detach NIC and disk.● Image Resize

2

Page 3: Open nebula is evolving   paris techday 2015

3

Page 4: Open nebula is evolving   paris techday 2015

Great A'Tuin

the turtle comes, swimming slowly through the interstellar gulf, hydrogen frost on his ponderous limbs, his huge and ancient shell pocked with meteor craters. Through sea-sized eyes that are crusted with rheum and asteroid dust He stares fixedly at the Destination.

Terry Pratchett - The Colour of Magic

4

Page 5: Open nebula is evolving   paris techday 2015

OpenNebula 4.14

● Great A'Tuin

● Last one before 5.0

● Big Release (lots of changes)

● Compatibility Guide

● Beta end of July. Final release early September

5

Page 6: Open nebula is evolving   paris techday 2015

Disk and image snapshotting

● Disk snapshots are a new entity

● Create, Revert, Delete○ running, poweroff, suspended

● Subject to Quotas

● Monitor snapshot size

6

Page 7: Open nebula is evolving   paris techday 2015

Disk and image snapshotting

● Can be exported to a new image○ $ onevm disk-saveas

○ STATES: running, poweroff, suspended○ --deferred is deprecated

● Persistent images can have snapshots○ operations: flatten, revert, delete

● 3 implementations: Ceph, FS (plain files) and Qcow2,

7

Page 8: Open nebula is evolving   paris techday 2015

Disk Showback

● OpenNebula <= 4.12○ CPU_COST○ MEMORY_COST

● New DISK_COST is introduced

● It's a MB/hour metric

● Defined in the template

8

Page 9: Open nebula is evolving   paris techday 2015

Recovery mechanisms for VMs

● OpenNebula is much more recoverable

● Any state can now be recovered○ --success

○ --failure

○ --retry

○ --interactive

● FAILED state is now:BOOT_FAILURE, PROLOG_MIGRATE_POWEROFF_FAILURE, etc...

9

Page 10: Open nebula is evolving   paris techday 2015

GPU Devices

● GPUs discovered by the monitorization probes

● Can be added to a template

● Passthrough to the VM

● Subject to Quotas

10

Page 11: Open nebula is evolving   paris techday 2015

Sunstone Rewrite

● Modularization● Templates System

$ git diff --stat release-4.12 master src/sunstone | tail -n1

823 files changed 273254 insertions(+), 201083 deletions(-)

11

Page 12: Open nebula is evolving   paris techday 2015

Sunstone Rewrite

Zones-tab.jsOpenNebula 4.12: 390 lines

Before...

more pages...

12

Page 13: Open nebula is evolving   paris techday 2015

Sunstone Rewrite

Zones-tab.jsOpenNebula 4.14: 36 lines

After...

more pages...

13

Page 14: Open nebula is evolving   paris techday 2015

Cloning of running VMs

Provides the ability to clone a VM along with its reference disks and networks.

$ onevm save <vmid> <name>

Clones the VM's source Template,

replacing the disks with live snapshots

of the current disks. The VM capacity and

NICs are also preserved

States: POWEROFF

14

Page 15: Open nebula is evolving   paris techday 2015

Import of Existing VMs

● KVM, Xen, AWS, Azure and vCenter● The monitoring probes detect wilds● wild VMs can be imported● The life-cycle can be managed

Limitations:● Delete --recreate● Undeploy (and Undeploy --hard)● Migrate (and Migrate --live)● Stop

15

Page 16: Open nebula is evolving   paris techday 2015

Migration of VMs datastores

The System datastore of a VM can be migrated.

$ onevm migrate <range|vmid_list>

<hostid> [<datastoreid>]

16

Page 17: Open nebula is evolving   paris techday 2015

Cold Attach / Detach of NICs and DISKS

These operations can now be executed in the POWEROFF state.

$ onevm disk-attach <vmid>

Attaches a disk to a running VM. When

using --file add only one

DISK instance.

States: RUNNING, POWEROFF

valid options: file, image, target,

cache, prefix

17

Page 18: Open nebula is evolving   paris techday 2015

Disk Resize

Possibility to resize the size of a VM disk when instantiating the VM.

This does not perform the resize within the Guest OS, it will only resize the container.

18

Page 19: Open nebula is evolving   paris techday 2015

Questions?We Will Be Happy to Answer any Question

Building your Enterprise-ready Cloud with OpenNebula

@opennebula

You are missing a lot if you do not upgrade!

19