Skip to content

Commit 65d72ff

Browse files
author
Tadej Borovšak
committed
Fix sharded MongoDB blueprint
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
1 parent 6df4bb8 commit 65d72ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mongo/mongo-shard.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ node_templates:
7373

7474
router_vm:
7575
type: dice.hosts.ubuntu.Small
76-
properties:
77-
bind_ip: global
7876
relationships:
7977
- type: dice.relationships.ProtectedBy
8078
target: mongo_fw
@@ -83,6 +81,8 @@ node_templates:
8381

8482
router:
8583
type: dice.components.mongo.Router
84+
properties:
85+
bind_ip: global
8686
relationships:
8787
- type: dice.relationships.ContainedIn
8888
target: router_vm

0 commit comments

Comments
 (0)