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

AKS: Unexpected error in logs while recording failure message #665

Open
cpinjani opened this issue Sep 10, 2024 · 1 comment
Open

AKS: Unexpected error in logs while recording failure message #665

cpinjani opened this issue Sep 10, 2024 · 1 comment
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@cpinjani
Copy link

Rancher version:
Rancher - v2.9-65df012014c22ba29006fca8c97aa6b8c2ba1105-head
aks-operator:v1.9.2-rc.1

Cluster Type: Downstream AKS cluster

Describe the bug:
Unexpected error in logs while recording failure message
See also: rancher/eks-operator#596

Logs:

time="2024-09-10T12:50:01Z" level=info msg="Create Azure Log Analytics Workspace \"cpinjani-aks4-EUS\" on Resource Group \"cpinjani-aks4\""
time="2024-09-10T12:53:38Z" level=error msg="Error recording akscc [ (id: )] failure message: resource name may not be empty"
time="2024-09-10T10:22:21Z" level=info msg="Importing config for cluster [cpinjani-imp (id: c-sflm4)]"
time="2024-09-10T10:22:22Z" level=info msg="Importing config for cluster [cpinjani-imp (id: c-sflm4)]"
time="2024-09-10T10:22:23Z" level=error msg="Error recording akscc [ (id: )] failure message: resource name may not be empty"
time="2024-09-10T10:22:25Z" level=error msg="Error recording akscc [ (id: )] failure message: resource name may not be empty"
time="2024-09-10T10:22:26Z" level=info msg="Checking configuration for cluster [cpinjani-imp (id: c-sflm4)]"
@cpinjani cpinjani added the kind/bug Something isn't working label Sep 10, 2024
@cpinjani cpinjani added this to the v2.9-Next1 milestone Sep 10, 2024
@cpinjani cpinjani changed the title Unexpected error in logs while recording failure message AKS: Unexpected error in logs while recording failure message Sep 10, 2024
@yiannistri yiannistri self-assigned this Sep 18, 2024
@yiannistri
Copy link
Contributor

The error originates here when a conflict occurs. When that happens, the config object returned is non-nil but empty which is why the log statement appears to be missing fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Development

No branches or pull requests

3 participants