Error retrieving network interface

Ошибка сетевого интерфейса в VirtualBox Продолжаем рассматривать ошибки с кодом 0x80004005 в Oracle VirtualBox. Предыдущая статья была посвящена USB, на этот раз поговорим про другую распространенную ошибку — VERR_INTNET_FLT_IF_NOT_FOUND. Данная ошибка препятствует загрузке виртуальной машины и, как правило, возникает после обновления/переустановки VirtualBox, либо изменения настроек сетевых интерфейсов в системе-хосте. Из описания ошибки можно понять, […]

Содержание

  1. Ошибка сетевого интерфейса в VirtualBox
  2. virtualbox.org
  3. Host-Only network problems after Windows 10 update
  4. Host-Only network problems after Windows 10 update
  5. Re: Host-Only network problems after Windows 10 update
  6. Re: Host-Only network problems after Windows 10 update
  7. Re: Host-Only network problems after Windows 10 update
  8. Re: Host-Only network problems after Windows 10 update
  9. Re: Host-Only network problems after Windows 10 update
  10. Re: Host-Only network problems after Windows 10 update
  11. Re: Host-Only network problems after Windows 10 update
  12. Re: Host-Only network problems after Windows 10 update
  13. Re: Host-Only network problems after Windows 10 update
  14. Re: Host-Only network problems after Windows 10 update
  15. virtualbox.org
  16. Warning: Network interfaces
  17. Warning: Network interfaces
  18. Re: Warning: Network interfaces
  19. Re: Warning: Network interfaces
  20. virtualbox.org
  21. Host-Only network problems after Windows 10 update
  22. Host-Only network problems after Windows 10 update
  23. Re: Host-Only network problems after Windows 10 update
  24. Re: Host-Only network problems after Windows 10 update
  25. Re: Host-Only network problems after Windows 10 update
  26. Re: Host-Only network problems after Windows 10 update
  27. Re: Host-Only network problems after Windows 10 update
  28. Re: Host-Only network problems after Windows 10 update
  29. Re: Host-Only network problems after Windows 10 update
  30. Re: Host-Only network problems after Windows 10 update
  31. Re: Host-Only network problems after Windows 10 update
  32. Re: Host-Only network problems after Windows 10 update

Ошибка сетевого интерфейса в VirtualBox

Продолжаем рассматривать ошибки с кодом 0x80004005 в Oracle VirtualBox. Предыдущая статья была посвящена USB, на этот раз поговорим про другую распространенную ошибку — VERR_INTNET_FLT_IF_NOT_FOUND. Данная ошибка препятствует загрузке виртуальной машины и, как правило, возникает после обновления/переустановки VirtualBox, либо изменения настроек сетевых интерфейсов в системе-хосте.

Из описания ошибки можно понять, что программе не удалось открыть или создать внутреннюю сеть. Конечно, не слишком информативно, но хотя бы даёт понять, с какой подсистемой проблема.

На моей памяти такая ошибка характерна для настроек сетевого интерфейса виртуальной машины типа сетевой мост. Если такая ошибка встречается и при других настройках сетевых адаптеров ВМ, отпишитесь в комментариях.

Исправить ошибку VERR_INTNET_FLT_IF_NOT_FOUND очень просто. Достаточно открыть свойства сетевого подключения на машине-хосте, там вы увидите компонент VirtualBox NDIS6 Bridged Networking Driver, отмеченный галочкой.

Снимите галочку с VirtualBox NDIS6 Bridged Networking Driver и нажмите OK. После этого снова откройте свойства сетевого подключения, верните галочку на место и снова нажмите OK. Ничего перезагружать или переустанавливать при этом не надо. Виртуальная машина снова начнёт загружаться.

Источник

virtualbox.org

End user forums for VirtualBox

  • Board indexGeneralVirtualBox on Windows Hosts
  • Change font size
  • Print view
  • FAQ
  • Login

Host-Only network problems after Windows 10 update

Host-Only network problems after Windows 10 update

by RiverThomas » 8. Nov 2017, 16:43

I’ve recently installed VirtualBox with a virtual windows server for web development testing. The virtual machine has 2 connections set up, a host-only connection and a NAT connection, since the Host-Only lets me access the hosted websites and the NAT lets the virtual machine access the internet. Though I thought it was kind of weird that you couldn’t just use 1 connection for both of those, this is my first time setting up a VM so I wasn’t sure what I was doing. What I did however notice is that everything I found online was using File > Preferences > Network > Host-Only, yet in my installation I couldn’t find the host-only tab in the network settings.

Fast forward to today, and my windows 10 host machine has an update. Afterwards, when trying to launch the VM, I get an error about no host-only adapter interface being available. Looking it up online, I again find people fixing this issue through the mentioned Network > Host-Only tab, which I can’t find. I tried uninstalling then reinstalling, but that didn’t work. I did make sure to run the installer as administrator, and during install it has both network settings set to install. So Host-Only should be there, unless there is some other setting that first needs changing in order for the tab to appear? In the attachment there’s a screenshot of where I think the missing tab should be.

VirtualBox Version 5.2.0 r118431 (Qt5.6.2)
Windows 10 Home, Version 1709, OS Build 16299.19

The error I’m getting:
Interface (‘VirtualBox Host-Only Ethernet Adapter’) is not a Host-Only Adapter interface (VERR_INTERNAL_ERROR).

