1388b583b5
Classic confinement allows the snap to behave like a traditionally packaged application with full access to the system, and enables the use of traditional directories such as /etc and /var/log. We will continue to store all of the snap's files in $SNAP* directories. This enables the snap to cleanup after itself if it is removed. However, traditional directory locations are symlinked to their corresponding $SNAP* directories. For example, nova configs are installed in $SNAP_COMMON/etc/nova which has a symlink at /etc/nova. The nova apps then use the traditional directories when running commands and services. Change-Id: Ie21c66007a37b90ac3bca042505bad332fa76543
70 lines
1.6 KiB
YAML
70 lines
1.6 KiB
YAML
name: nova
|
|
version: ocata
|
|
summary: OpenStack Compute Service (nova)
|
|
description: |
|
|
OpenStack Nova provides a cloud computing fabric controller,
|
|
supporting a wide variety of compute technologies, including
|
|
.
|
|
libvirt (KVM, Xen, LXC and more),
|
|
LXD
|
|
Hyper-V
|
|
VMware
|
|
XenServer
|
|
OpenStack Ironic.
|
|
.
|
|
This snap provides the Nova controller component of an OpenStack
|
|
deployment.
|
|
confinement: classic
|
|
grade: devel
|
|
|
|
environment:
|
|
PATH: $PATH:$SNAP/bin/
|
|
|
|
apps:
|
|
api:
|
|
command: snap-openstack nova-api-os-compute
|
|
daemon: simple
|
|
conductor:
|
|
command: snap-openstack nova-conductor
|
|
daemon: simple
|
|
scheduler:
|
|
command: snap-openstack nova-scheduler
|
|
daemon: simple
|
|
consoleauth:
|
|
command: snap-openstack nova-consoleauth
|
|
daemon: simple
|
|
manage:
|
|
command: snap-openstack nova-manage
|
|
aliases:
|
|
- nova-manage
|
|
parts:
|
|
nova:
|
|
plugin: python
|
|
python-version: python2
|
|
source: http://tarballs.openstack.org/nova/nova-master.tar.gz
|
|
python-packages:
|
|
- pymysql
|
|
- python-memcached
|
|
- git+https://github.com/openstack/snap.openstack#egg=snap.openstack
|
|
constraints: https://raw.githubusercontent.com/openstack/requirements/master/upper-constraints.txt
|
|
build-packages:
|
|
- gcc
|
|
- libffi-dev
|
|
- libssl-dev
|
|
templates:
|
|
after: [nova]
|
|
plugin: dump
|
|
source: snap
|
|
config:
|
|
after: [nova]
|
|
plugin: dump
|
|
source: http://tarballs.openstack.org/nova/nova-master.tar.gz
|
|
filesets:
|
|
etc:
|
|
- etc/nova/*.conf
|
|
- etc/nova/*.ini
|
|
- etc/nova/*.json
|
|
- etc/nova/rootwrap.d
|
|
stage: [$etc]
|
|
snap: [$etc]
|