-
Notifications
You must be signed in to change notification settings - Fork 504
Provide Fedora setup instructions #5053
Comments
I have it working here via a global dnsmasq instance, let me take a quick gander though at a simpler setup, will document it here and then we can get that rolled into the docs... |
Okay, here's the raw steps that should work for a typical Fedora installation where network connections are managed by network manager, BTW you can do this even after the vagrant image is running:
Doing a
|
@ncoghlan let me know if that works for you and I'll get the docs updated, thanks! |
Unfortunately not. It did change /etc/resolv.conf to use the local resolver, but it only changed the dig error message from NXDOMAIN to the following:
Normal DNS lookups are working fine, it's only the local lookup that is having problems. The landrush setting looks like it should be right:
|
There doesn't appear to be anything listening on port 10053, so it may be a problem with landrush not running correctly. |
Ah yeah, that'd definitely be a problem... You should see landrush initialize as part of |
I'm trying again, having explicit started SELinux is in permissive mode, so if it still doesn't work, then the remaining likely culprits would be:
|
Gotcha. I'm still running with the VirtualBox backend here since originally the vagrant image didn't support libvirt. |
Either setting up the local resolver or starting landrush explicitly appears to have made things worse - I'll keep digging tomorrow. |
Retrying again today, the landrush daemon again didn't start, and there wasn't any output at all relating to landrush in the Further investigation found vagrant-landrush/landrush#20, so it looks like anything based on landrush simply won't work with the libvirt backend for the time being. @strzibny has a PR adding vagrant-libvirt support at vagrant-landrush/landrush#124 |
I'm trying to figure out from the OpenShift console (which has its IP address displayed during |
It should be the public IP of the VM - if you're using the vagrant setup in fabric8 that would be |
That's coming back as "503 service unavailable", so I'm guessing the failure of the DNS resolution is meaning some latter aspect of the Fabric8 setup isn't executing properly. I can't see any obvious errors in the |
What does |
@jimmidyson explained on IRC that the OpenShift router needs the hostname in order to route the request to the correct service, so without the landrush/libvirt integration, it's necessary to add the appropriate entry to /etc/hosts. |
I think that means the near term Fedora instructions are going to need to be something like "Edit
With any other services also added manually to that line. |
Only for fedora & libvirt - landrush works fine with virtualbox afaik. |
That's a good point, so a better near term option might be to recommend using VirtualBox even on Fedora, and point out the manual workaround for folks using the native libvirt backend. |
@ncoghlan so whats missing in landrush if my patch got merged? can I be of any help here? |
@strzibny Integration with the libvirt dnsmasq server would be great. |
I have similar problem on Centos 7. I have to add addresses manually in /etc/hosts |
The Vagrant setup instructions unfortunately don't work on Fedora: http://fabric8.io/guide/getStarted/vagrant.html
Specifically, the local DNS setup doesn't work, which means the reader is left completely on their own figuring out what to do about it.
The text was updated successfully, but these errors were encountered: