JUST CURIOUS: Another "Host name lookup failure", two freenas machines, one has issue

Bikerchris

Patron
Joined
Mar 22, 2020
Messages
210
Do be assured this is not a priority, this is occurring on a machine that is going to be re-purposed soon, so it's not important at all - only a curiosity!

Hello all,

First of all, please be assured that I've done all I can to remedy this issue - it is far from priority.

I have two freenas machines connected to the same switch in LAG mode, the local IP's end:

12 - unable to connect/ping router or internet (ping google.com and freenas.org fails)
23 - new install, works fine

Both:

Are running FreeNAS 11.3-U4.1
Have IPv4 Default Gateway ends with 1.1
Have nameservers 1,2 & 3 set as 1.1
Have the correct IP address set within Network / Interfaces
Running in LAGG mode
Can run replication tasks to each other
Have LAG config'd on the Switch (Netgear GS110TP)
Router is a Draytek Vigor 2762AC (no VLAN or VPN's - simple config)

The problem machine (ending 12):

Has plex installed via Plugin
Has a 4 port Intel NIC (Intel I340-T4 E1G44HTBLK)
2 nos. cables goes from Netgear switch, to wall backplane, out the other side and connects to machine. Originally I had the two cables individually going to 2 freenas machines with no WAN connection issue (though that was when they were plugged directly into the Draytek router).
Originally used the onboard Realtek NIC and had no problems.

So I guess it's that 4 Port NIC perhaps? May be I should buy another that's a bit more compatible with FreeNAS?

That's the only difference.

Thanks!

When the plugin tab is selected, within a minute I get this - which in summary is saying there's not WAN connection:

Code:
Error: Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 1566, in _clone_repo
    repo = git.Repo(destination)
  File "/usr/local/lib/python3.7/site-packages/git/repo/base.py", line 131, in __init__
    raise NoSuchPathError(epath)
git.exc.NoSuchPathError: /mnt/ironwolf4tb/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 349, in run
    await self.future
  File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 387, in __run_body
    rv = await self.middleware.run_in_thread(self.method, *([self] + args))
  File "/usr/local/lib/python3.7/site-packages/middlewared/utils/run_in_thread.py", line 10, in run_in_thread
    return await self.loop.run_in_executor(self.run_in_thread_executor, functools.partial(method, *args, **kwargs))
  File "/usr/local/lib/python3.7/site-packages/middlewared/utils/io_thread_pool_executor.py", line 25, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 965, in nf
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/jail.py", line 409, in available
    plugins_versions_data = IOCPlugin(branch=branch, git_repository=plugin_repository).fetch_plugin_versions()
  File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 266, in fetch_plugin_versions
    self.pull_clone_git_repo()
  File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 137, in pull_clone_git_repo
    depth, self.callback
  File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_plugin.py", line 1631, in _clone_repo
    k: v for k, v in kwargs.items() if v
  File "/usr/local/lib/python3.7/site-packages/git/repo/base.py", line 988, in clone_from
    return cls._clone(git, url, to_path, GitCmdObjectDB, progress, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/git/repo/base.py", line 939, in _clone
    finalize_process(proc, stderr=stderr)
  File "/usr/local/lib/python3.7/site-packages/git/util.py", line 333, in finalize_process
    proc.wait(**kwargs)
  File "/usr/local/lib/python3.7/site-packages/git/cmd.py", line 415, in wait
    raise GitCommandError(self.args, status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/ironwolf4tb/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git
  stderr: 'Cloning into '/mnt/ironwolf4tb/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git'...
fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Could not resolve host: github.com
'
 

Attachments

  • Left-working.PNG
    Left-working.PNG
    886.7 KB · Views: 167
  • left-working2.PNG
    left-working2.PNG
    565.9 KB · Views: 171
  • left-working3.PNG
    left-working3.PNG
    1.2 MB · Views: 179

Bikerchris

Patron
Joined
Mar 22, 2020
Messages
210
Just an update, reverted back to onboard NIC and internet connection restored. As I said, not a problem that needed resolving, only curious.
 

Bikerchris

Patron
Joined
Mar 22, 2020
Messages
210
Another little update, I tried plugging only 1 network cable into the 4 port PCI NIC, that also had trouble with FreeNAS's WAN connection.
 

Bikerchris

Patron
Joined
Mar 22, 2020
Messages
210
Well, I've used those two network cables for LAG'ing my intended machine (PC1, which has dual onboard NIC), and all is well. So I can only presume it was the NIC card.
 
Top