DC :dcmanager subcloud-group delete rest request doesn't return with status 204

Bug #1988221 reported by João Pedro Alexandroni Cordova de Sousa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
André Dexheimer Carneiro

Bug Description

Brief Description
-----------------
On DC system, dcmanager subcloud-group delete rest request doesn't return with status 204 as per the starlinx documentation https://docs.starlingx.io/api-ref/distcloud/api-ref-dcmanager-v1.html?expanded=creates-a-subcloud-group-detail,modifies-a-specific-subcloud-group-detail,deletes-a-specific-subcloud-group-detail#subcloud-groups

all the api delete requests returns with status code "204" not 200

Severity
--------
Minor

Steps to Reproduce
------------------
1)On DC system, From the remote machine or from the system itself, get the token
2)On dcsystem, create the subcloud-group
dcmanager subcloud-group add --name test

3)Now delete the group using the delete request

Expected Behavior
------------------
return code for delete request should be 204 as per starlingx documentation

Actual Behavior
----------------
State what is the actual behavior

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

System Configuration
--------------------
Distributed Cloud

Test Activity
-------------
Automation

Workaround
----------
No Workaround

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

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

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on distcloud (master)

Change abandoned by "André Dexheimer Carneiro <email address hidden>" on branch: master
Review: https://review.opendev.org/c/starlingx/distcloud/+/855372
Reason: Accidentally created 2 reviews for the same commit.

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

Reviewed: https://review.opendev.org/c/starlingx/distcloud/+/855284
Committed: https://opendev.org/starlingx/distcloud/commit/198f8aab716130cc16d47eaea7b80dba315d8206
Submitter: "Zuul (22348)"
Branch: master

commit 198f8aab716130cc16d47eaea7b80dba315d8206
Author: Andre Carneiro <email address hidden>
Date: Wed Aug 31 14:06:49 2022 -0300

    Fixes documentation for subcloud-group delete

    The return code for the subcloud-group delete rest
    request was wrong in the documentation. The endpoint
    returns status 200 upon success, instead of 204 as
    was written in the documentation. This changes the
    documentation with the correct response code.

    Closes-Bug: 1988221

    Signed-off-by: Andre Carneiro <email address hidden>
    Change-Id: I6fc89e7c71dd51e8aaf2b9858ef89a7d5fdbb871

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.8.0 stx.distcloud stx.docs
Changed in starlingx:
importance: Undecided → Low
assignee: nobody → André Dexheimer Carneiro (andre-dexheimercarneiro)
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.