network_device_info.py traceback when running and a device is not configured for IPv4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
High
|
Jeff Lane |
Bug Description
-------
Category: NETWORK
Interface: enp1s0f0
Product: I350 Gigabit Network Connection
Vendor: Intel Corporation
Driver: igb
Driver Version: 5.4.0-k
Path: /devices/
Id: [8086:1521]
Subsystem Id: [1137:00d5]
Mac: 70:e4:22:83:64:50
Carrier Status: Connected
Ipv4: 10.193.36.103
Ipv6: fe80::72e4:
Speed: 1000
Traceback (most recent call last):
File "/tmp/nest-
for device in udev.devices():
File "/tmp/nest-
nd.interface = getattr(device, 'interface', None)
File "/tmp/nest-
self.
File "/tmp/nest-
self._ipv4 = Utils.get_
File "/tmp/nest-
struct.
OSError: [Errno 99] Cannot assign requested address
This happens because the next interface in the list does not have an IPv4 address, and this creates a traceback in Utils.get_
Related branches
- Jeff Lane : Approve
- Jonathan Cave (community): Needs Information
- Sylvain Pineau (community): Needs Fixing
-
Diff: 28 lines (+12/-5)1 file modifiedbin/network_device_info.py (+12/-5)
Changed in plainbox-provider-checkbox: | |
milestone: | 0.50.0 → 0.51.0 |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
milestone: | 0.51.0 → 0.50.0 |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |