Unlock failed because vlan id of oam interface is none

Bug #1979253 reported by Joohyun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Joohyun

Bug Description

Brief Description
-----------------
When configuring an interface to vlan, it is possible to configure the interface without entering a vlan id.
If vlan id is set without input, vlan id is set to NONE. If this interface is assigned to oam and unlocked, a problem occurs. After unlock, the device name is set to vlanNone and the oam interface cannot up normally.

Severity
--------
Major

Steps to Reproduce
------------------
1. create vlan interface without vlan id
2. assign to oam
3. unlock

Expected Behavior
------------------
If configuring an interface to vlan, it must to enter vlan id.

Actual Behavior
----------------
When configuring an interface to vlan, it is possible to configure the interface without entering a vlan id.

Reproducibility
---------------
100%

System Configuration
--------------------
All

Branch/Pull Time/Commit
-----------------------
N/A

Last Pass
---------
N/A

Timestamp/Logs
--------------
N/A

Test Activity
-------------
Sanity

Workaround
----------
N/A

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/config/+/846903

Changed in starlingx:
status: New → In Progress
Ghada Khalil (gkhalil)
tags: added: stx.networking
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/846903
Committed: https://opendev.org/starlingx/config/commit/60c1074f254e4dc2970971c4d8a334ae6ab0fab4
Submitter: "Zuul (22348)"
Branch: master

commit 60c1074f254e4dc2970971c4d8a334ae6ab0fab4
Author: Joohyun <email address hidden>
Date: Tue Jun 21 14:31:57 2022 +0900

    Disallow without vlan id when creating vlan interface

    When configuring an interface to vlan, it is possible to configure the
    interface without entering a vlan id. If vlan id is set without input, vlan id
    is set to NONE. If this interface is assigned to oam and unlocked, a problem
    occurs. After unlock, the device name is set to vlanNone and the oam interface
    cannot up normally.

    Closes-Bug: 1979253

    Test Plan:
    PASS: Create vlan interface with vlan id and succeed in creation
    PASS: Create vlan interface without vlan id and fail in creation

    Signed-off-by: ohjoohyun <email address hidden>
    Change-Id: Ifd5527699cb8e8f874a54292f40656fc890f0a1a

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.7.0
Changed in starlingx:
importance: Undecided → Medium
assignee: nobody → Joohyun (ohjoohyun)
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.