summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-14 11:08:55 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-04-14 15:26:43 +0000
commit3a2133e91b6567c87dc9444536cd3c3b2b4ccc37 (patch)
tree193b5ca1975e723401e868c4fbf1c04cae407ada
parent8720e653b6152c570b6bc148b16809bd17131bfa (diff)
downloaddefinitions-3a2133e91b6567c87dc9444536cd3c3b2b4ccc37.tar.gz
nova: Add services needed for nova
Change-Id: I80751b2a776feeb7f45670263fb06fbdec58bd1a
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-api.service12
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-cert.service12
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-compute.service13
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-conductor.service13
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-consoleauth.service12
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-novncproxy.service12
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-scheduler.service12
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-serialproxy.service12
-rw-r--r--openstack/usr/lib/systemd/system/openstack-nova-setup.service9
9 files changed, 107 insertions, 0 deletions
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-api.service b/openstack/usr/lib/systemd/system/openstack-nova-api.service
new file mode 100644
index 00000000..8ee9cefa
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-nova-api.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=OpenStack Compute Service (code-named Nova) API server
+After=syslog.target network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=nova
+ExecStart=/usr/bin/nova-api --config-file /etc/nova/nova.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-cert.service b/openstack/usr/lib/systemd/system/openstack-nova-cert.service
new file mode 100644
index 00000000..b2a2e1cc
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-nova-cert.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=OpenStack Nova Cert
+After=syslog.target network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=nova
+ExecStart=/usr/bin/nova-cert --config-file /etc/nova/nova.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-compute.service b/openstack/usr/lib/systemd/system/openstack-nova-compute.service
new file mode 100644
index 00000000..95a3a872
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-nova-compute.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=OpenStack Compute Service (code-named Nova) compute server
+After=syslog.target network-online.target libvirtd.service
+Wants=network-online.target
+Requires=libvirtd.service
+
+[Service]
+Type=simple
+User=nova
+ExecStart=/usr/bin/nova-compute --config-file /etc/nova/nova.conf --config-file /etc/nova/nova-compute.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-conductor.service b/openstack/usr/lib/systemd/system/openstack-nova-conductor.service
new file mode 100644
index 00000000..1d2ece69
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-nova-conductor.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Database-access support for Compute nodes (nova-conductor)
+After=syslog.target network-online.target libvirtd.service
+Wants=network-online.target
+Requires=libvirtd.service
+
+[Service]
+Type=simple
+User=nova
+ExecStart=/usr/bin/nova-conductor --config-file /etc/nova/nova.conf --logfile /var/log/nova/conductor.log
+
+[Install]
+WantedBy=multi-user.target
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-consoleauth.service b/openstack/usr/lib/systemd/system/openstack-nova-consoleauth.service
new file mode 100644
index 00000000..66442d11
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-nova-consoleauth.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Openstack Console Auth (nova-consoleauth)
+After=syslog.target network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=nova
+ExecStart=/usr/bin/nova-consoleauth --config-file /etc/nova/nova.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-novncproxy.service b/openstack/usr/lib/systemd/system/openstack-nova-novncproxy.service
new file mode 100644
index 00000000..597f357a
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-nova-novncproxy.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=OpenStack Nova NoVNC proxy
+After=syslog.target network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=nova
+ExecStart=/usr/bin/nova-novncproxy --config-file /etc/nova/nova.conf --web /usr/share/novnc
+
+[Install]
+WantedBy=multi-user.target
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-scheduler.service b/openstack/usr/lib/systemd/system/openstack-nova-scheduler.service
new file mode 100644
index 00000000..d317b624
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-nova-scheduler.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=OpenStack Nova Scheduler
+After=syslog.target network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=nova
+ExecStart=/usr/bin/nova-scheduler --config-file /etc/nova/nova.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-serialproxy.service b/openstack/usr/lib/systemd/system/openstack-nova-serialproxy.service
new file mode 100644
index 00000000..2d95c1fa
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-nova-serialproxy.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=OpenStack Nova Serial Proxy
+After=syslog.target network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+User=nova
+ExecStart=/usr/bin/nova-serialproxy --config-file /etc/nova/nova.conf
+
+[Install]
+WantedBy=multi-user.target
diff --git a/openstack/usr/lib/systemd/system/openstack-nova-setup.service b/openstack/usr/lib/systemd/system/openstack-nova-setup.service
new file mode 100644
index 00000000..a4ad6ae7
--- /dev/null
+++ b/openstack/usr/lib/systemd/system/openstack-nova-setup.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Run nova-setup Ansible scripts
+After=local-fs.target libvirtd.service openstack-keystone-setup.service postgres-server.service
+
+[Service]
+ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/nova.yml
+
+[Install]
+WantedBy=multi-user.target