Rush has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/376439 )

Change subject: openstack: add nova-fullstack upstart template to openstack2
......................................................................


openstack: add nova-fullstack upstart template to openstack2

Bug: T171494
Change-Id: I99645ce781c99b9ea14c319a50b1f3bd53e34b44
---
A modules/openstack2/templates/initscripts/nova-fullstack.upstart.erb
1 file changed, 33 insertions(+), 0 deletions(-)

Approvals:
  Rush: Looks good to me, approved
  jenkins-bot: Verified



diff --git 
a/modules/openstack2/templates/initscripts/nova-fullstack.upstart.erb 
b/modules/openstack2/templates/initscripts/nova-fullstack.upstart.erb
new file mode 100644
index 0000000..a5ba920
--- /dev/null
+++ b/modules/openstack2/templates/initscripts/nova-fullstack.upstart.erb
@@ -0,0 +1,33 @@
+# nova-fullstack-otest
+
+description "test instance lifecycle (create/setup/delete)"
+author "Chase Pettet cpet...@wikimedia.org"
+
+# When to start the service
+start on runlevel [2345]
+
+# When to stop the service
+stop on runlevel [016]
+
+# respawn the job up to 10 times within a 5 second period.
+# If the job exceeds these values, it will be stopped and
+# marked as failed.
+respawn
+respawn limit 10 60
+
+script
+    export OS_USERNAME="osstackcanary"
+    export OS_PASSWORD="<%= @password %>"
+    /usr/local/sbin/nova-fullstack \
+                                       --ssh-timeout <%= @ssh_timeout %> \
+                                       --puppet-timeout <%= @puppet_timeout %> 
\
+                                       --creation-timeout <%= 
@creation_timeout %> \
+                                       --interval <%= @interval %> \
+                                       --max-pool <%= @max_pool %>  \
+                                       --project admin-monitoring \
+                                       --prepend fullstackd \
+                                       --image debian-8.9-jessie \
+                                       --flavor m1.small \
+                                       --keyfile <%= @keyfile %> \
+                                       --statsd statsd.eqiad.wmnet
+end script

-- 
To view, visit https://gerrit.wikimedia.org/r/376439
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I99645ce781c99b9ea14c319a50b1f3bd53e34b44
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Rush <r...@wikimedia.org>
Gerrit-Reviewer: Rush <r...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to