"created_at" and "updated_at" fields from "system host-if-show" are always empty

Bug #2071730 reported by Fabiano Correa Mercer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Fabiano Correa Mercer

Bug Description

The command: "system host-if-show" has the fields: "created_at" and "updated_at"
but they are always empty.

# system host-if-list 1
+--------------------------------------+----------+----------+----------+---------+---------------+--------------+-------------------------------+------------+
| uuid | name | class | type | vlan id | ports | uses i/f | used by i/f | attributes |
+--------------------------------------+----------+----------+----------+---------+---------------+--------------+-------------------------------+------------+
| 2fb3ae55-f198-4ae2-9c54-7fb6dc43afda | oam0 | platform | vlan | 112 | [] | ['pxeboot0'] | [] | MTU=1500 |
| 31ea99ea-f46f-44e6-a557-0efa8c15d0ae | cluster0 | platform | vlan | 42 | [] | ['pxeboot0'] | [] | MTU=1500 |
| 4f0f726a-6978-4952-a665-b76e3a9881c2 | pxeboot0 | platform | ethernet | None | ['enp24s0f0'] | [] | ['oam0', 'mgmt0', 'cluster0'] | MTU=9216 |
| ad535a85-8bce-41b2-b5a1-e4ea35a74a49 | mgmt0 | platform | vlan | 41 | [] | ['pxeboot0'] | [] | MTU=1500 |
+--------------------------------------+----------+----------+----------+---------+---------------+--------------+-------------------------------+------------+

# system host-if-show 1 ad535a85-8bce-41b2-b5a1-e4ea35a74a49
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| ifname | mgmt0 |
| iftype | vlan |
| ports | [] |
| imac | 40:a6:b7:b4:a8:5c |
| imtu | 1500 |
| ifclass | platform |
| ptp_role | none |
| aemode | None |
| schedpolicy | None |
| txhashpolicy | None |
| primary_reselect | None |
| uuid | ad535a85-8bce-41b2-b5a1-e4ea35a74a49 |
| ihost_uuid | 599a5587-2ffb-4e6e-b0e1-05ed84dc1468 |
| vlan_id | 41 |
| uses | ['pxeboot0'] |
| used_by | [] |
| created_at | |
| updated_at | |
| sriov_numvfs | 0 |
| sriov_vf_driver | None |
| max_tx_rate | None |
| ipv4_mode | disabled |
| ipv6_mode | static |
| accelerated | [True] |
+------------------+--------------------------------------+

Changed in starlingx:
assignee: nobody → Fabiano Correa Mercer (fcorream)
Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/923182
Committed: https://opendev.org/starlingx/config/commit/4ecb6cdcaeaf29b1752b5872fd9d7572fec75bc1
Submitter: "Zuul (22348)"
Branch: master

commit 4ecb6cdcaeaf29b1752b5872fd9d7572fec75bc1
Author: Fabiano Correa Mercer <email address hidden>
Date: Mon Jul 1 15:35:31 2024 -0300

    Include timestamps in API representation of an interface

    The fields "created_at" and "updated_at" from
    system host-if-show command are not being shown.
    The reason is: these fields were removed from the
    dictionary.

    Tests done:
    AIO-SX fresh install

    Closes-Bug: #2071730

    Change-Id: I51d4c4610e7ab00d0804ca0a23b5fbb2fbc15e2c
    Signed-off-by: Fabiano Correa Mercer <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
summary: - "created_at" and "updated_at" fields from "system host-if-show" iare
+ "created_at" and "updated_at" fields from "system host-if-show" are
always empty
Ghada Khalil (gkhalil)
tags: added: stx.10.0 stx.networking
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.