readerrole,memberrole sysinv update show "None" instead of some 'access denied" message for remote cli test

Bug #1995020 reported by Luiz Felipe Kina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Luiz Felipe Kina

Bug Description

Brief Description
-----------------
readerrole sysinv update show "None" instead of some 'access denied" message for remote cli test

Severity
--------
Provide the severity of the defect.

minor

Steps to Reproduce
------------------
1)Create a readerole and add the user to "admin" project

openstack user create readeruser --project admin --password Li69nux*
openstack role add --project admin --user readeruser reader

2)login to horizon ui as readerole user and download the openrc file on the system

3)Setup the remote cli

3)try sysinv update, throws "none" response, instead of some "access denied" message

Expected Behavior
------------------
Its good to show "access denied" message instead of "none"

Actual Behavior
----------------
throws "none" as a response

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

System Configuration
--------------------
n/a

Branch/Pull Time/Commit
-----------------------
2022-08-27_18-00-06

Last Pass
---------
new feature testing

Timestamp/Logs
--------------
n/a

Test Activity
-------------
Feature testing

Workaround
----------
n/a

Changed in starlingx:
assignee: nobody → Luiz Felipe Kina (leiskeki)
Changed in starlingx:
status: New → In Progress
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.8.0 stx.clients
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to root (master)

Reviewed: https://review.opendev.org/c/starlingx/root/+/862536
Committed: https://opendev.org/starlingx/root/commit/4dec881ec474da5442c850d115131d18b0e9737d
Submitter: "Zuul (22348)"
Branch: master

commit 4dec881ec474da5442c850d115131d18b0e9737d
Author: Luiz Felipe Kina <email address hidden>
Date: Mon Oct 24 17:46:43 2022 -0400

    Update stx-platformclients image to version stx.8.0-v1.5.9

    Updated image with the new fixes since the last build

    Partial-bug: 1995020

    Signed-off-by: Luiz Felipe Kina <email address hidden>
    Change-Id: If884ae9075a4b02033fa49f0fea45ef8d0a1bea8

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

Reviewed: https://review.opendev.org/c/starlingx/clients/+/862537
Committed: https://opendev.org/starlingx/clients/commit/9f3b081df565995c6ca78c19cd9fd150381db616
Submitter: "Zuul (22348)"
Branch: master

commit 9f3b081df565995c6ca78c19cd9fd150381db616
Author: Luiz Felipe Kina <email address hidden>
Date: Mon Oct 24 17:53:38 2022 -0400

    Update stx-platformclients image to version stx.8.0-v1.5.9

    Updated image with the new fixes since the last build

    Partial-Bug: 1995020
    Depends-On: https://review.opendev.org/c/starlingx/root/+/862536

    Signed-off-by: Luiz Felipe Kina <email address hidden>
    Change-Id: I00f1c13b885f55936a374771a2720a482d7ee3ea

Revision history for this message
Ghada Khalil (gkhalil) wrote :

Marking as Fix Released as the above two reviews are merged.

Changed in starlingx:
status: In Progress → 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.