Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is Zero ( size) allowed on CapacityRange field of createVolume? #488

Closed
humblec opened this issue Aug 30, 2021 · 4 comments
Closed

Is Zero ( size) allowed on CapacityRange field of createVolume? #488

humblec opened this issue Aug 30, 2021 · 4 comments

Comments

@humblec
Copy link
Contributor

humblec commented Aug 30, 2021

The createVolume capacityRange does not mention whether the createVolume->CapacityRange can be 0 or less . Is zero size/capacity expected/allowed by the spec?

  // This field is OPTIONAL. This allows the CO to specify the capacity
  // requirement of the volume to be provisioned. If not specified, the
  // Plugin MAY choose an implementation-defined capacity range. If
  // specified it MUST always be honored, even when creating volumes
  // from a source; which MAY force some backends to internally extend
  // the volume after creating it.
  CapacityRange capacity_range = 2;
@humblec
Copy link
Contributor Author

humblec commented Aug 30, 2021

Cc @jdef @msau42

@humblec
Copy link
Contributor Author

humblec commented Aug 31, 2021

it looks like its completely left to the CO and from spec side its flexible .. closing this issue.

@humblec humblec closed this as completed Aug 31, 2021
@jdef
Copy link
Member

jdef commented Aug 31, 2021 via email

@humblec
Copy link
Contributor Author

humblec commented Aug 31, 2021

Flexible sounds like.. room for error. I'll try to look into this soon

Thanks @jdef , will I keep this issue with open state then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants