diff options
author | Mark Doffman <mark.doffman@codethink.co.uk> | 2014-09-03 19:12:50 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-01-22 12:46:17 +0000 |
commit | e227227f9d87f1d6fa3fab6d469364a84cbdd863 (patch) | |
tree | e50e982fb6093bbd138610c9a6f05448c922bacc /openstack/etc/systemd | |
parent | 95c31140fced760a5f8c3392b86b54a117f1ac82 (diff) | |
download | definitions-e227227f9d87f1d6fa3fab6d469364a84cbdd863.tar.gz |
Openstack services strata and configuration.
Add a stratum for openstack services that includes all the core
openstack service code and daemons.
Add configuration files for keystone, glance, nova and nova-compute.
Add a system and cluster definition that builds an
image that runs keystone, glance and nova.
Diffstat (limited to 'openstack/etc/systemd')
6 files changed, 72 insertions, 0 deletions
diff --git a/openstack/etc/systemd/system/openstack-glance-api.service b/openstack/etc/systemd/system/openstack-glance-api.service new file mode 100644 index 00000000..7958f84c --- /dev/null +++ b/openstack/etc/systemd/system/openstack-glance-api.service @@ -0,0 +1,12 @@ +[Unit] +Description=OpenStack Image Service (code-named Glance) API server +After=syslog.target network.target + +[Service] +Type=simple +User=glance +ExecStart=/usr/bin/glance-api --config-file /etc/glance/glance-api.conf + +[Install] +WantedBy=multi-user.target + diff --git a/openstack/etc/systemd/system/openstack-glance-registry.service b/openstack/etc/systemd/system/openstack-glance-registry.service new file mode 100644 index 00000000..18a60ae1 --- /dev/null +++ b/openstack/etc/systemd/system/openstack-glance-registry.service @@ -0,0 +1,12 @@ +[Unit] +Description=OpenStack Image Service (code-named Glance) Registry server +After=syslog.target network.target + +[Service] +Type=simple +User=glance +ExecStart=/usr/bin/glance-registry --config-file /etc/glance/glance-registry.conf + +[Install] +WantedBy=multi-user.target + diff --git a/openstack/etc/systemd/system/openstack-glance-setup.service b/openstack/etc/systemd/system/openstack-glance-setup.service new file mode 100644 index 00000000..a3ff217b --- /dev/null +++ b/openstack/etc/systemd/system/openstack-glance-setup.service @@ -0,0 +1,12 @@ +[Unit] +Description=Run openstack-glance-setup (once) +Requires=local-fs.target +After=local-fs.target openstack-keystone-setup.service + +[Service] +Type=oneshot +ExecStart=/usr/share/openstack/openstack-glance-setup +Restart=no + +[Install] +WantedBy=multi-user.target diff --git a/openstack/etc/systemd/system/openstack-keystone-setup.service b/openstack/etc/systemd/system/openstack-keystone-setup.service new file mode 100644 index 00000000..88e3c32e --- /dev/null +++ b/openstack/etc/systemd/system/openstack-keystone-setup.service @@ -0,0 +1,12 @@ +[Unit] +Description=Run openstack-keystone-setup (once) +Requires=local-fs.target +After=local-fs.target + +[Service] +Type=oneshot +ExecStart=/usr/share/openstack/openstack-keystone-setup +Restart=no + +[Install] +WantedBy=multi-user.target diff --git a/openstack/etc/systemd/system/openstack-keystone.service b/openstack/etc/systemd/system/openstack-keystone.service new file mode 100644 index 00000000..82b2d078 --- /dev/null +++ b/openstack/etc/systemd/system/openstack-keystone.service @@ -0,0 +1,12 @@ +[Unit] +Description=OpenStack Identity Service (code-named Keystone) +After=syslog.target network.target + +[Service] +Type=notify +Restart=always +User=keystone +ExecStart=/usr/bin/keystone-all --config-file /etc/keystone/keystone.conf + +[Install] +WantedBy=multi-user.target diff --git a/openstack/etc/systemd/system/openstack-nova-setup.service b/openstack/etc/systemd/system/openstack-nova-setup.service new file mode 100644 index 00000000..20d56852 --- /dev/null +++ b/openstack/etc/systemd/system/openstack-nova-setup.service @@ -0,0 +1,12 @@ +[Unit] +Description=Run openstack-nova-setup (once) +Requires=local-fs.target +After=local-fs.target openstack-keystone-setup.service + +[Service] +Type=oneshot +ExecStart=/usr/share/openstack/openstack-nova-setup +Restart=no + +[Install] +WantedBy=multi-user.target |