Open c-raghav opened 4 years ago
Find hpe.conf file as well
[DEFAULT] host_etcd_ip_address=10.50.0.156 hpe3par_username=3paradm hpe3par_password=3pardata hpe3par_cpg=SHASHI-CPG hpedockerplugin_driver=hpedockerplugin.hpe.hpe_3par_iscsi.HPE3PARISCSIDriver host_etcd_port_number=23790 ssh_hosts_key_file=/root/.ssh/known_hosts logging=DEBUG san_ip=10.50.3.9 san_login=3paradm san_password=3pardata hpe3par_api_url=https://10.50.3.9:8080/api/v1 hpe3par_iscsi_ips=10.50.3.59,10.50.3.60 [3PAR1] host_etcd_ip_address=10.50.0.156 hpe3par_username=3paradm hpe3par_password=3pardata hpe3par_cpg=FC_r1 hpedockerplugin_driver=hpedockerplugin.hpe.hpe_3par_fc.HPE3PARFCDriver host_etcd_port_number=23790 ssh_hosts_key_file=/root/.ssh/known_hosts san_ip=10.50.3.24 san_login=3paradm san_password=3pardata hpe3par_api_url=https://10.50.3.24:8080/api/v1
Non-existant volume on backend, import should fail on OC and K8s,
On trying to import the volume across array, the PVC is going to bound state and POD to running state, volume is being created default array,
no error being seen as unable to create,
Tried on docker command, it works fine, same is expected from K8s and OC [root@cld6b15-openshift-master00 YAMLs for 3.3]# docker volume create -d hpe --name imp-rc -o importVol="SHASHI-FULL" -o backend=3PAR1 Error response from daemon: create imp-rc: Volume:SHASHI-FULL does not exists Error: Not found (HTTP 404) 23 - volume does not exist
Find the yml below
-- apiVersion: v1 kind: PersistentVolume metadata: name: pv-importvol spec: capacity: storage: 100Gi accessModes:
importVol: <VOLUME ON 3PAR>
kind: PersistentVolumeClaim apiVersion: v1 metadata: name: pvc-importvol spec: accessModes:
apiVersion: v1 kind: Pod metadata: name: pod-importvol spec: containers: