From 25906ad761c5d46a2ba765a78c0caa7aa77f27c9 Mon Sep 17 00:00:00 2001 From: sonawane-shashikant Date: Wed, 12 Feb 2020 10:02:18 +0000 Subject: [PATCH 1/6] Updated hyperlinks --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f2883d07..b290e489 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ $ ansible-playbook -i hosts install_hpe_3par_volume_driver.yml ``` 5. Validate successful installation of the plugin. See [Post Installation Checks](https://github.com/hpe-storage/python-hpedockerplugin/blob/master/docs/PostInstallation_checks.md). -#### For supported features and usage of the HPE 3PAR and HPE Primera Volume Plug-in for Docker, see [Supported Features and Usage](https://github.com/sonawane-shashikant/python-hpedockerplugin/blob/master/docs/Usage_Troubleshoot_Limitations.md#Supported-Features) +#### For supported features and usage of the HPE 3PAR and HPE Primera Volume Plug-in for Docker, see [Supported Features and Usage](https://github.com/hpe-storage/python-hpedockerplugin/blob/master/docs/Usage_Troubleshoot_Limitations.md#Supported-Features) #### For updating the configuration of the HPE 3PAR and HPE Primera Volume Plug-in for Docker, see [updating an existing plugin installation ](https://github.com/sonawane-shashikant/python-hpedockerplugin/blob/master/Uninstall_Update_Upgade.md#update-the-array-backends-in-openshiftkubernetes-environment) #### For installation of the HPE 3PAR and HPE Primera Volume Plug-in for Docker on additional nodes, see [installing the HPE 3PAR and HPE Primera Volume Plug-in for Docker on additional nodes](https://github.com/sonawane-shashikant/python-hpedockerplugin/blob/master/Uninstall_Update_Upgade.md#install-the-hpe-3par-and-hpe-primera-volume-plug-in-for-docker-on-additional-nodes-in-the-cluster) #### For upgrade of the HPE 3PAR and HPE Primera Volume Plug-in for Docker, see [upgrading the plugin](https://github.com/sonawane-shashikant/python-hpedockerplugin/blob/master/Uninstall_Update_Upgade.md#upgrade-the-hpe-3par-and-hpe-primera-volume-plug-in-for-docker) From 79dad7a0cdeb6f8b8997163b89787e0d395c9000 Mon Sep 17 00:00:00 2001 From: sonawane-shashikant Date: Wed, 12 Feb 2020 15:54:30 +0530 Subject: [PATCH 2/6] Updated hyperlinks --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b290e489..7948396c 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,8 @@ $ ansible-playbook -i hosts install_hpe_3par_volume_driver.yml 5. Validate successful installation of the plugin. See [Post Installation Checks](https://github.com/hpe-storage/python-hpedockerplugin/blob/master/docs/PostInstallation_checks.md). #### For supported features and usage of the HPE 3PAR and HPE Primera Volume Plug-in for Docker, see [Supported Features and Usage](https://github.com/hpe-storage/python-hpedockerplugin/blob/master/docs/Usage_Troubleshoot_Limitations.md#Supported-Features) -#### For updating the configuration of the HPE 3PAR and HPE Primera Volume Plug-in for Docker, see [updating an existing plugin installation ](https://github.com/sonawane-shashikant/python-hpedockerplugin/blob/master/Uninstall_Update_Upgade.md#update-the-array-backends-in-openshiftkubernetes-environment) -#### For installation of the HPE 3PAR and HPE Primera Volume Plug-in for Docker on additional nodes, see [installing the HPE 3PAR and HPE Primera Volume Plug-in for Docker on additional nodes](https://github.com/sonawane-shashikant/python-hpedockerplugin/blob/master/Uninstall_Update_Upgade.md#install-the-hpe-3par-and-hpe-primera-volume-plug-in-for-docker-on-additional-nodes-in-the-cluster) -#### For upgrade of the HPE 3PAR and HPE Primera Volume Plug-in for Docker, see [upgrading the plugin](https://github.com/sonawane-shashikant/python-hpedockerplugin/blob/master/Uninstall_Update_Upgade.md#upgrade-the-hpe-3par-and-hpe-primera-volume-plug-in-for-docker) -#### For uninstallation of the HPE 3PAR and Primera Volume Plug-in for Docker, see [uninstalling the plugin](https://github.com/sonawane-shashikant/python-hpedockerplugin/blob/master/Uninstall_Update_Upgade.md#uninstall-the-hpe-3par-and-hpe-primera-volume-plug-in-for-docker-on-nodes-of-openshiftkubernetes-environment) -#### For troubleshooting and known issues of the HPE 3PAR and Primera Volume Plug-in for Docker, see [Troubleshooting and Known Issues](https://github.com/sonawane-shashikant/python-hpedockerplugin/blob/master/docs/Usage_Troubleshoot_Limitations.md#troubleshooting) +#### For updating the configuration of the HPE 3PAR and HPE Primera Volume Plug-in for Docker, see [updating an existing plugin installation ](https://github.com/hpe-storage/python-hpedockerplugin/blob/master/Uninstall_Update_Upgade.md#update-the-array-backends-in-openshiftkubernetes-environment) +#### For installation of the HPE 3PAR and HPE Primera Volume Plug-in for Docker on additional nodes, see [installing the HPE 3PAR and HPE Primera Volume Plug-in for Docker on additional nodes](https://github.com/hpe-storage/python-hpedockerplugin/blob/master/Uninstall_Update_Upgade.md#install-the-hpe-3par-and-hpe-primera-volume-plug-in-for-docker-on-additional-nodes-in-the-cluster) +#### For upgrade of the HPE 3PAR and HPE Primera Volume Plug-in for Docker, see [upgrading the plugin](https://github.com/hpe-storage/python-hpedockerplugin/blob/master/Uninstall_Update_Upgade.md#upgrade-the-hpe-3par-and-hpe-primera-volume-plug-in-for-docker) +#### For uninstallation of the HPE 3PAR and Primera Volume Plug-in for Docker, see [uninstalling the plugin](https://github.com/hpe-storage/python-hpedockerplugin/blob/master/Uninstall_Update_Upgade.md#uninstall-the-hpe-3par-and-hpe-primera-volume-plug-in-for-docker-on-nodes-of-openshiftkubernetes-environment) +#### For troubleshooting and known issues of the HPE 3PAR and Primera Volume Plug-in for Docker, see [Troubleshooting and Known Issues](https://github.com/hpe-storage/python-hpedockerplugin/blob/master/docs/Usage_Troubleshoot_Limitations.md#troubleshooting) From 7b645da7b1f124baf4b73fcaff6f2078e5139d74 Mon Sep 17 00:00:00 2001 From: sonawane-shashikant Date: Wed, 12 Feb 2020 10:42:30 +0000 Subject: [PATCH 3/6] Added simplified properties file --- ...in_configuration_properties_simplified.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 ansible_3par_docker_plugin/properties/plugin_configuration_properties_simplified.yml diff --git a/ansible_3par_docker_plugin/properties/plugin_configuration_properties_simplified.yml b/ansible_3par_docker_plugin/properties/plugin_configuration_properties_simplified.yml new file mode 100644 index 00000000..a082f35a --- /dev/null +++ b/ansible_3par_docker_plugin/properties/plugin_configuration_properties_simplified.yml @@ -0,0 +1,45 @@ +INVENTORY: + DEFAULT: +#Mandatory Parameters----------------------------------------------------------------------------------- + + # Specify the port to be used by HPE 3PAR plugin etcd cluster + host_etcd_port_number: 23790 + # Plugin Driver - iSCSI + hpedockerplugin_driver: hpedockerplugin.hpe.hpe_3par_iscsi.HPE3PARISCSIDriver + hpe3par_ip: 192.168.1.50 + hpe3par_username: 3paradm + hpe3par_password: 3pardata + hpe3par_port: 8080 + hpe3par_cpg: FC_r6 + + # Plugin version - Required only in DEFAULT backend + volume_plugin: hpestorage/legacyvolumeplugin:3.3.1 + # Dory installer version - Required for Openshift/Kubernetes setup + # Supported versions are dory_installer_v31, dory_installer_v32 + dory_installer_version: dory_installer_v32 + +#Optional Parameters------------------------------------------------------------------------------------ + + #Uncomment to encrypt passwords in hpe.conf using defined passphrase + #encryptor_key: < encrypt_key1 > + + #ssh_hosts_key_file: '/root/.ssh/known_hosts' + logging: DEBUG + #hpe3par_debug: True + #suppress_requests_ssl_warning: True + hpe3par_snapcpg: FC_r6 + #hpe3par_iscsi_chap_enabled: True + #use_multipath: False + #enforce_multipath: False + +#Optional Replication Parameters------------------------------------------------------------------------ + + replication_device: + backend_id: remote_3PAR + replication_mode: synchronous + cpg_map: "local_CPG:remote_CPG" + snap_cpg_map: "local_copy_CPG:remote_copy_CPG" + hpe3par_ip: 192.168.2.50 + hpe3par_username: 3paradm + hpe3par_password: 3pardata + hpe3par_port: 8080 From 1b6567f4544451e7e69db8362915eea467ab0735 Mon Sep 17 00:00:00 2001 From: sonawane-shashikant Date: Wed, 12 Feb 2020 16:36:14 +0530 Subject: [PATCH 4/6] Added plugin_configuration_properties_simplified.yml --- ...in_configuration_properties_simplified.yml | 32 ++----------------- 1 file changed, 3 insertions(+), 29 deletions(-) diff --git a/ansible_3par_docker_plugin/properties/plugin_configuration_properties_simplified.yml b/ansible_3par_docker_plugin/properties/plugin_configuration_properties_simplified.yml index a082f35a..b64b2429 100644 --- a/ansible_3par_docker_plugin/properties/plugin_configuration_properties_simplified.yml +++ b/ansible_3par_docker_plugin/properties/plugin_configuration_properties_simplified.yml @@ -6,40 +6,14 @@ INVENTORY: host_etcd_port_number: 23790 # Plugin Driver - iSCSI hpedockerplugin_driver: hpedockerplugin.hpe.hpe_3par_iscsi.HPE3PARISCSIDriver - hpe3par_ip: 192.168.1.50 + hpe3par_ip: hpe3par_username: 3paradm - hpe3par_password: 3pardata + hpe3par_password: ******** hpe3par_port: 8080 - hpe3par_cpg: FC_r6 + hpe3par_cpg: # Plugin version - Required only in DEFAULT backend volume_plugin: hpestorage/legacyvolumeplugin:3.3.1 # Dory installer version - Required for Openshift/Kubernetes setup # Supported versions are dory_installer_v31, dory_installer_v32 dory_installer_version: dory_installer_v32 - -#Optional Parameters------------------------------------------------------------------------------------ - - #Uncomment to encrypt passwords in hpe.conf using defined passphrase - #encryptor_key: < encrypt_key1 > - - #ssh_hosts_key_file: '/root/.ssh/known_hosts' - logging: DEBUG - #hpe3par_debug: True - #suppress_requests_ssl_warning: True - hpe3par_snapcpg: FC_r6 - #hpe3par_iscsi_chap_enabled: True - #use_multipath: False - #enforce_multipath: False - -#Optional Replication Parameters------------------------------------------------------------------------ - - replication_device: - backend_id: remote_3PAR - replication_mode: synchronous - cpg_map: "local_CPG:remote_CPG" - snap_cpg_map: "local_copy_CPG:remote_copy_CPG" - hpe3par_ip: 192.168.2.50 - hpe3par_username: 3paradm - hpe3par_password: 3pardata - hpe3par_port: 8080 From 83651b9bc870fa0c7de8092e9bb83d490bd16f03 Mon Sep 17 00:00:00 2001 From: sonawane-shashikant Date: Wed, 12 Feb 2020 16:40:59 +0530 Subject: [PATCH 5/6] Added reference to simplified yml --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7948396c..fc7cc920 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ $ git clone https://github.com/hpe-storage/python-hpedockerplugin $ cd python-hpedockerplugin/ansible_3par_docker_plugin ``` 2. Create the **properties/plugin_configuration_properties.yml** based on your HPE 3PAR/Primera Storage array configuration. -+ The *plugin_configuration_properties_sample.yml* shows a single backend setup example. ++ The [plugin_configuration_properties_simplified.yml](https://github.com/hpe-storage/python-hpedockerplugin/blob/master/ansible_3par_docker_plugin/properties/plugin_configuration_properties_simplified.yml) shows a single backend setup example. + Some of the properties are mandatory and must be specified in the properties file while others are optional. + Refer to this [sample](https://github.com/hpe-storage/python-hpedockerplugin/blob/master/ansible_3par_docker_plugin/properties/plugin_configuration_properties_sample.yml) file for additional configuration options. ``` From 01431fdc7ec5a6c1c7edd27d233555a9762eb66a Mon Sep 17 00:00:00 2001 From: sonawane-shashikant Date: Wed, 12 Feb 2020 16:53:23 +0530 Subject: [PATCH 6/6] Review comments implemented --- ...plugin_configuration_properties_sample.yml | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/ansible_3par_docker_plugin/properties/plugin_configuration_properties_sample.yml b/ansible_3par_docker_plugin/properties/plugin_configuration_properties_sample.yml index e28b87f9..30fdc9c1 100644 --- a/ansible_3par_docker_plugin/properties/plugin_configuration_properties_sample.yml +++ b/ansible_3par_docker_plugin/properties/plugin_configuration_properties_sample.yml @@ -6,11 +6,11 @@ INVENTORY: host_etcd_port_number: 23790 # Plugin Driver - iSCSI hpedockerplugin_driver: hpedockerplugin.hpe.hpe_3par_iscsi.HPE3PARISCSIDriver - hpe3par_ip: 192.168.1.50 + hpe3par_ip: hpe3par_username: 3paradm - hpe3par_password: 3pardata + hpe3par_password: ******** hpe3par_port: 8080 - hpe3par_cpg: FC_r6 + hpe3par_cpg: # Plugin version - Required only in DEFAULT backend volume_plugin: hpestorage/legacyvolumeplugin:3.3.1 @@ -27,7 +27,7 @@ INVENTORY: logging: DEBUG #hpe3par_debug: True #suppress_requests_ssl_warning: True - #hpe3par_snapcpg: FC_r6 + #hpe3par_snapcpg: #hpe3par_iscsi_chap_enabled: True #use_multipath: False #enforce_multipath: False @@ -39,9 +39,9 @@ INVENTORY: # replication_mode: synchronous # cpg_map: "local_CPG:remote_CPG" # snap_cpg_map: "local_copy_CPG:remote_copy_CPG" - # hpe3par_ip: 192.168.2.50 + # hpe3par_ip: # hpe3par_username: 3paradm - # hpe3par_password: 3pardata + # hpe3par_password: ******** # hpe3par_port: 8080 # vlan_tag: False @@ -51,12 +51,12 @@ INVENTORY: host_etcd_port_number: 23790 # Plugin Driver - File driver hpedockerplugin_driver: hpedockerplugin.hpe.hpe_3par_file.HPE3PARFileDriver - hpe3par_ip: 192.168.2.50 + hpe3par_ip: hpe3par_username: demo_user - hpe3par_password: demo_pass - hpe3par_cpg: demo_cpg + hpe3par_password: ******** + hpe3par_cpg: hpe3par_port: 8080 - hpe3par_server_ip_pool: 192.168.98.3-192.168.98.10:255.255.192.0 + hpe3par_server_ip_pool: :255.255.192.0 # 172.xx.xx.3-172.xx.xx.10:255.255.192.0 #Optional Parameters for Filepersona----------------------------------------------------------------------------------------------------------------------------------------------------------------------- hpe3par_default_fpg_size: 16 @@ -69,11 +69,11 @@ INVENTORY: host_etcd_port_number: 23790 # Plugin Driver - Fibre Channel hpedockerplugin_driver: hpedockerplugin.hpe.hpe_3par_fc.HPE3PARFCDriver - hpe3par_ip: 192.168.2.50 + hpe3par_ip: hpe3par_username: 3paradm - hpe3par_password: 3pardata + hpe3par_password: ******** hpe3par_port: 8080 - hpe3par_cpg: FC_r6 + hpe3par_cpg: #Optional Parameters------------------------------------------------------------------------------------ @@ -84,6 +84,6 @@ INVENTORY: logging: DEBUG #hpe3par_debug: True #suppress_requests_ssl_warning: True - hpe3par_snapcpg: FC_r6 + hpe3par_snapcpg: #use_multipath: False #enforce_multipath: False