Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure when using redis cluster backups #85

Open
sflaherty2009 opened this issue Jun 22, 2021 · 2 comments
Open

Failure when using redis cluster backups #85

sflaherty2009 opened this issue Jun 22, 2021 · 2 comments

Comments

@sflaherty2009
Copy link

sflaherty2009 commented Jun 22, 2021

When using the redisclusterbackup kind utilizing persistant volumes I am met with the following failure.

---- ------ ---- ---- ------- Normal Scheduled 16m default-scheduler Successfully assigned ***/redisbackup-redis-asset-clusterbackup-kb8mj to 10.2.0.8 Normal SuccessfulAttachVolume 15m attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-87aa3f62-38ec-4b9d-8569-3467882b5baf" Normal Pulling 14m (x2 over 14m) kubelet Pulling image "hub.ucloudadmin.com/uaek/redis-tools:5.0.4" Warning Failed 13m (x2 over 14m) kubelet Failed to pull image "hub.ucloudadmin.com/uaek/redis-tools:5.0.4": rpc error: code = Unknown desc = failed to pull and unpack image "hub.ucloudadmin.com/uaek/redis-tools:5.0.4": failed to resolve reference "hub.ucloudadmin.com/uaek/redis-tools:5.0.4": failed to do request: Head "https://hub.ucloudadmin.com/v2/uaek/redis-tools/manifests/5.0.4": dial tcp 172.31.154.254:443: connect: connection timed out Warning Failed 13m (x2 over 14m) kubelet Error: ErrImagePull Normal BackOff 13m (x3 over 14m) kubelet Back-off pulling image "hub.ucloudadmin.com/uaek/redis-tools:5.0.4" Warning Failed 13m (x3 over 14m) kubelet Error: ImagePullBackOff Normal BackOff 13m (x4 over 14m) kubelet Back-off pulling image "hub.ucloudadmin.com/uaek/redis-tools:5.0.4" Warning Failed 13m (x4 over 14m) kubelet Error: ImagePullBackOff Warning Failed 13m (x2 over 14m) kubelet Error: ImagePullBackOff Normal BackOff 4m35s (x35 over 14m) kubelet Back-off pulling image "hub.ucloudadmin.com/uaek/redis-tools:5.0.4"

It appears that the redis-tools are not available or have been moved to another location.

Snippet of deployment yaml

`---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: redis-assetbackup
namespace: test
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
storageClassName: ibmc-vpc-block-retain-5iops-tier

apiVersion: redis.kun/v1alpha1
kind: RedisClusterBackup
metadata:
name: redis-assetbackup
namespace: test
annotations:
redis.kun/scope: cluster-scoped
spec:
image: hub.ucloudadmin.com/uaek/redis-tools:5.0.4
redisClusterName: redis-asset
local:
mountPath: /back
persistentVolumeClaim:
claimName: redis-assetbackup`

@currycan
Copy link

How can I get the "hub.ucloudadmin.com/uaek/redis-tools:5.0.4" image? I tried to pull, it failed

@tianshimoyi
Copy link

Please take a closer look at the Makefile and run the command make build-tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants