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

Samples: Add Dell PowerMax ISCSI backend samples #331

Merged
merged 6 commits into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions config/samples/backends/dell/powermax/iscsi/backend.yaml
jproque-dell marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# To be able to use this sample it is necessary to:
# - Have a Dell PowerMax backend with iSCSI support
# - Have the Unisphere for PowerMax credentials in cinder-volume-powermax-secrets.yaml
# - Having iscsid and multpathd running on the host (automatically done by this sample)
#
# The correct way to configure and run the daemons is using `MachineConfig` as shown in `iscsid.yaml` and `multipathd.yaml`, like this sample does.
#
# ATTENTION: After applying this OpenShift nodes will reboot, because of the `MachineConfig` changes and will take a while to recover.

apiVersion: core.openstack.org/v1beta1
kind: OpenStackControlPlane
metadata:
name: openstack
spec:
cinder:
template:
cinderVolumes:
powermax-iscsi:
networkAttachments:
- storage
customServiceConfigSecrets:
- cinder-volume-powermax-secrets
jproque-dell marked this conversation as resolved.
Show resolved Hide resolved
customServiceConfig: |
[powermax-iscsi]
volume_backend_name=powermax
volume_driver = cinder.volume.drivers.dell_emc.powermax.iscsi.PowerMaxISCSIDriver
powermax_port_groups = [OS-ISCSI-PG]
powermax_array = 000120001607
powermax_srp = SRP_1
image_volume_cache_enabled = True
use_multipath_for_image_xfer = True
jproque-dell marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Define the "cinder-volume-powermax-secrets" Secret that contains sensitive
# information pertaining to the [powermax-iscsi] backend.
apiVersion: v1
kind: Secret
metadata:
labels:
service: cinder
component: cinder-volume
name: cinder-volume-powermax-secrets
type: Opaque
stringData:
powermax-secrets.conf: |
[powermax-iscsi]
san_ip = 10.225.104.114
san_login = smc
san_password = smc

jproque-dell marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
resources:
- ../../../bases/iscsid
- ../../../bases/multipathd
- ../../../bases/openstack
- cinder-volume-powermax-secrets.yaml
patches:
- path: backend.yaml
Loading