-
Notifications
You must be signed in to change notification settings - Fork 935
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
Storage: Add Pure Storage storage driver #14599
base: main
Are you sure you want to change the base?
Conversation
return err | ||
} | ||
|
||
err = os.Remove(mountPath) |
Check failure
Code scanning / CodeQL
Uncontrolled data used in path expression High
user-provided value
This path depends on a
user-provided value
This path depends on a
user-provided value
This path depends on a
user-provided value
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 believe @simondeziel is planning to address this issue more generally higher up the call stack, so wont block this PR.
c53014e
to
69f6cae
Compare
doc/howto/storage_pools.md
Outdated
|
||
Create a storage pool named `pool1` that uses NVMe/TCP by default: | ||
|
||
lxc storage create pool1 pure pure.gateway=https://<purestorage-address> pure.api.token=<purestorage-api-token> pure.array.address=<nvme-ip> |
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.
That gateway HTTPS verification presumably relies on the OS provided trust store so it would work if it's an "official TLS" cert like one signed by Let's Encrypt.
I must admit not knowing how to provide a different trusted CA if one doesn't have an official cert.
69f6cae
to
231d0f0
Compare
231d0f0
to
276bb1b
Compare
@minaelee Thanks for the comments. I've addressed all of them, but will ask you for another review just before we merge the PR, as there may still be some changes to the docs. Thanks again :) |
Signed-off-by: Din Music <[email protected]>
…ce information Signed-off-by: Din Music <[email protected]>
…volumes Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
…zed images Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Pure Storage does not allow mounting snapshots directly, therefore we have to create a new volume from it before mounting it. Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
…ge pool is created Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
… token are set Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Correctly initialize Pure Storage pool. Signed-off-by: Din Music <[email protected]>
…lable storage drivers Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Currently, Pure Storage driver does not support recovery. Mainly bacuse the storage volume names are encoded, which would result in indistinguishable storage volume names after the recovery. Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
… drivers Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
Signed-off-by: Din Music <[email protected]>
c4de43a
to
1a8a42a
Compare
This PR adds
pure
storage driver for Pure Storage remote storage.Driver supports communication over either iSCSI or NVMe/TCP.
iscsiadm
to the LXD host: commands/daemon: Redirect iscsiadm to the host lxd-pkg-snap#646