-
Notifications
You must be signed in to change notification settings - Fork 9
M3 - Virtual disk - US02 - US03 - Create / Delete / List #153
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
Conversation
https://github.com/ScaleComputing/HyperCoreAnsibleCollection/actions/runs/4466336327/ - jobs that failed here are not related to this PR (I believe). CI passes. |
Signed-off-by: Justin Cinkelj <[email protected]>
Signed-off-by: Justin Cinkelj <[email protected]>
Signed-off-by: Justin Cinkelj <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid catching arbitrary exception
Removing the ISO bug example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest to use specific exception, not the generic ValueError. The palce where we erally decide that thia needs to be ignored - it is a few calls away, and ValueError could be triggered by other code, not just this json.loads
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. LGTM. I will run integ test manually.
Signed-off-by: Justin Cinkelj <[email protected]>
As a user I want to be able to upload foreign virtual disks to the cluster from local file (list formats allowed - qcow2, vmdk, vhd):
Important: all conversion will be done by API
As a user I want to be able to list and delete uploaded virtual disks on cluster
Attach will be done in a separate PR.