Result Code:
E_FAIL (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole

Re: Host-Only network problems after Windows 10 update

by BillG » 9. Nov 2017, 00:11

Re: Host-Only network problems after Windows 10 update

by Sodalin » 20. Dec 2017, 17:36

Re: Host-Only network problems after Windows 10 update

by BillG » 21. Dec 2017, 01:39

And the answer is still the same. You are looking in the wrong place.

In version 5.2.0 , you will find the Host Network Manager by going to Global Tools in the top-right corner of the VirtualBox Manager screen.

Re: Host-Only network problems after Windows 10 update

by socratis » 21. Dec 2017, 13:03

Re: Host-Only network problems after Windows 10 update

by WallyJ » 26. Dec 2017, 20:52

I have found the menu, in 2 different places, and it STILL fails to create the host adapter.

I receive the error message AFTER I attempt to create the adapter. I have no problem finding the menu.

Here is the exact error message:

Querying NetCfgInstanceId failed (0x00000002).
Result Code:
E_FAIL (0x80004005)
Component:
HostNetworkInterfaceWrap
Interface:
IHostNetworkInterface

From other forums, this seems to be a known issue that was supposedly fixed in a new version of VirtualBox, but I have the latest version and still can’t create a host only adapter.

I am running Windows 10, 64 Bit, VirtualBox version: Version 5.2.4 r119785 (Qt5.6.2)

Re: Host-Only network problems after Windows 10 update

by g1patnaik » 31. Dec 2017, 08:22

I also see see the exact same issue. I get the error when I am trying to create Host-only network from Host Network Manager.

But as you were saying that you want internet connection + connection from host, there is actually one other way. If you are using WIFI for your host machine, you can use bridge network adapter instead of using NAT and Host-only and select wireless driver while creating the bridge interface. After configuring bridge network interface, use DHCP on your guest machine and you will get a local IP assigned usually in 192.168 series with the public IP assigned to your WIFI router. But inconvenience is that as you use DHCP, your IP is not static and may change next time you restart your host or guest machine. So, you should be checking your IP every time. But as long as you use only a home WIFI, you would be seeing only a limited range of IP addresses (depending on the number of devices in your home) getting assigned. So, you can maintain all the ranges in your putty session and try them in a loop.

If you use a wired connection, I am not sure how it is supposed to work with bridge. Because I also have tried to create a bridge adapter with corresponding driver for wired connections and then I see a public IP is assigned with DHCP. But I couldn’t connect to internet. I think this is because my internet provider can’t give me more than one public IP. I am not sure if this is the case or if its the driver issue. So, I use WIFI on my system.

However as I use my hostel WIFI. I wan’t to get a static IP which is possible with Host-only type. But I couldn’t make it work because of the error.

Also I see options like docker and vagrant, which I do not understand what they are exactly about. But something related to creating isolated environment for virtual machines. I have tried installing docker and it says Hyper-V version of docker only support Windows 10 Pro, not Home edition. But I can’t find the link for a Virtual box edition of docker to try it’s usage. And for vagrant, we supposed to have high RAM and CPU.

Re: Host-Only network problems after Windows 10 update

by socratis » 31. Dec 2017, 11:08

1) You don’t have to have WiFi to use Bridged, you can use wired as well, and 2) Bridged and wireless don’t always play nice. It may or may not work. See: Bridging & Wifi — Supported hardware and add your experience.

That depends on your network setup. In my setup you would get an address in the 10.0.1.x range. See the «Private network» article in Wikipedia for more information. Look at the «Private IPv4 address spaces» table, «IP address range».

You could always setup your guest to have a static IP address. Look up the documentation of your guest on how to do this, but it usually is something like Automatic/Dynamic versus Manual/Static.

The exact same way. It’s actually going to be faster either at 100 Mb/s or at 1000 Mb/s (if your router supports it) , compared to a max. of 54 Mb/s for a wireless one.

There’s maybe something wrong with your router setup. You should be given a private IP from your router, the same way that you got one for WiFi. Maybe the setup of your router is not correct.

The two have nothing to do with each other. You can get a static IP if you configure your host to *not* use DHCP, but to use a static IP. The second has to do with the host.

Re: Host-Only network problems after Windows 10 update

by briensche » 5. Jan 2018, 00:56

I can report that I have the same issue. I happen to be running Windows 10 version 1703 host and Virtualbox 5.2.4. Not sure which one or both started the problem. I have some additional observations to add:

«Nat Network» and «host only» network types are both affected. The actual symptom is that the guest OS is _not_ getting a response from a DHCP server for either type. I have checked that the DHCP enable flag is set, both in the GUI and at the command line.

I have confirmed that the only actual problem is the DHCP server by configuring two VM’s as host only, then giving both a static IPV4 address. They can ping each other under these circumstances.

One final observation: I see a program called VBoxNetDHCP.exe in the VirtualBox program directory. I tried starting it manually, but it just runs for a short period and terminates. Is this supposed to be running as a service? It is not set up in the windows services, and I haven’t seen any action that I can take within VirtualBox to launch it.

Thanks in advance for any help, I’d really like to get «host only» working again.

Re: Host-Only network problems after Windows 10 update

by socratis » 5. Jan 2018, 12:00

Re: Host-Only network problems after Windows 10 update

by briensche » 5. Jan 2018, 17:20

Thanks for taking a look at this. Here’s the command output:
Code: Select all Expand viewCollapse view C:Program FilesOracleVirtualBox>VBoxManage.exe list dhcpservers
NetworkName: NatNetwork
IP: 10.0.2.3
NetworkMask: 255.255.255.0
lowerIPAddress: 10.0.2.4
upperIPAddress: 10.0.2.100
Enabled: Yes

NetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2
IP: 192.168.210.2
NetworkMask: 255.255.255.0
lowerIPAddress: 192.168.210.3
upperIPAddress: 192.168.210.254
Enabled: Yes

Curiously, I actually have two Nat Networks right now, since I was doing this experimentation, yet only one shows up in the dhcp listing. Neither one works though.

Источник

virtualbox.org

End user forums for VirtualBox

  • Board indexGeneralVirtualBox on Windows Hosts
  • Change font size
  • Print view
  • FAQ
  • Login

Warning: Network interfaces

Warning: Network interfaces

by mikiroro » 24. Mar 2009, 20:30

Hi,
I was installing VBox 2.1.4 on M$ Windows XP,
when I recieved this message:

Installing the Sun xVM VirtualBox networking feature will
reset your network connection and temporarily disconnect
you from the network.

Proceed with installation now?

I’ll add, that the same message was displayed,
when I unmarked VBox Networking from the installation.
Is this «reseting» and «temporarily disconnecting» serious or dangerous?
Should I continue the installation or give it up?
Please, answer quickly.
Regards,
Miki Roro

Re: Warning: Network interfaces

by Sasquatch » 24. Mar 2009, 21:20

The interfaces are brought down, because a driver module has to be installed and loaded for all the interfaces on your machine. This happens within a second or so, but if you have a radio stream playing, that will of course stop. The rest should be back up before any timeout would occur. It’s perfectly normal that this happens. It’s just a warning message in case people come here and say «I lost my network while installing».

I think that you get that message anyway, despite enabling the HIF driver or not. I think it might actually install the module, but not enable it for the interfaces. I’m not certain though and could of course be mistaken about the last part.

Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we’re talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.

Re: Warning: Network interfaces

by mikiroro » 25. Mar 2009, 14:28

Источник

virtualbox.org

End user forums for VirtualBox

  • Board indexGeneralVirtualBox on Windows Hosts
  • Change font size
  • Print view
  • FAQ
  • Login

Host-Only network problems after Windows 10 update

Host-Only network problems after Windows 10 update

by RiverThomas » 8. Nov 2017, 16:43

I’ve recently installed VirtualBox with a virtual windows server for web development testing. The virtual machine has 2 connections set up, a host-only connection and a NAT connection, since the Host-Only lets me access the hosted websites and the NAT lets the virtual machine access the internet. Though I thought it was kind of weird that you couldn’t just use 1 connection for both of those, this is my first time setting up a VM so I wasn’t sure what I was doing. What I did however notice is that everything I found online was using File > Preferences > Network > Host-Only, yet in my installation I couldn’t find the host-only tab in the network settings.

