You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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:
- ReadWriteOnce
flexVolume:
driver: hpe.com/hpe
options:
name: IMPORTED-VOLUME
importVol: "SHASHI-FULL"
#importVol: <VOLUME ON 3PAR>
backend: 3PAR1
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: pvc-importvol
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
apiVersion: v1
kind: Pod
metadata:
name: pod-importvol
spec:
containers:
image: minio/minio:latest
args:
env:
value: minio
value: doryspeakswhale
ports:
volumeMounts:
mountPath: /export
volumes:
persistentVolumeClaim:
claimName: pvc-importvol
The text was updated successfully, but these errors were encountered: