Incorrect documentation for property volume_type suggest name is volumes_type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python client library for Sahara |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Both the help in the openstack client and web pages states that the property name for specifying a volume type is "volumes_type" and not "volume_type".
# openstack dataprocessing node group template create --help
--volumes-type <volumes-type>
Using: "volumes_type": "my-cinder",
# openstack dataprocessing node group template create --json worker.json
create() got an unexpected keyword argument 'volumes_type'
Changing to: "volume_type": "my-cinder",
# openstack dataprocessing node group template create --json worker.json
Volume type 'my-cinder' not found
This document has 6 occurrences of the same typo.
https:/
This document is auto-generated. So, volumes_type parameter exists, and it will be taken into account if volumes-per-node is present. Otherwise there is no sense to set that up.