Fast forward to today, and my windows 10 host machine has an update. Afterwards, when trying to launch the VM, I get an error about no host-only adapter interface being available. Looking it up online, I again find people fixing this issue through the mentioned Network > Host-Only tab, which I can’t find. I tried uninstalling then reinstalling, but that didn’t work. I did make sure to run the installer as administrator, and during install it has both network settings set to install. So Host-Only should be there, unless there is some other setting that first needs changing in order for the tab to appear? In the attachment there’s a screenshot of where I think the missing tab should be.

VirtualBox Version 5.2.0 r118431 (Qt5.6.2)
Windows 10 Home, Version 1709, OS Build 16299.19

The error I’m getting:
Interface (‘VirtualBox Host-Only Ethernet Adapter’) is not a Host-Only Adapter interface (VERR_INTERNAL_ERROR).

Result Code:
E_FAIL (0x80004005)
Component:
ConsoleWrap
Interface:
IConsole

Re: Host-Only network problems after Windows 10 update

by BillG » 9. Nov 2017, 00:11

Re: Host-Only network problems after Windows 10 update

by Sodalin » 20. Dec 2017, 17:36

Re: Host-Only network problems after Windows 10 update

by BillG » 21. Dec 2017, 01:39

And the answer is still the same. You are looking in the wrong place.

In version 5.2.0 , you will find the Host Network Manager by going to Global Tools in the top-right corner of the VirtualBox Manager screen.

Re: Host-Only network problems after Windows 10 update

by socratis » 21. Dec 2017, 13:03

Re: Host-Only network problems after Windows 10 update

by WallyJ » 26. Dec 2017, 20:52

I have found the menu, in 2 different places, and it STILL fails to create the host adapter.

I receive the error message AFTER I attempt to create the adapter. I have no problem finding the menu.

Here is the exact error message:

Querying NetCfgInstanceId failed (0x00000002).
Result Code:
E_FAIL (0x80004005)
Component:
HostNetworkInterfaceWrap
Interface:
IHostNetworkInterface

From other forums, this seems to be a known issue that was supposedly fixed in a new version of VirtualBox, but I have the latest version and still can’t create a host only adapter.

I am running Windows 10, 64 Bit, VirtualBox version: Version 5.2.4 r119785 (Qt5.6.2)

Re: Host-Only network problems after Windows 10 update

by g1patnaik » 31. Dec 2017, 08:22

I also see see the exact same issue. I get the error when I am trying to create Host-only network from Host Network Manager.

But as you were saying that you want internet connection + connection from host, there is actually one other way. If you are using WIFI for your host machine, you can use bridge network adapter instead of using NAT and Host-only and select wireless driver while creating the bridge interface. After configuring bridge network interface, use DHCP on your guest machine and you will get a local IP assigned usually in 192.168 series with the public IP assigned to your WIFI router. But inconvenience is that as you use DHCP, your IP is not static and may change next time you restart your host or guest machine. So, you should be checking your IP every time. But as long as you use only a home WIFI, you would be seeing only a limited range of IP addresses (depending on the number of devices in your home) getting assigned. So, you can maintain all the ranges in your putty session and try them in a loop.

If you use a wired connection, I am not sure how it is supposed to work with bridge. Because I also have tried to create a bridge adapter with corresponding driver for wired connections and then I see a public IP is assigned with DHCP. But I couldn’t connect to internet. I think this is because my internet provider can’t give me more than one public IP. I am not sure if this is the case or if its the driver issue. So, I use WIFI on my system.

However as I use my hostel WIFI. I wan’t to get a static IP which is possible with Host-only type. But I couldn’t make it work because of the error.

Also I see options like docker and vagrant, which I do not understand what they are exactly about. But something related to creating isolated environment for virtual machines. I have tried installing docker and it says Hyper-V version of docker only support Windows 10 Pro, not Home edition. But I can’t find the link for a Virtual box edition of docker to try it’s usage. And for vagrant, we supposed to have high RAM and CPU.

Re: Host-Only network problems after Windows 10 update

by socratis » 31. Dec 2017, 11:08

1) You don’t have to have WiFi to use Bridged, you can use wired as well, and 2) Bridged and wireless don’t always play nice. It may or may not work. See: Bridging & Wifi — Supported hardware and add your experience.

That depends on your network setup. In my setup you would get an address in the 10.0.1.x range. See the «Private network» article in Wikipedia for more information. Look at the «Private IPv4 address spaces» table, «IP address range».

You could always setup your guest to have a static IP address. Look up the documentation of your guest on how to do this, but it usually is something like Automatic/Dynamic versus Manual/Static.

The exact same way. It’s actually going to be faster either at 100 Mb/s or at 1000 Mb/s (if your router supports it) , compared to a max. of 54 Mb/s for a wireless one.

There’s maybe something wrong with your router setup. You should be given a private IP from your router, the same way that you got one for WiFi. Maybe the setup of your router is not correct.

The two have nothing to do with each other. You can get a static IP if you configure your host to *not* use DHCP, but to use a static IP. The second has to do with the host.

Re: Host-Only network problems after Windows 10 update

by briensche » 5. Jan 2018, 00:56

I can report that I have the same issue. I happen to be running Windows 10 version 1703 host and Virtualbox 5.2.4. Not sure which one or both started the problem. I have some additional observations to add:

«Nat Network» and «host only» network types are both affected. The actual symptom is that the guest OS is _not_ getting a response from a DHCP server for either type. I have checked that the DHCP enable flag is set, both in the GUI and at the command line.

I have confirmed that the only actual problem is the DHCP server by configuring two VM’s as host only, then giving both a static IPV4 address. They can ping each other under these circumstances.

One final observation: I see a program called VBoxNetDHCP.exe in the VirtualBox program directory. I tried starting it manually, but it just runs for a short period and terminates. Is this supposed to be running as a service? It is not set up in the windows services, and I haven’t seen any action that I can take within VirtualBox to launch it.

Thanks in advance for any help, I’d really like to get «host only» working again.

Re: Host-Only network problems after Windows 10 update

by socratis » 5. Jan 2018, 12:00

Re: Host-Only network problems after Windows 10 update

by briensche » 5. Jan 2018, 17:20

Thanks for taking a look at this. Here’s the command output:
Code: Select all Expand viewCollapse view C:Program FilesOracleVirtualBox>VBoxManage.exe list dhcpservers
NetworkName: NatNetwork
IP: 10.0.2.3
NetworkMask: 255.255.255.0
lowerIPAddress: 10.0.2.4
upperIPAddress: 10.0.2.100
Enabled: Yes

NetworkName: HostInterfaceNetworking-VirtualBox Host-Only Ethernet Adapter #2
IP: 192.168.210.2
NetworkMask: 255.255.255.0
lowerIPAddress: 192.168.210.3
upperIPAddress: 192.168.210.254
Enabled: Yes

