Unable to modify link speed if higher than the interface speed

Bug #1940632 reported by Bartosz Woronicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Medium
Unassigned
maas-ui
Fix Released
Unknown

Bug Description

Intel card reporting higher link speed thank Interface speed.
But it would be ok, issue with the speed reporting, maybe firmware update would help, but
I cannot change the speed in the GUI interface.
Once it gathered these value, the save button is greyed out (see the screenshots)

0000:3b:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10G X550T (rev 01)
0000:3b:00.1 Ethernet controller: Intel Corporation Ethernet Controller 10G X550T (rev 01)

$ ethtool -i eno7
driver: enic
version: 2.3.0.53
firmware-version: 5.1(3a)
expansion-rom-version:
bus-info: 0000:1d:00.4
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no

$ ethtool eno7
Settings for eno7:
        Supported ports: [ FIBRE ]
        Supported link modes: 10000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: No
        Supported FEC modes: Not reported
        Advertised link modes: 10000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 20000Mb/s ##################################<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
        Duplex: Full
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
Cannot get wake-on-lan settings: Operation not permitted
        Current message level: 0x00000000 (0)

        Link detected: yes

Work around for it is to use CLI

$ maas admin interface update ggt43c 174 link_speed=10000
Success.
Machine-readable output follows:
{
    "link_connected": true,
    "children": [],
    "id": 174,
    "discovered": null,
    "mac_address": "3c:13:cc:14:fa:30",
    "parents": [],
    "vendor": "Cisco Systems Inc",
    "product": "VIC Ethernet NIC",
    "enabled": true,
    "effective_mtu": 1500,
    "links": [
        {
            "id": 916,
            "mode": "link_up"
        }
    ],
    "numa_node": 0,
    "firmware_version": "5.1(3a)",
    "name": "eno7",
    "system_id": "ggt43c",
    "type": "physical",
    "interface_speed": 10000,
    "sriov_max_vf": 0,
    "vlan": {
        "vid": 0,
        "mtu": 1500,
        "dhcp_on": true,
        "external_dhcp": null,
        "relay_vlan": null,
        "space": "oam-space",
        "primary_rack": "gpsdcf",
        "id": 5003,
        "secondary_rack": "nsfe6e",
        "fabric_id": 0,
        "fabric": "fabric-0",
        "name": "untagged",
        "resource_uri": "/MAAS/api/2.0/vlans/5003/"
    },
    "link_speed": 10000,
    "tags": [],
    "params": "",
    "resource_uri": "/MAAS/api/2.0/nodes/ggt43c/interfaces/174/"
}

$ maas admin interface read ggt43c 174
Success.
Machine-readable output follows:
{
    "sriov_max_vf": 0,
    "link_speed": 10000,
    "product": "VIC Ethernet NIC",
    "mac_address": "3c:13:cc:14:fa:30",
    "discovered": null,
    "links": [
        {
            "id": 916,
            "mode": "link_up"
        }
    ],
    "vlan": {
        "vid": 0,
        "mtu": 1500,
        "dhcp_on": true,
        "external_dhcp": null,
        "relay_vlan": null,
        "secondary_rack": "nsfe6e",
        "fabric_id": 0,
        "primary_rack": "gpsdcf",
        "fabric": "fabric-0",
        "space": "oam-space",
        "id": 5003,
        "name": "untagged",
        "resource_uri": "/MAAS/api/2.0/vlans/5003/"
    },
    "effective_mtu": 1500,
    "type": "physical",
    "enabled": true,
    "id": 174,
    "tags": [],
    "name": "eno7",
    "parents": [],
    "params": "",
    "vendor": "Cisco Systems Inc",
    "system_id": "ggt43c",
    "link_connected": true,
    "numa_node": 0,
    "firmware_version": "5.1(3a)",
    "interface_speed": 10000,
    "children": [],
    "resource_uri": "/MAAS/api/2.0/nodes/ggt43c/interfaces/174/"
}

Tags: ui
Revision history for this message
Bartosz Woronicz (mastier1) wrote :
Revision history for this message
Bartosz Woronicz (mastier1) wrote :

