Closed csrwng closed 7 years ago
@jorgemoralespou I created a PR from your branch so I can comment on your changes
Here is my mounts-template.json:
{
"bindMounts": [
{
"imagePattern": "(openshift/origin$)|(openshift/origin:.*)",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/origin-deployer.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/origin-recycler.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/origin-docker-builder.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/origin-sti-builder.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/origin-f5-router.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
{
"imagePattern": "openshift/node.*",
"mounts": [
{
"source": "$OPENSHIFT_BINARY",
"destination": "/usr/bin/openshift"
}
]
},
]
}
I get this on RHEL...
Running in developer mode, using DOCKER_HOST=tcp://172.17.0.1:2375
/root/oc-cluster-wrapper/oc-cluster: line 526: DOCKER_HOST=tcp://172.17.0.1:2375: No such file or directory
[ERROR] Cluster has not started correctly. Profile configuration will be preserved
Will submit a fix PR to your branch
@csrwng I have installed a linux box and have been testing on linux to fix the issues. They should now work, also deleting the profile works.
I think it's ready to go.
@jorgemoralespou maybe it's the bash version on my RHEL box, but I get this when running oc-cluster status
:
Using client for origin v1.5.0-alpha.3
/root/oc-cluster-wrapper/oc-cluster: line 669: syntax error near unexpected token `fi'
/root/oc-cluster-wrapper/oc-cluster: line 669: ` fi'
Looks like there shouldn't be an if
on line 661
@csrwng Yes, sorry for that. I tested before making the if test not use the if and forgot to remove that if statement. Now it's been removed.
@jorgemoralespou LGTM ... tested with your latest changes and things are working for me.
Pull request for changes in oc-cluster-engineers branch