Curiously, I actually have two Nat Networks right now, since I was doing this experimentation, yet only one shows up in the dhcp listing. Neither one works though.

Источник


Description


Raz Tamir



2017-07-05 10:22:46 UTC

Description of problem:
When starting a VM that was thinly cloned from a template, I wee that the VM didn't get IP although it has one:

[root@localhost var]# ifconfig 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.35.82.188  netmask 255.255.254.0  broadcast 10.35.83.255
        inet6 fe80::21a:4aff:fe16:25bc  prefixlen 64  scopeid 0x20<link>
        ether 00:1a:4a:16:25:bc  txqueuelen 1000  (Ethernet)
        RX packets 3862  bytes 279513 (272.9 KiB)
        RX errors 0  dropped 43  overruns 0  frame 0
        TX packets 761  bytes 758489 (740.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


The errors from ovirt-guest-agent.log:

Dummy-2::ERROR::2017-07-05 09:18:12,773::GuestAgentLinux2::217::root::Error retrieving network interfaces.
Traceback (most recent call last):
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 213, in ethtool_list_nics
    'inet': self._get_ipv4_addresses(devinfo),
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 189, in _get_ipv4_addresses
    for ip in dev.get_ipv4_addresses():
RuntimeError: Could not open a NETLINK connection for eth0
Dummy-1::ERROR::2017-07-05 09:18:16,632::GuestAgentLinux2::217::root::Error retrieving network interfaces.
Traceback (most recent call last):
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 213, in ethtool_list_nics
    'inet': self._get_ipv4_addresses(devinfo),
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 189, in _get_ipv4_addresses
    for ip in dev.get_ipv4_addresses():
SystemError: error return without exception set


Version-Release number of selected component (if applicable):
ovirt-guest-agent-common-1.0.13-3.el7ev.noarch
qemu-guest-agent-2.5.0-3.el7.x86_64
ethtool-4.8-1.el7.x86_64
python-ethtool-0.8-5.el7.x86_64
Red Hat Enterprise Linux Server release 7.3



How reproducible:
~30%

Steps to Reproduce:
1. Clone VM from template as thin copy
2. Start the VM
3.

Actual results:


Expected results:


Additional info:


Comment 2


Tomas Jelinek



2017-07-12 10:30:45 UTC

so the VM actually has the IP only it is not reported properly. Targeting 4.2


Comment 3


Red Hat Bugzilla Rules Engine



2017-07-12 10:30:52 UTC

This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.


Comment 4


Yaniv Kaul



2017-08-23 15:02:51 UTC

Can we please take a look and see what the latest status is? It continues to fail QE automation tests.


Comment 5


Tomáš Golembiovský



2017-08-24 10:47:50 UTC

I've got a VM from Raz yesterday and it seems like a race between network setup and the guest agent.

In the journal I found:

Aug 23 11:23:05.126492 localhost.localdomain network[695]: Bringing up loopback interface:  [  OK  ]
Aug 23 11:23:05.340381 localhost.localdomain network[695]: Bringing up interface eth0:
Aug 23 11:23:05.366656 localhost.localdomain NetworkManager[595]: <info>  [1503476585.3659] device (eth0): link connected
Aug 23 11:23:07.209084 localhost.localdomain dhclient[845]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 (xid=0x29d1da05)
Aug 23 11:23:07.588767 localhost.localdomain dhclient[845]: DHCPREQUEST on eth0 to 255.255.255.255 port 67 (xid=0x29d1da05)
Aug 23 11:23:07.591290 localhost.localdomain dhclient[845]: DHCPOFFER from 10.35.83.254
Aug 23 11:23:08.097425 localhost.localdomain dhclient[845]: DHCPACK from 10.35.83.254 (xid=0x29d1da05)


and in ovirt-guest-agent.log an entry that corresponds to the query for IP addresses:

Dummy-2::ERROR::2017-08-23 11:23:05,571::GuestAgentLinux2::217::root::Error retrieving network interfaces.                                                                    
Traceback (most recent call last):         
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 213, in ethtool_list_nics                                                                                     
    'inet': self._get_ipv4_addresses(devinfo),                                         
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 189, in _get_ipv4_addresses                                                                                   
    for ip in dev.get_ipv4_addresses():    
RuntimeError: Could not open a NETLINK connection for eth0                             

From this point onwards the python-ethtool module is in an inconsistent state and every subsequenty attempt to query the IP addressses ends with an error:

Dummy-1::ERROR::2017-08-23 11:23:10,013::GuestAgentLinux2::217::root::Error retrieving network interfaces.                                                                    
Traceback (most recent call last):         
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 213, in ethtool_list_nics                                                                                     
    'inet': self._get_ipv4_addresses(devinfo),                                         
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 189, in _get_ipv4_addresses                                                                                   
    for ip in dev.get_ipv4_addresses():    
SystemError: error return without exception set                                        


Sadly, I'm still not able to reproduce the error after the boot. This makes it
hard to come up with a solution for this.

You can try to install the newer version of python-ethtool from Fedora.
python2-ethtool-0.13-1.fc26.x86_64 installs cleanly on RHEL 7.4 without
requiring any other dependencies. The code was heavily changed between 0.8 in
RHEL and latest 0.13 so it is possible the problem has been fixed.


Comment 6


Raz Tamir



2017-08-28 12:41:07 UTC

Executed our tier 2, twice, and I don't see the issue anymore with the new python2-ethtool package


Comment 7


Tomáš Golembiovský



2017-08-29 22:55:35 UTC

I've opened downstream bug 1486487 on python-ethtool. We'll have to live with the workaround until this is fixed in d/s package.


Comment 8


Tomáš Golembiovský



2017-08-30 09:12:42 UTC

On the second thought I'm moving the bug to platform.


Comment 10


Tomáš Golembiovský



2017-08-30 09:13:54 UTC

*** Bug 1486487 has been marked as a duplicate of this bug. ***


Comment 12


Gil Klein



2017-08-31 10:22:52 UTC

I'm asking to consider this for 7.4.z due to the impact on RHV automation tests.


Comment 13


Lumír Balhar



2017-09-26 10:18:38 UTC

Hello.

From comments above it seems that the problem is solved in the newest version of python-ethtool. Because we should avoid rebasing the whole ethtool to the newest version in RHEL, I can try to make some patch which fixes this bug.

Problem is that from tracebacks above I cannot identify how ethtools is used and which functions are called.

Could you please provide the part of ovirt-guest-agent/GuestAgentLinux2.py where I can find the invocation of ethtool and inspect a way how ethtools is used?

Thank you.


Comment 14


Tomáš Golembiovský



2017-09-27 10:41:08 UTC

Hi Lumir,

the relevant code in OGA enumerates the devices and then requests the IP addresses and MAC address. I've created a minimal script that does the same thing. See the attachment.


Comment 16


Lumír Balhar



2017-10-06 11:39:46 UTC

Hello.

I spend some time trying to prepare a patch for your really simple usage of python-ethtool but I failed and I honestly think that rebasing is the only solution here.

I thought that codebase was heavily changed because of porting it to Python 3 but it isn't and history contains a lot of changes in internal structures, internal methods renaming, fixes, migration from libnl-1 to libnl-3, the reimplementation of IPv6 support, changes of data types etc.

Could you test OGA with a newer version of python-ethtool? I am asking because rebasing python-ethtool to the newest version could be problematic because a lot of important packages depend on it.

I am suggesting to try versions 0.9, 0.10 and 0.11 one by one because since v0.11 there are a lot of changes related to Python 3 compatibility, CI, docs etc not that important for the module itself.

What do you think about it?


Comment 18


Charalampos Stratakis



2017-10-10 14:16:53 UTC

One of the reasons that python-maintenance is reluctant in updating the package is due to important packages that depend on it.

Packages that require python-ethtool as a runtime dependency.

firstboot
rhn-client-tools
subscription-manager
targetcli
tuna


Comment 20


Charalampos Stratakis



2017-10-16 09:07:21 UTC

(In reply to Raz Tamir from comment #19)
> (In reply to Tomáš Golembiovský from comment #17)
> > It seemed to me thet the important patch was added between 0.9 and 0.10 so
> > it's possible 0.10 could work -- or at least fail with a more meaningful
> > message.
> > 
> > Raz, could you please run the test suite with the following packages to see
> > which if any of those fixes the issue?
> 
> I'm currently using python2-ethtool-0.13-1.fc26.x86_64 as you suggested in
> comment #5 and seems like it solves our issue
> > 
> > https://kojipkgs.fedoraproject.org//packages/python-ethtool/0.11/8.fc26/
> > x86_64/python-ethtool-0.11-8.fc26.x86_64.rpm
> > https://kojipkgs.fedoraproject.org//packages/python-ethtool/0.10/1.fc21/
> > x86_64/python-ethtool-0.10-1.fc21.x86_64.rpm

Would it be possible to use a lower version though? In order for us to determine where the fix happened?


Comment 21


Charalampos Stratakis



2017-10-23 14:54:32 UTC

Adding the maintainers of affected packages by a potentional rebase of python-ethtool on cc for their opinion.


Comment 22


Tomáš Kašpárek



2017-10-24 11:24:15 UTC

As for rhn-client tools I'd say we're okay with this as we were using python-ethtool for long time while it was available in Fedora and we're using just a limited part of it.

However I am still inclined towards cherry-picking the fix instead off rebase.


Comment 23


Raz Tamir



2017-11-09 07:40:23 UTC

(In reply to Charalampos Stratakis from comment #20)
> (In reply to Raz Tamir from comment #19)
> > (In reply to Tomáš Golembiovský from comment #17)
> > > It seemed to me thet the important patch was added between 0.9 and 0.10 so
> > > it's possible 0.10 could work -- or at least fail with a more meaningful
> > > message.
> > > 
> > > Raz, could you please run the test suite with the following packages to see
> > > which if any of those fixes the issue?
> > 
> > I'm currently using python2-ethtool-0.13-1.fc26.x86_64 as you suggested in
> > comment #5 and seems like it solves our issue
> > > 
> > > https://kojipkgs.fedoraproject.org//packages/python-ethtool/0.11/8.fc26/
> > > x86_64/python-ethtool-0.11-8.fc26.x86_64.rpm
> > > https://kojipkgs.fedoraproject.org//packages/python-ethtool/0.10/1.fc21/
> > > x86_64/python-ethtool-0.10-1.fc21.x86_64.rpm
> 
> Would it be possible to use a lower version though? In order for us to
> determine where the fix happened?

Is my input still relevant here?


Comment 24


Tomáš Golembiovský



2017-11-09 09:20:46 UTC

(In reply to Raz Tamir from comment #23)
> Is my input still relevant here?

Yes. Could you please test the two other versions of python-ethtool mentioned in comment #17, please? Let us know whether those versions work or produce errors.


Comment 26


Charalampos Stratakis



2017-11-28 15:04:03 UTC

Since the deadline for the alpha has already passed is it ok if we try to tackle this for the beta?

Also we don't currently have any useful reproducer from our side, so would it be possible to provide one for us so we can then bisect the commit that fixed your issue? Or maybe outline the steps that you take in order to get those failures?


Comment 27


Raz Tamir



2017-11-28 15:41:30 UTC

Hi,

I couldn't reproduce it on versions later than python-ethtool-0.8-5.el7.x86_64

Currently working with python2-ethtool-0.13-1.fc26.x86_64 as suggested in comment #5 and it works fine for us


Comment 28


Tomas Orsava



2017-11-28 16:01:28 UTC

Hi Raz!

We're glad that the Fedora version of python2-ethtool solved the issue for you! And we'd like to fix the RHEL version as well, so you won't have to encounter the issue again in the future.

You said you couldn't reproduce it on versions later than python-ethtool-0.8-5.el7.x86_64, does it mean that version 0.8-5 was the last one where you manager to reproduce the issue?


And further, we'd really appreciate it if you could explain how to reproduce the issue in more detail so we could take a look at it ourselves.

Thanks for your time!


Comment 30


Charalampos Stratakis



2017-11-28 16:43:20 UTC

(In reply to Raz Tamir from comment #29)
> Hi Tomas,
> 
> (In reply to Tomas Orsava from comment #28)
> > Hi Raz!
> > 
> > We're glad that the Fedora version of python2-ethtool solved the issue for
> > you! And we'd like to fix the RHEL version as well, so you won't have to
> > encounter the issue again in the future.
> > 
> > You said you couldn't reproduce it on versions later than
> > python-ethtool-0.8-5.el7.x86_64, does it mean that version 0.8-5 was the
> > last one where you manager to reproduce the issue?
> Yes,
> I couldn't reproduce it after this version.  Also tried:
> https://kojipkgs.fedoraproject.org//packages/python-ethtool/0.11/8.fc26/
> x86_64/python-ethtool-0.11-8.fc26.x86_64.rpm
> https://kojipkgs.fedoraproject.org//packages/python-ethtool/0.10/1.fc21/
> x86_64/python-ethtool-0.10-1.fc21.x86_64.rpm
> As suggested in comment #17.
> > 
> > 
> > And further, we'd really appreciate it if you could explain how to reproduce
> > the issue in more detail so we could take a look at it ourselves.
> 
> The simplest way is to create a script to start VM, wait for IP and do it
> again until you stuck and the VM does not get IP.
> > 
> > Thanks for your time!

Would you be able to provide us with said script or how to setup the environment? We are not really experienced with the workflows of ovirt.


Comment 43


Raz Tamir



2018-05-14 14:20:37 UTC

I'm not sure what is the needinfo for?


Comment 45


Charalampos Stratakis



2018-06-06 11:57:16 UTC

The builds have been garbage collected and no answer was provided.

If this does not pose a serious issue anymore I will close the bug in a week, as most probably the fix for that happened after porting ethtool to libnl3 which is a change we will not do, due to compatibility reasons.


Comment 47


Miro Hrončok



2018-06-07 14:58:41 UTC

There are literally no reproduction steps in comment #0

It has been explicitly said in comment #37 that it would take us ages to set the environment to reproduce this. So we provided the RPMs for you to test it. If you don't have the capacity to test a couple of RPMs, we don't really have the capacity to spend "ages" on this. So I think this is a Mexican standoff.

Should I close this then with insufficient data?


Comment 48


Raz Tamir



2018-06-07 15:30:40 UTC

(In reply to Miro Hrončok from comment #47)
> There are literally no reproduction steps in comment #0
Sorry got confused with the comments.
this is what I meant:
"The simplest way is to create a script to start VM, wait for IP and do it again until you stuck and the VM does not get IP."
> 
> It has been explicitly said in comment #37 that it would take us ages to set
> the environment to reproduce this. So we provided the RPMs for you to test
> it. If you don't have the capacity to test a couple of RPMs, we don't really
> have the capacity to spend "ages" on this. So I think this is a Mexican
> standoff.
> 
> Should I close this then with insufficient data?
No,

There is no insufficient data here.
I provided many tests results with many different RPMs.
At this time, we don't have the room for this testing effort.
I lowered the severity of this bug so it won't be considered as urgent


Comment 49


Charalampos Stratakis



2018-06-07 15:46:34 UTC

(In reply to Raz Tamir from comment #48)
> (In reply to Miro Hrončok from comment #47)
> > There are literally no reproduction steps in comment #0
> Sorry got confused with the comments.
> this is what I meant:
> "The simplest way is to create a script to start VM, wait for IP and do it
> again until you stuck and the VM does not get IP."
> > 

Please provide said script then. Really this is a waste of resources at this point, trying to second guess everything, then providing builds and not getting an answer.

> > It has been explicitly said in comment #37 that it would take us ages to set
> > the environment to reproduce this. So we provided the RPMs for you to test
> > it. If you don't have the capacity to test a couple of RPMs, we don't really
> > have the capacity to spend "ages" on this. So I think this is a Mexican
> > standoff.
> > 
> > Should I close this then with insufficient data?
> No,
> 
> There is no insufficient data here.
> I provided many tests results with many different RPMs.
> At this time, we don't have the room for this testing effort.
> I lowered the severity of this bug so it won't be considered as urgent


Comment 55


Petr Viktorin



2018-08-27 11:13:26 UTC

Raz, could you test the RPM Honza provided in Comment #50?


Comment 56


Raz Tamir



2018-08-28 06:43:23 UTC

Liran,

As you already have the script for starting a VM in loop and test if the boot succeeds, could you take care of this request in comment #54?


Comment 57


Liran Rotenberg



2018-09-03 06:22:25 UTC

Tested with the given rpm in comment #50:
https://hhorak.fedorapeople.org/python-ethtool-0.8-7.testbz1467845.el7.x86_64.rpm


ovirt-guest-agent-common-1.0.14-3.el7ev.noarch
qemu-guest-agent-2.8.0-2.el7.x86_64
python-ethtool-0.8-7.testbz1467845.el7.x86_64
ethtool-4.8-7.el7.x86_64
Red Hat Enterprise Linux Server release 7.5 (Maipo)

I had 6 VMs with these RPMs, Starting and shutting down.
In iteration number 108, i hit the BZ.

One of the VM didn't report IP back to engine although it got IP.

[root@vm-30-65 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.35.30.65  netmask 255.255.255.0  broadcast 10.35.30.255
        inet6 fe80::21a:4aff:fe16:1041  prefixlen 64  scopeid 0x20<link>
        ether 00:1a:4a:16:10:41  txqueuelen 1000  (Ethernet)
        RX packets 20923  bytes 1823076 (1.7 MiB)
        RX errors 0  dropped 12  overruns 0  frame 0
        TX packets 2888  bytes 372956 (364.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

First occurrence on ovirt-guest-agent log:
Dummy-1::INFO::2018-09-02 21:35:22,606::OVirtAgentLogic::322::root::Received an external command: refresh...
Dummy-2::ERROR::2018-09-02 21:35:22,611::GuestAgentLinux2::218::root::Error retrieving network interfaces.
Traceback (most recent call last):
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 214, in ethtool_list_nics
    'inet': self._get_ipv4_addresses(devinfo),
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 189, in _get_ipv4_addresses
    for ip in dev.get_ipv4_addresses():
RuntimeError: Could not open a NETLINK connection for eth0
Dummy-1::ERROR::2018-09-02 21:35:23,364::GuestAgentLinux2::218::root::Error retrieving network interfaces.
Traceback (most recent call last):
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 214, in ethtool_list_nics
    'inet': self._get_ipv4_addresses(devinfo),
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 189, in _get_ipv4_addresses
    for ip in dev.get_ipv4_addresses():
SystemError: error return without exception set

Then the log keep loop with this error:
Dummy-2::ERROR::2018-09-03 00:39:23,072::GuestAgentLinux2::218::root::Error retrieving network interfaces.
Traceback (most recent call last):
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 214, in ethtool_list_nics
    'inet': self._get_ipv4_addresses(devinfo),
  File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 189, in _get_ipv4_addresses
    for ip in dev.get_ipv4_addresses():
SystemError: error return without exception set


Comment 58


Petr Viktorin



2018-09-07 13:58:17 UTC

Lumír, could you check how get_etherinfo_address can return NULL without setting an exceptions?
It looks like it could do that even on master.


Comment 59


Victor Stinner



2018-09-07 13:59:20 UTC

My bets are on these two lines which return NULL with no exception set:


vstinner@apu$ git diff
diff --git a/python-ethtool/etherinfo.c b/python-ethtool/etherinfo.c
index f90fea4..c78b507 100644
--- a/python-ethtool/etherinfo.c
+++ b/python-ethtool/etherinfo.c
@@ -237,6 +237,7 @@ PyObject * get_etherinfo_address(PyEtherInfo *self, nlQuery query)
     int err = 0;
 
     if (!self) {
+        /* missing exception */
         return NULL;
     }
 
@@ -279,6 +280,7 @@ PyObject * get_etherinfo_address(PyEtherInfo *self, nlQuery query)
         break;
 
     default:
+        /* missing exception */
         return NULL;
     }


Comment 61


Lumír Balhar



2018-09-11 12:20:21 UTC

Liran, how complicated it would be to set up our own environment where we'd be able to test it? Or would it be possible to gain access to some machine, where we can reproduce your issue and make changes in place until we'll solve it?

We can create a new RPM with some patches, give it to you and wait for results, fix issues and do the same thing again … but … because of other bugs appeared during testing of the previous one, I think that it would be better to let us test it and make changes until it will be okay.


Comment 63


Lumír Balhar



2018-10-01 14:11:44 UTC

Hello.

With a help from Liran and access to the testing platform, I did some tests. I had six virtual machines with python-ethtool installed from RPM from comment #50 where the suspicious patch is included. I wrote script using Ovirt SDK to reboot and check all virtual machines. I did almost 130 of reboot loops (more than 750 individual reboots) without any problem.

It's really hard to say whether we found the fix for original issue or it's just impossible to reproduce it again. The same obviously applies to the problem mentioned in comment #57. Moreover, if I'd add more patches, the result would be the same.

I don't know how we can inspect it more. I think that the best will be to backport the patch and then wait until we found some better way how to reproduce possible future issues.

What do you think?
Lumír


Comment 64


Raz Tamir



2018-10-02 07:54:22 UTC

(In reply to Lumír Balhar from comment #63)
> Hello.
> 
> With a help from Liran and access to the testing platform, I did some tests.
> I had six virtual machines with python-ethtool installed from RPM from
> comment #50 where the suspicious patch is included. I wrote script using
> Ovirt SDK to reboot and check all virtual machines. I did almost 130 of
> reboot loops (more than 750 individual reboots) without any problem.
> 
> It's really hard to say whether we found the fix for original issue or it's
> just impossible to reproduce it again. The same obviously applies to the
> problem mentioned in comment #57. Moreover, if I'd add more patches, the
> result would be the same.
> 
> I don't know how we can inspect it more. I think that the best will be to
> backport the patch and then wait until we found some better way how to
> reproduce possible future issues.
> 
> What do you think?
> Lumír

Seems ok to me.
We can't test it forever so we can assume it is fixed now


Comment 65


Lumír Balhar



2018-10-09 06:51:18 UTC

Charris, could you help us to plan the backporting of the mentioned patch?


Comment 68


Charalampos Stratakis



2018-10-22 11:57:45 UTC

(In reply to Lumír Balhar from comment #65)
> Charris, could you help us to plan the backporting of the mentioned patch?

Definitely. Let's push it for 7.7


Comment 69


Raz Tamir



2018-10-22 12:18:12 UTC

Hi,

Do we have a working patch QE will be able to work with?
This is impacting our testing badly


Comment 73


Petr Viktorin



2018-11-01 14:41:27 UTC

Did you have time to test that RPM?


Comment 74


Petr Balogh




2018-11-06 09:40:58 UTC

Our last executions should contain mentioned rpm so all latest executions for rhv 4.2.7-7 where we use latest guest agent image should contain it. But someone from network team needs to confirm.


Comment 75


Petr Balogh




2018-11-06 12:21:51 UTC

Michael, as this is network related, can you please confirm? Thx


Comment 77


Petr Balogh




2018-11-06 12:54:02 UTC

Raz, I applied those RPMs in our runs, so I cannot probably do more here, so probably if someone will hit the issue again they should update here in thicket, but not sure to who I can move to needinfo from me?


Comment 78


Raz Tamir



2018-11-07 09:22:30 UTC

Thank you Petr.

I don't think we can do something else to "test" the fix besides let it run with our regression cycles and track it


Comment 79


Lumír Balhar



2018-12-11 10:25:18 UTC

Hello.

I think that we should specify some plan because we cannot keep this bug open forever waiting for a next bug.

So, the question is: Are you guys satisfied with the RPM provided by Honza?

If so, we can make some plan how to deliver the same content the standard way to all users.

Thank you and have a nice day.


Comment 80


Raz Tamir



2018-12-12 08:49:01 UTC

Hi Lumir,

As a follow-up to comment #78, I agree with you that we can't wait forever to see if the bug keeps reproducing, so please, let's take Honza's RPM and use it as a valid fix.
One more request I have is that the RPMs are very old and depend on a very old branch.  Could you please ensure the patches will be rebased on the latest branch?


Comment 81


Lumír Balhar



2018-12-12 10:45:48 UTC

Hello Raz.

I am sorry but I might not understand your last request. We probably just apply the suspicious patch from Honza's RPMs to the python-ethtool in all RHEL releases where version < 0.9 is shipped which means RHEL 7.4 to 7.7. We cannot update it because there are a lot of changes and they may cause some incompatibilities with critical system tools.


Comment 83


Lumír Balhar



2018-12-14 15:08:36 UTC

After a quick discussion with Honza, we decided to fix this only in RHEL 7.7. Any issues or comments about that?


Comment 89


Lumír Balhar



2019-03-25 14:13:47 UTC

Any updates here? If it works for more than three months, we might consider it as tested.


Comment 93


errata-xmlrpc



2019-08-06 12:40:40 UTC

Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2067

  • Reply with quote

network interface issue URGENT

i faced network interface error. how to resolve this issue?
quite urgent and need to use vm urgently

Could not start the machine VM Clone 25 Oct 21 because the following physical network interfaces were not found:

Qualcomm Atheros QCA9377 Wireless Network Adapter (adapter 1)

You can either change the machine’s network settings or stop the machine.

Yo
 
Posts: 6
Joined: 25. Oct 2021, 16:34

  • Reply with quote

Re: network interface issue URGENT

Postby BillG » 26. Oct 2021, 08:20

Nobody can fix that for you — you will need to do it yourself. We have no idea what network adapters your host machine has.

Have you moved this vm from some other machine? Are you using Bridged mode for the network setting? Check what options are available in the dropdown list.

Options.png
Options.png (21.19 KiB) Viewed 2748 times

Best to do this while the vm is shut down. You can only bridge to an adapter which is available to you.

Bill

BillG
Volunteer
 
Posts: 5065
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier

  • Reply with quote

Re: network interface issue URGENT

Postby Yo » 26. Oct 2021, 11:25

Hi,

I clone the vm from another virtualbox.
Import to ova is not working hence i use clone method.

Do i need to use the same network adapter from the original vm?

I tried all the options for all network adapter. The OK button was greyed out. I cannot select all network adapters.

Yo
 
Posts: 6
Joined: 25. Oct 2021, 16:34

  • Reply with quote

Re: network interface issue URGENT

Postby scottgus1 » 26. Oct 2021, 14:03

In your VM’s network adapter settings, change the «Name:» dropdown, as shown in Bill’s screenshot, to the physical network adapter on your host PC that is connected to the network. Note that Bridged does not always work with Wi-Fi.

scottgus1
Site Moderator
 
Posts: 17666
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

  • Reply with quote

Re: network interface issue URGENT

Postby Yo » 27. Oct 2021, 05:49

Hi,

For the network adapter. It is using the correct network adapter.

I need help and advice.

Need to disable acceleration under system in order to start the VM.

I am using Window 7. I unable to disbale the acceleration and «ok»
button greyed out.

Really need help urgently.

Yo
 
Posts: 6
Joined: 25. Oct 2021, 16:34

  • Reply with quote

Re: network interface issue URGENT

Postby scottgus1 » 27. Oct 2021, 13:46

Yo wrote:Need to disable acceleration under system in order to start the VM.

I am using Window 7. I unable to disbale the acceleration and «ok» button greyed out.

This is a different problem than the network problem above. It appears that the host’s «Virtualization Technology» is not enabled. See I have a 64bit host, but can’t install 64bit guests post #1.

scottgus1
Site Moderator
 
Posts: 17666
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

  • Reply with quote

Re: network interface issue URGENT

Postby Yo » 27. Oct 2021, 20:32

Hi,

I managed to start the V!M. Installed older version and it works.

Yo
 
Posts: 6
Joined: 25. Oct 2021, 16:34

  • Reply with quote

Re: network interface issue URGENT

Postby scottgus1 » 27. Oct 2021, 20:36

I think it was 6.1.x that removed the ability to run VMs without «Virtualization Technology» enabled on the host. So if you went back to 6.0 or earlier, then the VM would run.

Did following the 64 bits tutorial not work?

scottgus1
Site Moderator
 
Posts: 17666
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

  • Reply with quote

Re: network interface issue URGENT

Postby Yo » 28. Oct 2021, 06:00

Hi,

For this case, it did not work. I had done a search. install build 6.0 will helps as build 6.1 had removed alot of settings.

Yo
 
Posts: 6
Joined: 25. Oct 2021, 16:34

  • Reply with quote

Re: network interface issue URGENT

Postby Yo » 28. Oct 2021, 23:21

Thanks scottgus1 for helping out and do a search on the issue
Thanks everyone for the help and advices.

Greatly appreciated!

Yo
 
Posts: 6
Joined: 25. Oct 2021, 16:34


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 39 guests

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description
To manage containers after the system reboot I am trying setup systemd script for rootless podman containers.
podman run command

podman run -d 
-p 9200:9200 
-p 9300:9300 
--name paperkraft 
-v $CONTAINER_NAME:/usr/share/cluster/data 
-e "ES_JAVA_OPTS=-Xms2g -Xmx2g" 
-e "path.data=/usr/share/cluster/data" 
-e "http.host=0.0.0.0" 
$CONTAINER_IMAGE

cat /etc/systemd/system/paperkraft.service

[Unit]
Description=paperkraft  podman container
Wants=syslog.service

[Service]
User=podman
Restart=always
ExecStartPre=/usr/bin/podman system migrate
ExecStart=/usr/bin/podman start -a paperkraft
ExecStop=/usr/bin/podman stop -t 10 paperkraft

[Install]
WantedBy=multi-user.target

Steps to reproduce the issue:

  1. Run the container

  2. systemctl daemon-reload

  3. systemctl enable paperkraft.service
    Created symlink from /etc/systemd/system/multi-user.target.wants/paperkraft.service to /etc/systemd/system/paperkraft.service.

Describe the results you received:
After the system reboot container are not started and giving the below output for podman ps or podman ps -a

ERRO[0000] error joining network namespace for container 3164432a60af4b2320b404c44676edd87846b2ac7fcd5cc464a2f94184161ea0: error retrieving network namespace at /tmp/run-600000/netns/cni-1a003ffc-4779-8bd9-273e-19325859e8a1: unknown FS magic on "/tmp/run-600000/netns/cni-1a003ffc-4779-8bd9-273e-19325859e8a1": 58465342
ERRO[0000] unable to get container info: "container 3164432a60af4b2320b404c44676edd87846b2ac7fcd5cc464a2f94184161ea0 is not valid: container has already been removed"

Describe the results you expected:
paperkraft container should be running state

Additional information you deem important (e.g. issue happens only occasionally):
System reboot
Output of podman version:

Version:            1.6.4
RemoteAPI Version:  1
Go Version:         go1.13.4
OS/Arch:            linux/amd64

Output of podman info --debug:

debug:
  compiler: gc
  git commit: ""
  go version: go1.13.4
  podman version: 1.6.4
host:
  BuildahVersion: 1.12.0-dev
  CgroupVersion: v1
  Conmon:
    package: conmon-2.0.6-1.module+el8.2.0+6368+cf16aa14.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.6, commit: 9adfe850ef954416ea5dd0438d428a60f2139473'
  Distribution:
    distribution: '"rhel"'
    version: "8.2"
  IDMappings:
    gidmap:
    - container_id: 0
      host_id: 600000
      size: 1
    - container_id: 1
      host_id: 666666
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 600000
      size: 1
    - container_id: 1
      host_id: 666666
      size: 65536
  MemFree: 9740709888
  MemTotal: 16496082944
  OCIRuntime:
    name: runc
    package: runc-1.0.0-65.rc10.module+el8.2.0+6368+cf16aa14.x86_64
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree: 0
  SwapTotal: 0
  arch: amd64
  cpus: 4
  eventlogger: file
  hostname: ip-10-198-154-92.cloud.dev.net
  kernel: 4.18.0-193.1.2.el8_2.x86_64
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: slirp4netns-0.4.2-3.git21fdece.module+el8.2.0+6368+cf16aa14.x86_64
    Version: |-
      slirp4netns version 0.4.2+dev
      commit: 21fdece2737dc24ffa3f01a341b8a6854f8b13b4
  uptime: 1h 35m 11.67s (Approximately 0.04 days)
registries:
  blocked:
  - all
  insecure: null
  search:
  - test.artifactory.global.com
  - artifactory.global.com
store:
  ConfigFile: /home/podman/.config/containers/storage.conf
  ContainerStore:
    number: 5
  GraphDriverName: overlay
  GraphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: fuse-overlayfs-0.7.2-5.module+el8.2.0+6368+cf16aa14.x86_64
      Version: |-
        fuse-overlayfs: version 0.7.2
        FUSE library version 3.2.1
        using FUSE kernel interface version 7.26
  GraphRoot: /home/podman/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 16
  RunRoot: /tmp/run-600000
  VolumePath: /home/podman/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):

podman-1.6.4-11.module+el8.2.0+6368+cf16aa14.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):
AWS & VM

Понравилась статья? Поделить с друзьями:
  • Error retrieving database metadata
  • Error retrieving data перевод
  • Error required files are missing
  • Error required container mesh table is missing
  • Error require is not defined no undef