openebs-archive / maya

Manage Container Attached Storage (CAS) - Data Engines in Kubernetes
https://docs.openebs.io
Apache License 2.0
184 stars 201 forks source link

fix(volume provisioning): fix CStor volume provisioning request without creating PVC #1738

Closed mittachaitu closed 4 years ago

mittachaitu commented 4 years ago

Signed-off-by: mittachaitu sai.chaithanya@mayadata.io

Pull Request template

Please, go through these steps before you submit a PR.

Why is this PR required? What issue does it fix?: This PR fixes CStor volume provisioning issue. Currently REST request to create CStor volume will fail if request is made without creating PVC because of following bug:

What this PR does?: This PR skips the execution of cstor-volume-create-puttargetservice-default runtask if creation request is made without creating PVC.

Does this PR require any upgrade changes?: No

If the changes in this PR are manually verified, list down the scenarios covered::

Any additional information for your reviewer? : The creation of cStor volume without PVC creation is a use case related to cStor restore.

Mention if this PR is part of any design or a continuation of previous PRs

Checklist: