Hi there. I'm trying to setup GCE persistent disk for my PVCs but kep
getting this error:

Mar 13 22:18:22 n-0 origin-node[18945]: E0313 22:18:22.849255   18945
attacher.go:90] Error attaching PD "disk1" to node
"n-0.c.endless-duality-161113.internal": googleapi: Error 400: Invalid
value 'n-0.c.endless-duality-161113.internal'. Values must match the
following regular expression: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?',
invalidParameter
Mar 13 22:18:22 n-0 origin-node[18945]: E0313 22:18:22.849330   18945
nestedpendingoperations.go:253] Operation for "\"kubernetes.io/gce-pd/disk1\""
failed. No retries permitted until 2017-03-13 22:20:22.849310037 +0000 UTC
(durationBeforeRetry 2m0s). Error: Failed to attach volume "pv-disk1" on
node "n-0.c.endless-duality-161113.internal" with: googleapi: Error 400:
Invalid value 'n-0.c.endless-duality-161113.internal'. Values must match
the following regular expression: '[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?',
invalidParameter

# openshift version
openshift v1.4.1
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0

# oc export pv/pv-disk1
apiVersion: v1
kind: PersistentVolume
metadata:
  annotations:
    pv.kubernetes.io/bound-by-controller: "yes"
  creationTimestamp: null
  labels:
    failure-domain.beta.kubernetes.io/region: us-east1
    failure-domain.beta.kubernetes.io/zone: us-east1-b
  name: pv-disk1
spec:
  accessModes:
  - ReadWriteOnce
  capacity:
    storage: 10Gi
  claimRef:
    apiVersion: v1
    kind: PersistentVolumeClaim
    name: pvc-disk1
    namespace: mateus
    resourceVersion: "6166"
    uid: a60391d7-083a-11e7-805a-42010a000003
  gcePersistentDisk:
    fsType: ext4
    pdName: disk1
  persistentVolumeReclaimPolicy: Retain
status: {}


# oc get pvc -n mateus
NAME      STATUS    VOLUME       CAPACITY   ACCESSMODES   AGE
pvc-01    Bound     pv-disk-01   10Gi       RWO           41m


Is that something wrong with GCE API client? How can I increase node log
level?

Thanks!

--
Mateus Caruccio / Master of Puppets
GetupCloud.com
We make the infrastructure invisible
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to