Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Deployment is not valid #265

Open
alessioguglielmo opened this issue Oct 8, 2014 · 0 comments
Open

Deployment is not valid #265

alessioguglielmo opened this issue Oct 8, 2014 · 0 comments

Comments

@alessioguglielmo
Copy link

I've executed json file at

https://github.com/openshift/geard/blob/master/deployment/fixtures/mongo_deploy_existing.json

and I've got an error:

==> Deploying complesso.json
Deployment is not valid: No locator available for this instance (can't resolve from %!s(*string=0xc210088820))

Here my code:
(192.168.56.101 and 192.168.56.102 are two vm instances on my virtualbox that i can ping and access with ssh regularly). Which i would implement is an container orchestration system across multiple hosts.

{
"Containers": [
{
"Name": "db",
"Image": "openshift/ubuntu-mongodb-cluster",
"PublicPorts": [
{
"Internal": 27017
}
],
"Links": [
{
"To": "db",
"NonLocal": true,
"MatchPort": true
}
],
"Count": 2
}
],
"Instances": [
{
"Id": "db-1",
"Image": "openshift/ubuntu-mongodb-cluster",
"From": "db",
"On": "localhost",
"Ports": [
{
"Internal": 27017,
"External": 4203,
"Target": {
"Host": "192.168.56.101",
"Port": 27017
}
}
]
},
{
"Id": "db-2",
"Image": "openshift/ubuntu-mongodb-cluster",
"From": "db",
"On": "localhost",
"Ports": [
{
"Internal": 27017,
"External": 4204,
"Target": {
"Host": "192.168.56.102",
"Port": 27017
}
}
]
}
],
"IdPrefix": "dbb",
"RandomizeIds": false
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant