community icon indicating copy to clipboard operation
community copied to clipboard

[ElastiCache] Cannot enable snapshotting after creation

Open jdnurmi opened this issue 2 years ago • 5 comments

Describe the bug If a redis cluster is created without snapshotting, it cannot be enabled within the object

Steps to reproduce

spec:
  atRestEncryptionEnabled: false
  cacheNodeType: cache.t3.micro
  cacheSubnetGroupName: SGNAME
  description: Redis node for user-service
  engine: redis
  numNodeGroups: 1
  replicasPerNodeGroup: 0
  replicationGroupID: NAME
  securityGroupIDs:
  - SGID
  snapshotWindow: 01:00-02:00
  transitEncryptionEnabled: false

Add snapshotRetentionLimit: 7

Results in:

  - status: "True"
    type: ACK.ResourceSynced
  - message: "InvalidParameterCombination: Must specify both SnapshotRetentionLimit
      and SnapshottingClusterId to turn on snapshots\n\tstatus code: 400, request
      id: f46f7981-6bc2-4322-965c-82177694acdf"
    status: "True"
    type: ACK.Terminal

Presumably either we need to be able to specify SnapshottingClusterId or it must be automatically calculated

Expected outcome

Snapshots enabled on the cluster.

Environment

  • Kubernetes version? EKS, 1.28
  • AWS service targeted? Elasticache

jdnurmi avatar Jul 13 '23 18:07 jdnurmi

/cc @kumargauravsharma @aws-controllers-k8s/elasticache-maintainer

a-hilaly avatar Jul 20 '23 20:07 a-hilaly

Issues go stale after 180d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 60d of inactivity and eventually close. If this issue is safe to close now please do so with /close. Provide feedback via https://github.com/aws-controllers-k8s/community. /lifecycle stale

ack-bot avatar Jan 17 '24 00:01 ack-bot

/remove-lifecycle stale

gecube avatar Mar 13 '24 06:03 gecube