Drop plugs for the time being until we have proper confinement - commented out of easier re-introduction
This commit is contained in:
parent
3529ff2786
commit
2129058ec0
247
snapcraft.yaml
247
snapcraft.yaml
@ -25,193 +25,193 @@ apps:
|
|||||||
# Openstack
|
# Openstack
|
||||||
openstack:
|
openstack:
|
||||||
command: openstack
|
command: openstack
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
|
|
||||||
# OpenStack Service Configuration
|
# OpenStack Service Configuration
|
||||||
configure:
|
configure:
|
||||||
command: configure-openstack
|
command: configure-openstack
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
|
|
||||||
# Keystone
|
# Keystone
|
||||||
keystone-uwsgi:
|
keystone-uwsgi:
|
||||||
command: snap-openstack keystone-uwsgi
|
command: snap-openstack keystone-uwsgi
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
keystone-manage:
|
keystone-manage:
|
||||||
command: snap-openstack keystone-manage
|
command: snap-openstack keystone-manage
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
|
|
||||||
# Nova
|
# Nova
|
||||||
nova-uwsgi:
|
nova-uwsgi:
|
||||||
command: snap-openstack nova-uwsgi
|
command: snap-openstack nova-uwsgi
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
nova-api:
|
nova-api:
|
||||||
command: snap-openstack nova-api-os-compute
|
command: snap-openstack nova-api-os-compute
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
nova-conductor:
|
nova-conductor:
|
||||||
command: snap-openstack nova-conductor
|
command: snap-openstack nova-conductor
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
nova-scheduler:
|
nova-scheduler:
|
||||||
command: snap-openstack nova-scheduler
|
command: snap-openstack nova-scheduler
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
nova-compute:
|
nova-compute:
|
||||||
command: snap-openstack nova-compute
|
command: snap-openstack nova-compute
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
- network-control
|
# - network-control
|
||||||
- firewall-control
|
# - firewall-control
|
||||||
- hardware-observe
|
# - hardware-observe
|
||||||
- libvirt
|
# - libvirt
|
||||||
- openvswitch
|
# - openvswitch
|
||||||
nova-api-metadata:
|
nova-api-metadata:
|
||||||
command: snap-openstack nova-api-metadata
|
command: snap-openstack nova-api-metadata
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
- firewall-control
|
# - firewall-control
|
||||||
nova-manage:
|
nova-manage:
|
||||||
command: snap-openstack nova-manage
|
command: snap-openstack nova-manage
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
|
|
||||||
# Neutron
|
# Neutron
|
||||||
neutron-api:
|
neutron-api:
|
||||||
command: snap-openstack neutron-server
|
command: snap-openstack neutron-server
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
neutron-openvswitch-agent:
|
neutron-openvswitch-agent:
|
||||||
command: snap-openstack neutron-openvswitch-agent
|
command: snap-openstack neutron-openvswitch-agent
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
- network-control
|
# - network-control
|
||||||
- network-observe
|
# - network-observe
|
||||||
- firewall-control
|
# - firewall-control
|
||||||
- process-control
|
# - process-control
|
||||||
- system-observe
|
# - system-observe
|
||||||
- openvswitch
|
# - openvswitch
|
||||||
neutron-l3-agent:
|
neutron-l3-agent:
|
||||||
command: snap-openstack neutron-l3-agent
|
command: snap-openstack neutron-l3-agent
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
- network-control
|
# - network-control
|
||||||
- network-observe
|
# - network-observe
|
||||||
- firewall-control
|
# - firewall-control
|
||||||
- process-control
|
# - process-control
|
||||||
- system-observe
|
# - system-observe
|
||||||
- openvswitch
|
# - openvswitch
|
||||||
neutron-dhcp-agent:
|
neutron-dhcp-agent:
|
||||||
command: snap-openstack neutron-dhcp-agent
|
command: snap-openstack neutron-dhcp-agent
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
- network-bind
|
# - network-bind
|
||||||
- network-control
|
# - network-control
|
||||||
- network-observe
|
# - network-observe
|
||||||
- process-control
|
# - process-control
|
||||||
- system-observe
|
# - system-observe
|
||||||
- openvswitch
|
# - openvswitch
|
||||||
neutron-metadata-agent:
|
neutron-metadata-agent:
|
||||||
command: snap-openstack neutron-metadata-agent
|
command: snap-openstack neutron-metadata-agent
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
- network-bind
|
# - network-bind
|
||||||
- network-control
|
# - network-control
|
||||||
neutron-ovs-cleanup:
|
neutron-ovs-cleanup:
|
||||||
command: snap-openstack neutron-ovs-cleanup
|
command: snap-openstack neutron-ovs-cleanup
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
- network-control
|
# - network-control
|
||||||
- openvswitch
|
# - openvswitch
|
||||||
neutron-netns-cleanup:
|
neutron-netns-cleanup:
|
||||||
command: snap-openstack neutron-netns-cleanup
|
command: snap-openstack neutron-netns-cleanup
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
- network-control
|
# - network-control
|
||||||
neutron-db-manage:
|
neutron-db-manage:
|
||||||
command: snap-openstack neutron-db-manage
|
command: snap-openstack neutron-db-manage
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
|
|
||||||
# Glance
|
# Glance
|
||||||
glance-api:
|
glance-api:
|
||||||
command: snap-openstack glance-api
|
command: snap-openstack glance-api
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
registry:
|
registry:
|
||||||
command: snap-openstack glance-registry
|
command: snap-openstack glance-registry
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
- network-bind
|
# - network-bind
|
||||||
glance-manage:
|
glance-manage:
|
||||||
command: snap-openstack glance-manage
|
command: snap-openstack glance-manage
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
|
|
||||||
# Openstack Shared Services
|
# Openstack Shared Services
|
||||||
nginx:
|
nginx:
|
||||||
command: snap-openstack nginx
|
command: snap-openstack nginx
|
||||||
daemon: forking
|
daemon: forking
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
|
|
||||||
# Openvswitch
|
# Openvswitch
|
||||||
ovs-vswitchd:
|
ovs-vswitchd:
|
||||||
command: ovs-wrapper $SNAP/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server --no-monitor --system-id=random start
|
command: ovs-wrapper $SNAP/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server --no-monitor --system-id=random start
|
||||||
stop-command: ovs-wrapper $SNAP/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop
|
stop-command: ovs-wrapper $SNAP/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop
|
||||||
daemon: forking
|
daemon: forking
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
- network-bind
|
# - network-bind
|
||||||
- network-control
|
# - network-control
|
||||||
- openvswitch-support
|
# - openvswitch-support
|
||||||
- process-control
|
# - process-control
|
||||||
- system-trace
|
# - system-trace
|
||||||
ovsdb-server:
|
ovsdb-server:
|
||||||
command: ovs-wrapper $SNAP/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd --no-monitor --system-id=random start
|
command: ovs-wrapper $SNAP/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd --no-monitor --system-id=random start
|
||||||
stop-command: ovs-wrapper $SNAP/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd stop
|
stop-command: ovs-wrapper $SNAP/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd stop
|
||||||
daemon: forking
|
daemon: forking
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
- network-bind
|
# - network-bind
|
||||||
- network-control
|
# - network-control
|
||||||
- openvswitch-support
|
# - openvswitch-support
|
||||||
- process-control
|
# - process-control
|
||||||
- system-trace
|
# - system-trace
|
||||||
ovs-vsctl:
|
ovs-vsctl:
|
||||||
command: ovs-wrapper $SNAP/bin/ovs-vsctl
|
command: ovs-wrapper $SNAP/bin/ovs-vsctl
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
ovs-appctl:
|
ovs-appctl:
|
||||||
command: ovs-wrapper $SNAP/bin/ovs-appctl
|
command: ovs-wrapper $SNAP/bin/ovs-appctl
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
ovs-ofctl:
|
ovs-ofctl:
|
||||||
command: ovs-wrapper $SNAP/bin/ovs-ofctl
|
command: ovs-wrapper $SNAP/bin/ovs-ofctl
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
ovs-dpctl:
|
ovs-dpctl:
|
||||||
command: ovs-wrapper $SNAP/bin/ovs-dpctl
|
command: ovs-wrapper $SNAP/bin/ovs-dpctl
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
|
|
||||||
# Libvirt/Qemu
|
# Libvirt/Qemu
|
||||||
libvirtd:
|
libvirtd:
|
||||||
@ -222,33 +222,32 @@ apps:
|
|||||||
virsh:
|
virsh:
|
||||||
command: virsh
|
command: virsh
|
||||||
|
|
||||||
# MySQL
|
|
||||||
# MySQL
|
# MySQL
|
||||||
mysqld:
|
mysqld:
|
||||||
command: mysql-start-server
|
command: mysql-start-server
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- process-control
|
# - process-control
|
||||||
- network
|
# - network
|
||||||
- network-bind
|
# - network-bind
|
||||||
mysql:
|
mysql:
|
||||||
command: mysql-start-client
|
command: mysql-start-client
|
||||||
plugs:
|
# plugs:
|
||||||
- process-control
|
# - process-control
|
||||||
- network
|
# - network
|
||||||
|
|
||||||
# RabbitMQ
|
# RabbitMQ
|
||||||
rabbitmq-server:
|
rabbitmq-server:
|
||||||
command: rabbitmq-server
|
command: rabbitmq-server
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
environment:
|
environment:
|
||||||
HOME: $SNAP_COMMON/lib/rabbitmq
|
HOME: $SNAP_COMMON/lib/rabbitmq
|
||||||
rabbitmqctl:
|
rabbitmqctl:
|
||||||
command: rabbitmqctl
|
command: rabbitmqctl
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
environment:
|
environment:
|
||||||
HOME: $SNAP_COMMON/lib/rabbitmq
|
HOME: $SNAP_COMMON/lib/rabbitmq
|
||||||
rabbitmq-plugins:
|
rabbitmq-plugins:
|
||||||
@ -260,41 +259,41 @@ apps:
|
|||||||
memcached:
|
memcached:
|
||||||
command: memcached -u root -v
|
command: memcached -u root -v
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
|
|
||||||
# Cinder
|
# Cinder
|
||||||
cinder-uwsgi:
|
cinder-uwsgi:
|
||||||
command: snap-openstack cinder-uwsgi
|
command: snap-openstack cinder-uwsgi
|
||||||
# daemon: simple
|
# daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
cinder-backup:
|
cinder-backup:
|
||||||
command: snap-openstack cinder-backup
|
command: snap-openstack cinder-backup
|
||||||
# daemon: simple
|
# daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
cinder-manage:
|
cinder-manage:
|
||||||
command: snap-openstack cinder-manage
|
command: snap-openstack cinder-manage
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
cinder-scheduler:
|
cinder-scheduler:
|
||||||
command: snap-openstack cinder-scheduler
|
command: snap-openstack cinder-scheduler
|
||||||
# daemon: simple
|
# daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
cinder-volume:
|
cinder-volume:
|
||||||
command: snap-openstack cinder-volume
|
command: snap-openstack cinder-volume
|
||||||
# daemon: simple
|
# daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network
|
# - network
|
||||||
|
|
||||||
# Horizon
|
# Horizon
|
||||||
horizon-uwsgi:
|
horizon-uwsgi:
|
||||||
command: snap-openstack horizon-uwsgi
|
command: snap-openstack horizon-uwsgi
|
||||||
daemon: simple
|
daemon: simple
|
||||||
plugs:
|
# plugs:
|
||||||
- network-bind
|
# - network-bind
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
# OpenStack Python Projects, keyed off Keystone
|
# OpenStack Python Projects, keyed off Keystone
|
||||||
|
Loading…
Reference in New Issue
Block a user