-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't start an existing profile when my host IP addr changes #57
Comments
@rafaeltuelho It seems I have a bug, as I set the routing-suffix and it seems you've also passed it as argument so it get double set and probably that's an error in the underlying oc cluster. cc/ @csrwng Can this be a problem? Why is he getting x.x.x.x as server IP? |
@rafaeltuelho what oc client version are you using? |
@jorgemoralespou , at this moment I'm using Origin 1.4.1:
The |
@rafaeltuelho there's an issue openned in oc cluster to try to hace a consistent node name between restarts when roaming and not get the node ip which can be different leading to these problems. @csrwng do you know if this can be customized via an env or in any other way? |
hum, this is critical for oc-cluster-wrapper tool. The main advantage is the ability to reproduce a setup... But with this issue it's not possible to reuse a saved profile if you change your host IP addr. |
I'm traveling at the moment but will look into it once I'm back. I haven't experienced this before and there's no other report on this so I wonder if it's due to any other circumstance. Will definitely look more carefully soon. |
@jorgemoralespou, how can I tell oc-cluster to use a specific alias ip or loopback to overcome this issue? I though passing |
I just use --public-hostname=x.y.z and --routing-suffix=apps.lcup and I have a dnsmasq locally for .apps.lcup routed to x.y.z In the meantime, you can still use xip.io for the --routing-prefix but not for the public-hostname use the loopback ip. |
@jorgemoralespou , Thanks for your help! It only works if I use a loopback IP alias (eg: Anyway, it worked fine using an ip alias UPDATE: I forgot to add a nameserver entry on my
|
I meet the same issue, |
@wulliam This is not supported by "oc cluster" which is the underlying technology used. I think 3.6 brings a fix for this. Could you try with that version (the latest I think is (v3.6.0-alpha.2) and go through that use case? If not, please open a bug there. https://github.com/openshift/origin/issues |
@jorgemoralespou Thanks for your help! I finally start my cluster with all my previous work back.
Note: If in step3, use "v1.5.0-alpha.3" instead of "v3.6.0-alpha.2", openshift can start, but your open shift project is empty, and you will lost your openshift project. If in step2, if you replace the ip address in etcd binary file path --host-data-dir "/root/.oc/profiles/landaojia/data", the file will be broken, openshift can not be started. |
When i get a different IP addr (my laptop host) and try to start an existing saved profile i get the following error:
I tried to manually rename these directories, but no success
The text was updated successfully, but these errors were encountered: