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

CannotObserveExternalResource Elasticache User #774

Closed
dspereira004 opened this issue Jul 6, 2023 · 5 comments
Closed

CannotObserveExternalResource Elasticache User #774

dspereira004 opened this issue Jul 6, 2023 · 5 comments
Labels
bug Something isn't working is:blocked is:triaged Indicates that an issue has been reviewed.

Comments

@dspereira004
Copy link

What happened?

Creating an Elasticache user of type IAM apparently works (the user does appear in the AWS Console), but then we end up with the following warning:

Events:
  Type     Reason                         Age                     From                                                   Message
  ----     ------                         ----                    ----                                                   -------
  Warning  CannotObserveExternalResource  2m34s (x1126 over 18h)  managed/elasticache.aws.upbound.io/v1beta1, kind=user  cannot get connection details: cannot get connection details: cannot expand wildcards: cannot expand wildcards for segments: "passwords[*]": "passwords": unexpected wildcard usage

Looks like Crossplane cannot observe the resource it has created...

How can we reproduce it?

Create an Elasticache user with:

---
apiVersion: elasticache.aws.upbound.io/v1beta1
kind: User
metadata:
  labels:
    cluster/name: cluster
  name: redis-user
spec:
  forProvider:
    userName: "redis-user"
    accessString: "on ~* +@all"
    engine: "REDIS"
    region: eu-west-3
    noPasswordRequired: false
    authenticationMode:
      - type: iam
  providerConfigRef:
    name: default

What environment did it happen in?

  • Crossplane Version: 1.12.1
  • Provider Version: 0.35.0
  • Kubernetes Version: 1.23.17-eks-c12679a
  • Kubernetes Distribution: EKS
@dspereira004 dspereira004 added bug Something isn't working needs:triage labels Jul 6, 2023
@turkenf
Copy link
Collaborator

turkenf commented Jul 6, 2023

Hi @dspereira004,

Thank you for raising this issue. We encountered this issue while working on the elasticache: cannot create users with passwords issue and it can be reproduced.

@turkenf turkenf added is:blocked is:triaged Indicates that an issue has been reviewed. and removed needs:triage labels Jul 6, 2023
@turkenf
Copy link
Collaborator

turkenf commented Jul 6, 2023

Blocked by: crossplane/upjet#202

@wochinge
Copy link

wochinge commented Dec 14, 2023

We have the same with with Firehose deliverystream resource

   Warning  CannotObserveExternalResource  44m (x16 over 78m)     managed/firehose.aws.upbound.io/v1beta1, kind=deliverystream  cannot get connection details: cannot get connection details: cannot expand wildcards: cannot expand wildcards for segments: "splunk_configuration[*].hec_token": "splunk_configuration": unexpected wildcard usage                                                                                                                                                                                                                                                                                                   

   Warning  CannotObserveExternalResource  4m20s (x151 over 78m)  managed/firehose.aws.upbound.io/v1beta1, kind=deliverystream  cannot get connection details: cannot get connection details: cannot expand wildcards: cannot expand wildcards for segments: "http_endpoint_configuration[*].access_key": "http_endpoint_configuration": unexpected wildcard usage                                                                                                                                                                                                                                                                                  

@turkenf
Copy link
Collaborator

turkenf commented Feb 27, 2024

The relevant upstream issue has been fixed and closed, will test this issue after upgrading the https://github.com/crossplane/upjet

@turkenf
Copy link
Collaborator

turkenf commented Mar 7, 2024

This issue has been fixed with Provider versions 0.47.3 and 1.1.1. I am closing this now, feel free to reopen it if you encounter any issues.

@turkenf turkenf closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working is:blocked is:triaged Indicates that an issue has been reviewed.
Projects
None yet
Development

No branches or pull requests

3 participants