This is how it looks

Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → next
tags: added: ui
removed: gui interface
Changed in maas-ui:
importance: Undecided → Unknown
Revision history for this message
Huw Wilkins (huwshimi) wrote :

Hi, which version of MAAS are you currently using? In more recent versions this field has been changed to produce a warning rather than preventing the form from being submitted.

Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

Is this reproducible on MAAS 3.1 or 3.2 beta?

Changed in maas:
importance: High → Medium
status: Triaged → Incomplete
Revision history for this message
Bartosz Woronicz (mastier1) wrote : Re: [Bug 1940632] Re: Unable to modify link speed if higher than the interface speed
Download full text (5.0 KiB)

I don't have that hardware anymore to check out.
You would need to simulate it somewhat.

czw., 12 maj 2022, 10:16 użytkownik Jerzy Husakowski <
<email address hidden>> napisał:

> Is this reproducible on MAAS 3.1 or 3.2 beta?
>
> ** Changed in: maas
> Importance: High => Medium
>
> ** Changed in: maas
> Status: Triaged => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1940632
>
> Title:
> Unable to modify link speed if higher than the interface speed
>
> Status in MAAS:
> Incomplete
> Status in maas-ui:
> New
>
> Bug description:
> Intel card reporting higher link speed thank Interface speed.
> But it would be ok, issue with the speed reporting, maybe firmware
> update would help, but
> I cannot change the speed in the GUI interface.
> Once it gathered these value, the save button is greyed out (see the
> screenshots)
>
> 0000:3b:00.0 Ethernet controller: Intel Corporation Ethernet Controller
> 10G X550T (rev 01)
> 0000:3b:00.1 Ethernet controller: Intel Corporation Ethernet Controller
> 10G X550T (rev 01)
>
> $ ethtool -i eno7
>
> driver: enic
>
> version: 2.3.0.53
>
> firmware-version: 5.1(3a)
>
> expansion-rom-version:
>
> bus-info: 0000:1d:00.4
>
> supports-statistics: yes
>
> supports-test: no
>
> supports-eeprom-access: no
>
> supports-register-dump: no
>
> supports-priv-flags: no
>
> $ ethtool eno7
>
> Settings for eno7:
>
> Supported ports: [ FIBRE ]
>
> Supported link modes: 10000baseT/Full
>
> Supported pause frame use: No
>
> Supports auto-negotiation: No
>
> Supported FEC modes: Not reported
>
> Advertised link modes: 10000baseT/Full
>
> Advertised pause frame use: No
>
> Advertised auto-negotiation: No
>
> Advertised FEC modes: Not reported
>
> Speed: 20000Mb/s
> ##################################<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> Duplex: Full
>
> Port: FIBRE
>
> PHYAD: 0
>
> Transceiver: internal
>
> Auto-negotiation: off
>
> Cannot get wake-on-lan settings: Operation not permitted
>
> Current message level: 0x00000000 (0)
>
>
> Link detected: yes
>
>
>
> Work around for it is to use CLI
>
> $ maas admin interface update ggt43c 174 link_speed=10000
> Success.
> Machine-readable output follows:
> {
> "link_connected": true,
> "children": [],
> "id": 174,
> "discovered": null,
> "mac_address": "3c:13:cc:14:fa:30",
> "parents": [],
> "vendor": "Cisco Systems Inc",
> "product": "VIC Ethernet NIC",
> "enabled": true,
> "effective_mtu": 1500,
> "links": [
> {
> "id": 916,
> "mode": "link_up"
> }
> ],
> "numa_node": 0,
> "firmware_version": "5.1(3a)",
> "name": "eno7",
> "system_id": "ggt43c",
> "type": "physical",
> "interface_speed": 10000,
> "sriov_max_vf": 0,
> "vlan": {
> "vid": 0,
> "mtu": 1500,
> "dhcp_on":...

Read more...

Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

The behaviour has been changed in the UI in a previous version of MAAS. If this issue occurs again we will reopen this ticket.

Changed in maas:
status: Incomplete → Invalid
Changed in maas:
milestone: next → 3.2.0
Changed in maas:
milestone: 3.2.0 → 3.2.0-beta6
Changed in maas-ui:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.