Closed ywkim312 closed 9 months ago
This is my original question
Hi I have a question about the ip address of the smm-tester.ncsa.illinois.edu. In radiant setting, it shows that the ip of the internal address is 192.168.100.237. However, when I tried to reach this in my docker-compose setting with traefik using smm-tester.ncsa.illinois.edu, it makes an error because it is trying to access 192.168.100.187.
When I do nslookup, both of them are pointing smm-tester like this
ywkim@smm-tester:/home/smm/deployment# nslookup 192.168.100.237 237.100.168.192.in-addr.arpa name = smm-tester. 237.100.168.192.in-addr.arpa name = smm-tester.local.
ywkim@smm-tester:/home/smm/deployment# nslookup 192.168.100.187 187.100.168.192.in-addr.arpa name = smm-tester.ncsa.illinois.edu. 187.100.168.192.in-addr.arpa name = smm-tester.
One is local, and the other is ncsa.illinois.edu. If I want to access to 237, then should I make the url as like https://urldefense.com/v3/__http://smm-tester.local__;!!DZ3fjg!_PzyZExcZfWhUxwm_J2byEMb612jtLVi3HIvZ2Tf9z37evRri6gTZp8-xWkexAkZ21OPae4h2-V0ZV7S8RBNCZUHZ6Qc$ instead of https://smm-tester.ncsa.illinois.edu?
First answer
smm-tester.ncsa.illinois.edu has address 141.142.218.143. If your floating ip address that is assigned to this vm changed we can update the hostname in DNS to point to the new address.
143.218.142.141.in-addr.arpa domain name pointer smm-tester.ncsa.illinois.edu.
The 192.168.100.237 and 192.168.100.187 are internal radiant ip addresses and are only unique in the context of your openstack project. Other radiant users may have systems that share those local addresses.
This may not answer your question. Christopher Lindsey Can you offer any more specific guidance?
My follow up question
I keep having an error because it is keep pointing to 192.168.100.187 when I did the smm-tester.ncsa.illinois.edu. Is there a way to change it to point to 192.168.100.237. I believe that if it points to 100.237 the error might go away
They transferred my question to openstack
I'm going to transfer your request to the SVC queue for assistance with your OpenStack use questions.
Answer from openstack
Hi Yong Wook Kim,
Sorry for all the bouncing around on this. I'm not sure I am following what you are attempting, but a couple of suggestions since this looks like basic naming/name resolution and nothing specifically related to Radiant:
If possible choose a different name for your public DNS host name Use ip addresses instead of host names Change your resolver to prefer the local system host name file (usually /etc/hosts) and override host names there Once you have disambiguated your interface names, you should be able to determine where connections are going. If you are still having connection issues then, please let us know.
So we probably need to use ip address instead of DNS name....
When using the docker-compose, the url using DNS name doesn't hit the correct container find out why this is happening.