summaryrefslogtreecommitdiff
path: root/clusters/mason-openstack.def
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2014-11-19 16:09:07 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2014-11-19 16:09:07 +0000
commit53c7140bfe3317abeeaa85fc2f72cc8d9b052355 (patch)
tree7f02dd4c306b5619988b87b9a2a5cf28a5fcd02b /clusters/mason-openstack.def
parente3e0baf91a5f0e1bcd1fad06345bbe4ec88fad1d (diff)
downloaddefinitions-53c7140bfe3317abeeaa85fc2f72cc8d9b052355.tar.gz
After morph-converter.shbaserock/ps/simple-defs
Diffstat (limited to 'clusters/mason-openstack.def')
-rw-r--r--clusters/mason-openstack.def38
1 files changed, 38 insertions, 0 deletions
diff --git a/clusters/mason-openstack.def b/clusters/mason-openstack.def
new file mode 100644
index 00000000..90fe10a0
--- /dev/null
+++ b/clusters/mason-openstack.def
@@ -0,0 +1,38 @@
+name: openstack-mason
+description: |
+ This is a template cluster morphology that can be adapted to set up a
+ Mason. Masons are composed of a trove and a distbuild system.
+systems:
+- name: distbuild-system-x86_64-openstack
+ deploy-defaults:
+ ARTIFACT_CACHE_SERVER: example-cache-server
+ CONTROLLERHOST: controller-hostname
+ DISTBUILD_CONTROLLER: true
+ DISTBUILD_WORKER: true
+ INSTALL_FILES: distbuild/manifest
+ RAM_SIZE: 8G
+ TROVE_HOST: your-upstream-trove
+ TROVE_ID: your-upstream-trove-prefix
+ VCPUS: 2
+ WORKER_SSH_KEY: ssh-keys/worker.key
+ deploy:
+ mason-openstack:
+ type: openstack
+ location: openstack-auth-url (eg example.com:5000/v2.0)
+ DISK_SIZE: 6G
+ DISTBUILD_CONTROLLER: true
+ HOSTNAME: controller-hostname
+ MASON_CLUSTER_MORPHOLOGY: clusters/ci
+ MASON_DEFINITIONS_REF: master
+ MASON_DISTBUILD_ARCH: x86_64
+ MASON_TEST_HOST: user@openstack-auth-url
+ WORKERS: controller-hostname
+ OPENSTACK_AUTH_URL: openstack-auth-url
+ OPENSTACK_USER: baserock
+ OPENSTACK_TENANT: baserock
+ OPENSTACK_TENANT_ID: 7d7ebfe23367490b973a10fa426c3aec
+ OPENSTACK_IMAGENAME: mason-openstack
+ OPENSTACK_NETWORK_ID: 71f5151a-b7c3-405d-a841-d1b07e5db099
+ CLOUD_INIT: yes
+ KERNEL_ARGS: console=ttyS0 console=tty0
+ TEST_INFRASTRUCTURE_TYPE: openstack