api-ref: Improve the description in unshleve server API

Bug #1908336 reported by Brin Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Triaged
Low
Brin Zhang

Bug Description

Since microversion 2.77, allowed request body schema are {'unshelve': null} or {'unshelve': {'availability_zone': <string>}}, and {'unshelve': {}} request body is not allowed.

The reason that not allowed to request {}: {} means allowed everything or any unknown request body which is later ignored so confusing for users. where {'unshelve': null} means allow only empty request body, like for {}. i can pass {'unshelve': {'unknown': 'anything', ....}}, that's not security.

api-ref: https://docs.openstack.org/api-ref/compute/?expanded=unshelve-restore-shelved-server-unshelve-action-detail,show-console-output-os-getconsoleoutput-action-detail#unshelve-restore-shelved-server-unshelve-action

Tags: api-ref docs
Brin Zhang (zhangbailin)
Changed in nova:
importance: Undecided → Low
assignee: nobody → Brin Zhang (zhangbailin)
Brin Zhang (zhangbailin)
tags: added: api-ref
tags: added: docs
Changed in nova:
status: New → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 23.0.0.0rc1

This issue was fixed in the openstack/nova 23.0.0.0rc1 release candidate.

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.