Coder Social home page Coder Social logo

inktank-training-vms's Introduction

Ceph training vms

Welcome. For documentation on how to actually use the virtual machines, please refer to your training material. This file is mostly concerned with creating and updating the images.

How to build & publish images

To build the images, run:

./run

and hope for the best. The full toolchain required is not well documented, at this point.

To upload, you need to have a properly-configured botosh with a service named train configured, pointing to DreamObjects bucket inktank-training-vms, see http://objects.dreamhost.com/inktank-training-vms/index.html . To perform the upload, run:

./upload

There is no versioning on the images themselves, currently. Don't make a mess.

Details about the virtualization

File formats

OVF is a standard interchange format for virtual machines, and collections of virtual machines.

OVA is essentially a tarball of the OVF and the disk images. It is meant to simplify downloading the images, but does not seem to be as widely supported.

The list of VMDK image subtypes was hard to find, so archiving here: http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.OvfManager.CreateImportSpecParams.DiskProvisioningType.html

Hypervisor support

The images have been testd on VirtualBox on Linux. They are expected to work on all VirtualBox platforms.

VMWare's commercial offerings are expected to import the OVA/OVF without problems. With VMWare Player, there are conflicting reports, see http://superuser.com/questions/81129/running-ovf-on-vmware-player for more. Also see http://askubuntu.com/questions/153486/how-do-i-boot-ubuntu-cloud-images-in-vmware .

You should be able to get the disk images to work with KVM/QEmu or libvirt, but we are not aware of any OVF support, so you'll need to define the virtual machines manually.

Workarounds

  • VirtualBox does not support OVF Environments, so we can't configure cloud-init that way -> manually provide a disk image to configure the vm
  • don't know what ovf:format to use for an ISO image -> use VFAT for cloud-init configuration image
  • VirtualBox does not seem to support CoW parent images, when importing an OVF -> refer to the same File from multiple Disks
  • referring to the same File from multiple Disks seems to break VirtualBox's OVA support -> for VirtualBox, download all the other files, except for the *.ova [1]
  • VirtualBox does not seem to support blank disks, when importing an OVF -> need to include dummy VMDKs, even for empty disks
  • VMDK support in QEmu/VirtualBox is quite buggy, yet it seems to be the one disk image format supported by all platforms -> jump through hoops with qemu-img and vboxmanage clonehd, to get the VMDKs into streamOptimized format. [2]
  • VirtualBox has trouble verifying the manifests, this may be related to the CoW workarounds -> hope your downloads work right
[1]https://www.virtualbox.org/ticket/10689
[2]https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1006655

inktank-training-vms's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.