Puppet Class: hypervisor

Inherits:
cloud::params show all
Defined in:
manifests/compute/hypervisor.pp

Overview

Copyright (C) 2014 eNovance SAS <licensing@enovance.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Class: cloud::compute::hypervisor

Hypervisor Compute node

Parameters:

server_proxyclient_address

(optional) The IP address of the server running the console proxy client Defaults to '127.0.0.1'

libvirt_type

(optional) Libvirt domain type. Options are: kvm, lxc, qemu, uml, xen Replaces libvirt_type Defaults to 'kvm'

ks_nova_public_proto

(optional) Protocol used to connect to API. Could be 'http' or 'https'. Defaults to 'http'

ks_nova_public_host

(optional) Public Hostname or IP to connect to Nova API Defaults to '127.0.0.1'

nova_ssh_public_key

(optional) Install public key in .ssh/authorized_keys for the 'nova' user. Note: this parameter use the 'content' provider of Puppet, in consequence you must provide the entire ssh public key in this parameter. Defaults to undef

nova_ssh_private_key

(optional) Install private key into .ssh/id_rsa. Note: this parameter use the 'content' provider of Puppet, in consequence you must provide the entire ssh privatekey in this parameter. Defaults to undef

console

(optional) Nova's console type (spice or novnc) Defaults to 'novnc'

novnc_port

(optional) TCP port to connect to Nova vncproxy service. Defaults to '6080'

spice_port

(optional) TCP port to connect to Nova spicehtmlproxy service. Defaults to '6082'

cinder_rbd_user

(optional) The RADOS client name for accessing rbd volumes. Defaults to 'cinder'

nova_rbd_pool

(optional) The RADOS pool in which rbd volumes are stored. Defaults to 'vms'

nova_rbd_secret_uuid

(optional) The libvirt uuid of the secret for the cinder_rbd_user. Defaults to undef

vm_rbd

(optional) Enable or not ceph capabilities on compute node to store nova instances on ceph storage. Default to false.

volume_rbd

(optional) Enable or not ceph capabilities on compute node to attach cinder volumes backend by ceph on nova instances. Default to false.

manage_tso

(optional) Allow to manage or not TSO issue. Default to true.

nfs_enabled

(optional) Store (or not) instances on a NFS share. Defaults to false

nfs_device

(optional) NFS device to mount Example: 'nfs.example.com:/vol1' Required when nfs_enabled is at true. Defaults to false

nfs_options

(optional) NFS mount options Example: 'nfsvers=3,noacl' Defaults to 'defaults'

filesystem_store_datadir

(optional) Full path of data directory to store the instances. Don't modify this parameter if you don't know what you do. You may have side effects (SElinux for example). Defaults to '/var/lib/nova/instances'

nova_shell

(optional) Full path of shell to run for nova user. To disable live migration & resize, set it to '/bin/nologin' or false. Otherwise, set the value to '/bin/bash'. Need to be a valid shell path. Defaults to false

ks_console_public_proto

(optional) Protocol used to connect to console service. Defaults to false (use nova_public_proto)

ks_console_public_host

(optional) Hostname or IP used to connect to console service. Defaults to false (use nova_public_host)

include_vswitch

(optional) Should the class cloud::network::vswitch should be included. Defaults to true

firewall_settings

(optional) Allow to add custom parameters to firewall rules Should be an hash. Default to {}

Parameter Summary