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

Deployment is not valid #265

@agoogli

Description

@agoogli

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions