aboutsummaryrefslogtreecommitdiffstats
path: root/swift-source.yaml
diff options
context:
space:
mode:
authorDerek Higgins <derekh@redhat.com>2013-11-11 20:42:46 +0000
committerDerek Higgins <derekh@redhat.com>2013-11-18 13:34:44 +0000
commit378783f876e10b88becdcd1eb0d0d24fd45e7a80 (patch)
tree1fbebc1d0ffedb44fa19f3b59dea40d238e3af56 /swift-source.yaml
parentdea5f2faacb4c051c77d84959233101fa119919b (diff)
Add metadata to configure swift
o Adds the required swift metadata (in swift-source.yaml). o Sets up glance to use the swift backend on the overcloud. o Sets up glance to use the file backend on the undercloud and seed, i.e. maintain the Status quo. Change-Id: I4a70ffbf9c51f1fea5cfc84d8718d3d30d36b3f2
Diffstat (limited to 'swift-source.yaml')
-rw-r--r--swift-source.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/swift-source.yaml b/swift-source.yaml
new file mode 100644
index 00000000..a982d2f4
--- /dev/null
+++ b/swift-source.yaml
@@ -0,0 +1,35 @@
+Description: 'Swift-common: Openstack object storage common configurations'
+Parameters:
+ SwiftHashSuffix:
+ Default: unset
+ Description: A random string to be used as a salt when hashing to determine mappings in the ring.
+ Type: String
+ NoEcho: true
+ SwiftPassword:
+ Default: unset
+ Description: The password for the swift service account, used by the swift proxy services.
+ Type: String
+ NoEcho: true
+Resources:
+ notcomputeConfig:
+ Type: AWS::AutoScaling::LaunchConfiguration
+ Metadata:
+ swift:
+ devices:
+ Fn::Join:
+ - ''
+ - - 'r1z1-'
+ - Fn::Select:
+ - 0
+ - Fn::Select:
+ - 'ctlplane'
+ - Fn::GetAtt:
+ - notcompute
+ - networks
+ - ':%PORT%/d1'
+ hash:
+ Ref: SwiftHashSuffix
+ part-power: 10
+ replicas: 1
+ service-password:
+ Ref: SwiftPassword