Remove status field from security services API

Bug #1966807 reported by Carlos Eduardo
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
In Progress
Low
Lucas Morais de oliveira

Bug Description

Description
===========
Currently, the get security service API returns an attribute that does not belong to the security services (status). This was added a while ago for compatibility reasons but there is a note that states we should remove it when it becomes something that isn't being used anymore [1].

We are a couple of releases away from when that note was added, so can drop that from the view.

Steps to reproduce
==================

1. Have a devstack environment on the most recent branch
2. Get the output of the manila share-service-show command

Expected result
===============
It shouldn't have a status field in there.

Actual result
=============
There is a status field in the security service

Environment
===========
1. Ubuntu 20.04

2. No specific backend

3. Issue the manila security-service-show command using the -d flag (debug)

[1] https://github.com/openstack/manila/blob/stable/yoga/manila/api/views/security_service.py#L43-L46

Vida Haririan (vhariria)
tags: added: api
Changed in manila:
assignee: nobody → Lucas Morais de oliveira (lucasmoliveira059)
milestone: none → zed-1
importance: Undecided → Low
status: New → Triaged
Changed in manila:
milestone: zed-1 → zed-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila/+/845586

Changed in manila:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila-tempest-plugin (master)
Changed in manila:
milestone: zed-2 → zed-3
Changed in manila:
milestone: zed-3 → antelope-1
Revision history for this message
Rotense Gabriel (rotense) wrote :

can i work on this ?

Revision history for this message
Lucas Morais de oliveira (lucasmoliveira059) wrote :

Hi =). Well, I submitted a patch with a solution. We are waiting for the community review. If you want to take a look ( https://review.opendev.org/c/openstack/manila/+/845586) Thank you.

Changed in manila:
milestone: antelope-1 → antelope-2
Changed in manila:
milestone: antelope-2 → antelope-3
Changed in manila:
milestone: antelope-3 → antelope-rc1
Changed in manila:
milestone: antelope-rc1 → bobcat-1
Changed in manila:
milestone: bobcat-1 → bobcat-2
Changed in manila:
milestone: bobcat-2 → bobcat-3
Changed in manila:
milestone: bobcat-3 → caracal-1
Changed in manila:
milestone: caracal-1 → caracal-2
milestone: caracal-2 → caracal-3
Changed in manila:
milestone: caracal-3 → dalmation-1
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.