Comments - unable to install MariaDB on IBM Cloud

3 years, 12 months ago Upkar Lidder

Thank you Daniel,

The PV and PVC do get created and bound. I terminated the pod thinking it would notice it the second time, but it give me the same error. The po keeps trying so I don't know if it's the timing issue. Maybe a permissions issue. I don't know how to add formatted code here.

----------------------------------- This is get pvc:

NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE

data-mariadb8b-2b90-42-master-0 Bound pvc-0f18cc91-ca03-4c0f-96f2-74423fb2d787 20Gi RWO ibmc-block-gold 52m

data-mariadb8b-2b90-42-slave-0 Bound pvc-8e4127ac-d917-40ce-b7e0-d1d4308538f2 20Gi RWO ibmc-block-gold 52m

----------------------------------- This is get pv:

NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE

pvc-0f18cc91-ca03-4c0f-96f2-74423fb2d787 20Gi RWO Delete Bound default/data-mariadb8b-2b90-42-master-0 52m

pvc-8e4127ac-d917-40ce-b7e0-d1d4308538f2 20Gi RWO Delete Bound default/data-mariadb8b-2b90-42-slave-0 52m

----------------------------------- This is get po:

NAME READY STATUS RESTARTS AGE

mariadb8b-2b90-42-master-0 0/1 ContainerCreating 0 34m

mariadb8b-2b90-42-slave-0 0/1 ContainerCreating 0 53m

----------------------------------- Events from mariadb8b-2b90-42-master-0:

Events: Type Reason Age From Message ---- ------ ---- ---- -------

Normal Scheduled 35m default-scheduler Successfully assigned default/mariadb8b-2b90-42-master-0 to 10.95.205.21

Warning FailedMount 33m kubelet, 10.95.205.21 Unable to attach or mount volumes: unmounted volumes=[data], unattached volumes=[default-token-pjs28 data config]: timed out waiting for the condition

Warning FailedMount 4m4s (x3 over 22m) kubelet, 10.95.205.21 Unable to attach or mount volumes: unmounted volumes=[data], unattached volumes=[config default-token-pjs28 data]: timed out waiting for the condition

Warning FailedMount 106s (x11 over 31m) kubelet, 10.95.205.21 Unable to attach or mount volumes: unmounted volumes=[data], unattached volumes=[data config default-token-pjs28]: timed out waiting for the condition

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.