This page provides detailed steps on how to enable the containerization of HPE 3PAR, Primera and Alletra 9000 Cinder driver on top of the OSP Cinder images. It also contains steps to deploy & configure HPE 3PAR family backends for RHOSP17.1.
- Red Hat OpenStack Platform 17.1 with RHEL 9.2.
- Array FW:
- HPE 3PAR array 3.3.1 or higher
- HPE Primera array 4.2 or higher
- HPE Alletra 9000 array 9.4 or higher
To use HPE 3PAR/Primera/Alletra 9000 hardware as a Block Storage back end, cinder-volume container having python-3parclient needs to be deployed.
Procedure
Create a new container images file for your overcloud:
openstack tripleo container image prepare default \
--local-push-destination \
--output-env-file containers-prepare-parameter-hpe.yaml
Sample containers-prepare-parameter-hpe.yaml file is available in templates folder for reference.
Please generate a fresh containers-prepare-parameter.yaml file, and modify it as per deployment.
In containers-prepare-parameter.yaml file, the overcloud tag and cinder-volume image tag are currently set to "17.1" which refers to the latest version. If customers want to deploy other versions, those values need to be changed to their desired choice. Both versions need to be the same value.
Kindly refer Red Hat documentation here
When director deploys the overcloud, the overcloud uses the HPE container image instead of the standard container image.
The environment file is an OSP director environment file. The environment file contains the settings for each backend you want to define.
Create the environment file “cinder-hpe-primera-[iscsi|fc].yaml” under /home/stack/templates/ with below parameters and other backend details.
parameter_defaults:
CinderEnableIscsiBackend: false
ControllerExtraConfig:
Sample files for both iSCSI and FC backends are available in templates folder for reference.
For further details of HPE 3PAR cinder driver, kindly refer documentation here
After creating cinder-hpe-primera-[iscsi|fc].yaml
file with appropriate backends, deploy the backend configuration by running the openstack overcloud deploy command using the templates option.
Use the -e
option to include the environment file cinder-hpe-primera-[iscsi|fc].yaml
.
The order of the environment files (.yaml) is important as the parameters and resources defined in subsequent environment files take precedence.
openstack overcloud deploy --templates /usr/share/openstack-tripleo-heat-templates \
-e /home/stack/templates/node-info.yaml \
-e /home/stack/containers-prepare-parameter-hpe.yaml \
-e /home/stack/templates/cinder-hpe-primera-[iscsi|fc].yaml \
--ntp-server <ntp_server_ip> \
--debug
-
Run "openstack volume service list" on the overcloud, and verify the 3PAR backend is up
-
Verify a volume can be created