Skip to content

marcoceppi/layer-openvim-compute

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Launches an openvim controller.

Preparation

When running with an LXD cloud, the openvim-compute nodes needs to have some devices added and be run with extra privileges. A quick-and-dirty way of accomplishing this is to edit the juju-default LXD profile:

lxc profile edit juju-default

change it to:

name: juju-default
config:
  boot.autostart: "true"
  security.nesting: "true"
  security.privileged: "true"
description: ""
devices:
  kvm:
    path: /dev/kvm
    type: unix-char
  tun:
    path: /dev/net/tun
    type: unix-char

Usage

juju deploy mysql
juju deploy openvim-controller
juju deploy openvim-compute
juju add-relation mysql openvim-controller
juju add-relation openvim-compute openvim-controller

Creating and starting a VM

The openvim-controller charm will create a default tenant, image, flavor, and networks, but you'll want to add your own VM when you're ready to deploy. This charm generates a basic VM yaml definition for you if you'd like to launch one quickly. First, ssh into your openvim-controller box:

juju ssh openvim-contrller/0 # may not be zero, find instance id with `juju status`.

Then create your VM and get its uuid:

/home/ubuntu/openmano/openvim/openvim vm-create /tmp/server.yaml

And finally start it:

/home/ubuntu/openmano/openvim/openvim vm-start <vm-uuid>

Contact Information

Rye Terrell rye.terrell@canonical.com George Kraft george.kraft@canonical.com

About

charm layer for openvim compute

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%