STX-Openstack | add osc-placement to openstack-clients

Bug #2042482 reported by Gabriel Calixto de Paula
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Luan Nunes Utimura

Bug Description

Brief Description
-----------------
Due to the recent upversion from Ussuri to Antelope, the 'openstack hypervisor show <hypervisor>' command has removed the 'vcpus_used' and 'free_disk_gb' rows due to these being unreliable so the osc-placement component should be added to stx-openstack as it has commmands that return these values.

Severity
-----------------
Minor

Steps to reproduce
-----------------
1- execute 'openstack hypervisor show <hypervisor>'

Expected Behavior
------------------
it used to return the vcpu and disk values

Actual Behavior
----------------
it no longer does

Reproducibility
---------------
Reproducible

System Configuration
--------------------
DX

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

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

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

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

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

Changed in starlingx:
status: New → In Progress
Changed in starlingx:
assignee: nobody → Luan Nunes Utimura (lutimura)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-armada-app (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tools (master)

Reviewed: https://review.opendev.org/c/starlingx/tools/+/899898
Committed: https://opendev.org/starlingx/tools/commit/f1d7b078f1389e18e67bcef12ecb7f9867814a10
Submitter: "Zuul (22348)"
Branch: master

commit f1d7b078f1389e18e67bcef12ecb7f9867814a10
Author: Luan Nunes Utimura <email address hidden>
Date: Wed Nov 1 20:14:05 2023 -0300

    Add python3-osc-placement in openstack layer

    This change adds `python3-osc-placement` to the `openstack` layer so
    that the end user has access to CLIs such as:

      $ openstack resource provider ...

    Test Plan:
    PASS - Run `downloader` successfully
    PASS - Check in the logs that the binary was downloaded successfully

    Partial-Bug: 2042482

    Change-Id: Iec0c555573043d8e54e0a21a0c83358bc3ce934f
    Signed-off-by: Luan Nunes Utimura <email address hidden>

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-armada-app (master)

Reviewed: https://review.opendev.org/c/starlingx/openstack-armada-app/+/899900
Committed: https://opendev.org/starlingx/openstack-armada-app/commit/9b0fbb30f065d5049df320252e142ce0e5a18c17
Submitter: "Zuul (22348)"
Branch: master

commit 9b0fbb30f065d5049df320252e142ce0e5a18c17
Author: Luan Nunes Utimura <email address hidden>
Date: Wed Nov 1 20:47:16 2023 -0300

    stx-openstackclients: Add python3-osc-placement

    This change adds `python3-osc-placement` to the `stx-openstackclients`
    container image so that the end user has access to CLIs provided by
    Placement, e.g.:

      $ openstack resource provider ...

    As mentioned in LP-2042482, these CLIs can be used to compensate for
    a change in the `openstack hypervisor` command that cause `vcpus_used`
    and `free_disk_gb` fields to no longer be returned.

    These are now only accessible via:

      $ openstack resource provider inventory list
      $ openstack resource provider usage show

    Test Plan:
    PASS - Build stx-debian base image
    PASS - Build stx-openstackclients container image
    PASS - Upload/apply stx-openstack
    PASS - Upload built image to the system's registry and perform
           helm-override to use it in the clients container
    PASS - Verify that the CLIs are accessible:
            $ openstack resource provider -h
    PASS - Remove/delete stx-openstack

    Depends-On: https://review.opendev.org/c/starlingx/tools/+/899898

    Closes-Bug: 2042482

    Change-Id: I1c72b135e7ff662b83de9eac1ec5c049943017f2
    Signed-off-by: Luan Nunes Utimura <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.9.0 stx.distro.openstack
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.