Skip to content

Commit

Permalink
Fix sharded MongoDB blueprint
Browse files Browse the repository at this point in the history
When we wrote the blueprint, we misplaced the bind_ip property and set
it on host type instead of the router, which caused validation to
fail. This commit makes blueprint pass the validation.

Note that blueprint will still fail to deploy properly, since MongoDB
cluster is not fully supported yet.

Change-Id: I4f0d6aceb42ff17b0a243d5331f97bf5646fc585
  • Loading branch information
Tadej Borovšak committed May 18, 2017
1 parent 6df4bb8 commit 65d72ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mongo/mongo-shard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ node_templates:

router_vm:
type: dice.hosts.ubuntu.Small
properties:
bind_ip: global
relationships:
- type: dice.relationships.ProtectedBy
target: mongo_fw
Expand All @@ -83,6 +81,8 @@ node_templates:

router:
type: dice.components.mongo.Router
properties:
bind_ip: global
relationships:
- type: dice.relationships.ContainedIn
target: router_vm
Expand Down

0 comments on commit 65d72ff

Please sign in to comment.