Volume create API reference incorrectly says that name is a required parameter

Bug #1794115 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Matt Riedemann

Bug Description

As seen from the volume create API schema, the "name" parameter is not required:

https://github.com/openstack/cinder/blob/5a42ec3631e9e430129c2526191d3273cd72271b/cinder/api/schemas/volumes.py#L32

In fact, nova-compute never passes a name during volume creation during boot from volume for a volume-backed server.

Tags: api-ref
Matt Riedemann (mriedem)
Changed in cinder:
assignee: nobody → Matt Riedemann (mriedem)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/604803

Changed in cinder:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/604803
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=00c5d946cd0ee58d8b03473c2ad22db54055d5c9
Submitter: Zuul
Branch: master

commit 00c5d946cd0ee58d8b03473c2ad22db54055d5c9
Author: Matt Riedemann <email address hidden>
Date: Mon Sep 24 10:41:34 2018 -0400

    api-ref: mark name as optional in volume create API

    The "name" parameter to the volume create API is optional,
    this makes the docs reflect that. While in here, I've
    renamed volume_name_1 to volume_name_optional so the variable
    name is descriptive and dropped the redundant name_8 variable.

    Change-Id: Ice42f06112a268b229f770f34096de19eb3447b2
    Closes-Bug: #1794115

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 14.0.0.0rc1

This issue was fixed in the openstack/cinder 14.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.