summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-17 08:25:47 (GMT)
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-03-18 10:00:30 (GMT)
commitffee6f8a10f2f49315a14f45ad487145348e28e4 (patch)
tree69f5c9e0075307ec1afaee41e1637b1bb3a8c177
parent6cf3bb73f61511d99e20a26950e65094572c81f8 (diff)
downloaddefinitions-baserock/richardipsum/openstack-swift-act-I.tar.gz
Add cluster options for deploying swiftbaserock/richardipsum/openstack-swift-act-I
-rw-r--r--clusters/openstack-cluster.morph45
1 files changed, 41 insertions, 4 deletions
diff --git a/clusters/openstack-cluster.morph b/clusters/openstack-cluster.morph
index 3e22074..f75e1c0 100644
--- a/clusters/openstack-cluster.morph
+++ b/clusters/openstack-cluster.morph
@@ -6,12 +6,49 @@ systems:
release:
type: rawdisk
location: baserock-xx-openstack-system-x86_64.img
- # type: kvm
- # location: kvm+ssh://franred@refinery.ducie.codethink.co.uk/franred-openstack-test/home/franred/openstack.img
- DISK_SIZE: 5G
- RAM_SIZE: 1G
+ DISK_SIZE: 10G
+ RAM_SIZE: 3G
VCPUS: 1
INSTALL_FILES: openstack/manifest
+
+ #########################################################################
+ ## Swift config options
+ #########################################################################
+ STACK_ID: swiftstack
+
+ # HOSTS_CONTROLLER may be omitted if a controller.<STACK_ID> hostname
+ # can be resolved to the ip of the controller node by local dns
+ HOSTS_CONTROLLER: 127.0.0.1 controller.swiftstack # note, the hostname must be suffixed with the STACK_ID
+
+ MANAGEMENT_INTERFACE_IP_ADDRESS: 127.0.0.1
+
+ SWIFT_ADMIN_URL: http://127.0.0.1:8080
+ SWIFT_ADMIN_PASSWORD: insecure
+
+ SWIFT_INTERNAL_URL: http://127.0.0.1:8080/v1/AUTH_%(tenant_id)s
+ SWIFT_PUBLIC_URL: http://127.0.0.1:8080/v1/AUTH_%(tenant_id)s
+
+ SWIFT_PART_POWER: 10
+ SWIFT_REPLICAS: 3
+ SWIFT_MIN_PART_HOURS: 1
+
+ SWIFT_STORAGE_DEVICES: [{ ip: 127.0.0.1, device: sdb, weight: 100 },
+ { ip: 127.0.0.1, device: sdc, weight: 100 },
+ { ip: 127.0.0.1, device: sdd, weight: 100 }]
+
+ SWIFT_HASH_PATH_PREFIX: 041fc210e4e1d333ce1d
+ SWIFT_HASH_PATH_SUFFIX: 4d6f5362a356dda7fb7d
+
+ SWIFT_CONTROLLER: True
+ SWIFT_STORAGE: True
+
+ FSTAB_SDB: /dev/sdb /srv/node/sdb xfs defaults,user,rw 0 0
+ FSTAB_SDC: /dev/sdc /srv/node/sdc xfs defaults,user,rw 0 0
+ FSTAB_SDD: /dev/sdd /srv/node/sdd xfs defaults,user,rw 0 0
+
+ ATTACH_DISKS: /dev/lvgroup/sdb:/dev/lvgroup/sdc:/dev/lvgroup/sdd
+ #########################################################################
+
HOSTNAME: onenode
RABBITMQ_HOST: onenode
RABBITMQ_PORT: 5672