Bug 1976135 - pifconfig - [Errno 99] Cannot assign requested address (when link is DOWN)
Summary: pifconfig - [Errno 99] Cannot assign requested address (when link is DOWN)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-ethtool
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lumír Balhar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-25 09:49 UTC by Lukáš Zachar
Modified: 2021-08-05 20:51 UTC (History)
6 users (show)

Fixed In Version: python-ethtool-0.15-1.fc35
Clone Of:
Environment:
Last Closed: 2021-08-05 20:51:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lukáš Zachar 2021-06-25 09:49:42 UTC
Description of problem:

It system has link in down state, pifconfig fails with `** ERROR ** [Device *]: [Errno 99] Cannot assign requested address`

Version-Release number of selected component (if applicable):
python3-ethtool-0.14-9.fc34

How reproducible:
always

Steps to Reproduce:
1. System with (multiple) NIC, one of them in DOWN state
2. pifconfig

Actual results:
lo
	inet addr:127.0.0.1
	Mask:255.0.0.0
	inet6 addr: ::1/128 Scope: host
	UP LOOPBACK RUNNING

enP2p1s0
	HWaddr *****
	inet addr:*****
	Bcast:*****
	Mask:255.255.224.0
	inet6 addr: ***** Scope: global
	inet6 addr: ***** Scope: link
	UP BROADCAST RUNNING MULTICAST

** ERROR ** [Device enp1s0f0np0]: [Errno 99] Cannot assign requested address

Expected results:
No error

Additional info:
`ip a` says
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enP2p1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether *****
    inet ***** brd ***** scope global dynamic noprefixroute enP2p1s0
       valid_lft 82653sec preferred_lft 82653sec
    inet6 ***** scope global dynamic noprefixroute 
       valid_lft 2591981sec preferred_lft 604781sec
    inet6 ***** scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: enp1s0f0np0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether *****
4: enp1s0f1np1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether *****

Comment 2 Lumír Balhar 2021-07-29 08:54:12 UTC
This issue is already fixed upstream but has not been released yet. I'm gonna prepare a new release upstream and then update the downstream package.

Comment 3 Fedora Update System 2021-08-05 20:48:52 UTC
FEDORA-2021-62f13d319e has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-62f13d319e

Comment 4 Fedora Update System 2021-08-05 20:51:43 UTC
FEDORA-2021-62f13d319e has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.