nova compute #0
Description
OpenStack Compute, codenamed Nova, is a cloud computing fabric controller. In addition to its "native" API (the OpenStack API), it also supports the Amazon EC2 API.
- Tags:
- openstack ›
Overview
This charm provides Nova Compute, the Openstack compute service. It's target platform is Ubuntu (preferably LTS) + Openstack.
Usage
The following interfaces are provided:
-
cloud-compute - Used to relate (at least) with one or more of nova-cloud-controller, glance, ceph, cinder, mysql, ceilometer-agent, rabbitmq-server, neutron
-
nrpe-external-master - Used to generate Nagios checks.
Database
Nova compute only requires database access if using nova-network. If using Neutron, no direct database access is required and the shared-db relation need not be added.
Networking
This charm support nova-network (legacy) and Neutron networking.
Storage
This charm supports a number of different storage backends depending on your hypervisor type and storage relations.
Configuration
- (string) Only used when migration-auth-type is set to ssh. Full path to authorized_keys file, can be useful for systems with non default AuthorizedKeysFile location. It will be formatted using the following variables: homedir - user's home directory username - username
- {homedir}/.ssh/authorized_keys
- bridge-interface
- (string) Bridge interface to be configured
- br100
- bridge-ip
- (string) IP to be assigned to bridge interface
- 11.0.0.1
- bridge-netmask
- (string) Netmask to be assigned to bridge interface
- 255.255.255.0
- ceph-osd-replication-count
- (int) This value dictates the number of replicas ceph must make of any object it stores withing the nova rbd pool. Of course, this only applies if using Ceph as a backend store. Note that once the nova rbd pool has been created, changing this value will not have any effect (although it can be changed in ceph by manually configuring your ceph cluster).
- 3
- config-flags
- (string) Comma separated list of key=value config flags to be set in nova.conf.
- database
- (string) Database name
- nova
- database-user
- (string) Username for database access
- nova
- disable-neutron-security-groups
- (boolean) Disable neutron based security groups - setting this configuration option will override any settings configured via the nova-cloud-controller charm. . BE CAREFUL - this option allows you to disable all port level security within and OpenStack cloud.
- disk-cachemodes
- (string) Specific cachemodes to use for different disk types e.g: file=directsync,block=none
- enable-live-migration
- (boolean) Configure libvirt for live migration.
- enable-resize
- (boolean) Enable instance resizing, which requires that passwordless SSH access be setup between compute hosts.
- flat-interface
- (string) Network interface on which to build bridge
- eth1
- instances-path
- (string) Instance path to use - empty means default of /var/lib/nova/instances
- libvirt-image-backend
- (string) Tell Nova which libvirt image backend to use. Supported backends are rbd and lvm. If no backend is specified, the Nova default is used (probably qcow2).
- migration-auth-type
- (string) TCP authentication scheme for libvirt live migration. Available options include ssh.
- multi-host
- (string) Whether to run nova-api and nova-network on the compute nodes.
- yes
- nagios_context
- (string) Used by the nrpe-external-master subordinate charm. A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.
- juju
- nagios_servicegroups
- (string) A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup
- neutron-database
- (string) Database name for Neutron (if enabled)
- neutron
- neutron-database-user
- (string) Username for Neutron database access (if enabled)
- neutron
- nova-config
- (string) Full path to nova.conf
- /etc/nova/nova.conf
- openstack-origin
- (string) Repository from which to install. May be one of the following: distro (default), ppa:somecustom/ppa, a deb url sources entry, or a supported Cloud Archive release pocket. Supported Cloud Archive sources include: cloud:precise-folsom, cloud:precise-folsom/updates, cloud:precise-folsom/staging, cloud:precise-folsom/proposed. Note that updating this setting to a source that is known to provide a later version of OpenStack will trigger a software upgrade.
- distro
- os-data-network
- (string) The IP address and netmask of the OpenStack Data network (e.g., 192.168.0.0/24) . This network will be used for tenant network traffic in overlay networks.
- prefer-ipv6
- (boolean) If True enables IPv6 support. The charm will expect network interfaces to be configured with an IPv6 address. If set to False (default) IPv4 is expected. . NOTE: these charms do not currently support IPv6 privacy extension. In order for this charm to function correctly, the privacy extension must be disabled and a non-temporary address must be configured/available on your network interface.
- rabbit-user
- (string) Username used to access rabbitmq queue
- nova
- rabbit-vhost
- (string) Rabbitmq vhost
- openstack
- rbd-pool
- (string) RBD pool to use with Nova RBD image backend. Required when libvirt_image_backend is rbd.
- nova
- sysctl
- (string) YAML formatted associative array of sysctl values, e.g.: '{ kernel.pid_max : 4194303 }'
- use-syslog
- (boolean) By default, all services will log into their corresponding log files. Setting this to True will force all services to log to the syslog.
- virt-type
- (string) Virtualization flavor. Supported: kvm, xen, uml, lxc. qemu
- kvm