summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2015-11-25 15:35:22 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2015-11-25 15:35:22 -0600
commitccae91d723835c188cbef160b1057706dd870ea8 (patch)
tree12aabe90023fa53daa75c5c884bec418df5fc9bd
parentfbb631733aec9f7d7e9e125a5a3978e1defa370d (diff)
modified the bundle to include the ceph and cinder changes.
added ceph to use the single size of minimum. Author: Narinder Gupta <narinder.gupta@canonical.com> Change-Id: I81cd7e80667759969fa511a1879b3201ca94c87d Conflicts: ci/odl/juju-deployer/scripts/openstack.sh
-rw-r--r--ci/odl/juju-deployer/ovs-odl-ha.yaml12
-rwxr-xr-xci/odl/juju-deployer/scripts/openstack.sh5
2 files changed, 12 insertions, 5 deletions
diff --git a/ci/odl/juju-deployer/ovs-odl-ha.yaml b/ci/odl/juju-deployer/ovs-odl-ha.yaml
index b4811ec1..2eb81445 100644
--- a/ci/odl/juju-deployer/ovs-odl-ha.yaml
+++ b/ci/odl/juju-deployer/ovs-odl-ha.yaml
@@ -85,7 +85,7 @@ openstack-phase2:
to:
- "lxc:nodes-api=0"
ceph:
- charm: cs:trusty/ceph
+ charm: :trusty/ceph
num_units: 1
options:
fsid: 5a791d94-980b-11e4-b6f6-3c970e8b1cf7
@@ -115,20 +115,20 @@ openstack-phase2:
# - "lxc:nodes-api=0"
cinder:
charm: cs:trusty/cinder
- num_units: 1
+ num_units: 3
options:
block-device: None
glance-api-version: 2
# ha-mcastport: 5401
to:
- "lxc:nodes-api=0"
+ - "lxc:nodes-api=1"
+ - "lxc:nodes-api=2"
cinder-ceph:
charm: cs:trusty/cinder-ceph
"rabbitmq-server":
branch: lp:charms/trusty/rabbitmq-server
num_units: 3
- options:
- ceph-osd-replication-count: 1
to:
- "lxc:nodes-api=0"
- "lxc:nodes-api=1"
@@ -214,7 +214,6 @@ openstack-phase2:
branch: lp:charms/trusty/glance
num_units: 3
options:
- ceph-osd-replication-count: 1
vip: 10.4.1.12
# ha-mcastport: 5402
to:
@@ -339,6 +338,7 @@ trusty-liberty:
source: "cloud:trusty-liberty"
"openstack-origin": "cloud:trusty-liberty"
series: trusty
+ ceph-osd-replication-count: 1
trusty-kilo-nodes:
inherits: openstack-phase1
@@ -354,6 +354,7 @@ trusty-kilo:
source: "cloud:trusty-kilo"
"openstack-origin": "cloud:trusty-kilo"
series: trusty
+ ceph-osd-replication-count: 1
trusty-juno-nodes:
@@ -370,5 +371,6 @@ trusty-juno:
source: "cloud:trusty-juno"
"openstack-origin": "cloud:trusty-juno"
series: trusty
+ ceph-osd-replication-count: 1
diff --git a/ci/odl/juju-deployer/scripts/openstack.sh b/ci/odl/juju-deployer/scripts/openstack.sh
index 93daa908..77f97723 100755
--- a/ci/odl/juju-deployer/scripts/openstack.sh
+++ b/ci/odl/juju-deployer/scripts/openstack.sh
@@ -21,8 +21,13 @@ unitMachine()
juju status | python -c "import yaml; import sys; print yaml.load(sys.stdin)[\"services\"][\"$1\"][\"units\"][\"$1/$2\"][\"machine\"]" 2> /dev/null
}
+<<<<<<< HEAD
juju run --service ceph 'sudo ceph osd pool set cinder-ceph size 1'
juju run --service ceph 'sudo ceph osd pool set cinder-ceph min_size 1'
+=======
+#juju run --service ceph 'sudo ceph osd pool set cinder-ceph size 1'
+#juju run --service ceph 'sudo ceph osd pool set cinder-ceph min_size 1'
+>>>>>>> 69227d1... modified the bundle to include the ceph and cinder changes.
mkdir -m 0700 -p cloud
controller_address=$(unitAddress keystone 0)