Update issue with NNA
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Update issue with NNA
It really does, but it definitely isn't. Also, hilariously enough, this server now DOES go through our proxy. There was maintenance this weekend to re-route all the servers on this particular VLAN through the proxy so, I am now using the proxy. I updated my yum.conf and wgetrc files with the proxy info and still getting the same issue. Disclaimer: I also tried it again without the proxy to verify that wasn't the issue. With proxy off I get a "cannot reach host" error, with proxy off I get the "Error: Cannot retrieve metalink for repository: epel" error. So it's the same as before just with the proxy on/off situations reversed since this is now using the proxy.
Re: Update issue with NNA
Can you run the following 2 commands on the NA server and post the output?
Thanks
Code: Select all
wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -4
wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -6Be sure to check out our Knowledgebase for helpful articles and solutions!
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Update issue with NNA
Sorry, was out all week last week.
With Proxy
Without proxy:
With Proxy
Code: Select all
[root@lisl-ngna-01-pv nagiosna]# wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -4
Setting --inet4-only (inet4only) to 1
DEBUG output created by Wget 1.12 on linux-gnu.
--2016-02-01 10:08:02-- http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml
Resolving iproxyweb03.snapon.com... 208.65.151.192
Caching iproxyweb03.snapon.com => 208.65.151.192
Connecting to iproxyweb03.snapon.com|208.65.151.192|:8080... Closed fd 3
failed: Connection refused.
Releasing 0x0000000002182ad0 (new refcount 1).
[root@lisl-ngna-01-pv nagiosna]# wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -6
Setting --inet6-only (inet6only) to 1
DEBUG output created by Wget 1.12 on linux-gnu.
--2016-02-01 10:09:20-- http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml
Resolving iproxyweb03.snapon.com... failed: Name or service not known.
wget: unable to resolve host address â€iproxyweb03.snapon.comâ€
Code: Select all
[root@lisl-ngna-01-pv nagiosna]# wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -4
Setting --inet4-only (inet4only) to 1
DEBUG output created by Wget 1.12 on linux-gnu.
--2016-02-01 10:07:40-- http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml
Resolving centos.host-engine.com... 204.45.61.34
Caching centos.host-engine.com => 204.45.61.34
Connecting to centos.host-engine.com|204.45.61.34|:80... Closed fd 3
failed: Connection refused.
Releasing 0x0000000001dbb8f0 (new refcount 1).
[root@lisl-ngna-01-pv nagiosna]# wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -d -6
Setting --inet6-only (inet6only) to 1
DEBUG output created by Wget 1.12 on linux-gnu.
--2016-02-01 10:10:26-- http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml
Resolving centos.host-engine.com... 2001:49f0:a023:1::5
Caching centos.host-engine.com => 2001:49f0:a023:1::5
Connecting to centos.host-engine.com|2001:49f0:a023:1::5|:80... Closed fd 3
failed: Network is unreachable.
Releasing 0x0000000002145900 (new refcount 1).
Re: Update issue with NNA
DNS isn't resolving?
Set the IP for your proxy manually in your /etc/hosts file or investigate why DNS isn't working.
I just dealt with this exact issue 5 minutes ago and it was the proxy that was blocking HTTPS, the IPv6 was not the problem.
Code: Select all
Resolving iproxyweb03.snapon.com... failed: Name or service not known.I just dealt with this exact issue 5 minutes ago and it was the proxy that was blocking HTTPS, the IPv6 was not the problem.
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Update issue with NNA
Nothing seems to have changed, maybe I did it wrong?
Code: Select all
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
XXX.XXX.XXX.XXX iproxyweb03.snapon.comRe: Update issue with NNA
Can you login as root in one shell and run a tcpdump command like below
Then in another shell on the server, run the following
After the wget command is done, stop the tcpdump and post the capture.cap so we can review it.
Code: Select all
tcpdump host centos.host-engine.com -w capture.capCode: Select all
wget http://centos.host-engine.com/6.7/os/x86_64/repodata/repomd.xml -dBe sure to check out our Knowledgebase for helpful articles and solutions!
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Update issue with NNA
Don't have tcpdump installed on the NA server and can't get it because of this issue. Also, I checked my XI server and there is no proxy info in /etc/wgetrc, just in the yum.conf. Not sure if that means anything but figured I'd include that info here as well.
Re: Update issue with NNA
Can you take the proxy settings that are in the XI server's yum.conf file, add them to the NA's server yum.conf file and see if you can do an update?
Be sure to check out our Knowledgebase for helpful articles and solutions!
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: Update issue with NNA
Yeah I already did that, the 2 servers' yum.conf files are identical.
Re: Update issue with NNA
What do you have for your hosts entry in /etc/nsswitch.conf?