You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/08/04 19:00:42 UTC
[GitHub] [apisix-ingress-controller] papdaniel opened a new issue, #1221: bug: ApisixTls: secret not found, should be retried
papdaniel opened a new issue, #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221
### Issue description
I use cert manager to generate certificates and create the `Certificate` and `ApisixTls` resources at the same time. Cert-manager needs some time to request the certificate, so when apisix-ingress-controller tries to find the cert secret it doesn't exist yet. The problem is apisix-ingress-controller won't retry to find the secret, so we are stucked. I know it is documented [here](https://apisix.apache.org/blog/2021/10/22/cert-manager-in-ingress/) that the secret should exist when we create the ApisixTls resource, but with a retry mechanism it would be much more relieable.
### Environment
- your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
```
Version: 1.4.1
Git SHA: no-git-module
Go Version: go1.16.15
Building OS/Arch: linux/amd64
Running OS/Arch: linux/amd64
```
- your Kubernetes cluster version (output of kubectl version):
```
Client Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.1", GitCommit:"3ddd0f45aa91e2f30c70734b175631bec5b5825a", GitTreeState:"clean", BuildDate:"2022-05-24T12:26:19Z", GoVersion:"go1.18.2", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.4
Server Version: version.Info{Major:"1", Minor:"22+", GitVersion:"v1.22.11-eks-18ef993", GitCommit:"b9628d6d3867ffd84c704af0befd31c7451cdc37", GitTreeState:"clean", BuildDate:"2022-07-06T18:06:23Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}
```
### Minimal test code / Steps to reproduce
Install cert-manager and apisix-ingress-controller, and
create the following:
```
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: test
namespace: default
spec:
dnsNames:
- '*.test.example.com'
issuerRef:
group: cert-manager.io
kind: ClusterIssuer
name: letsencrypt-prod
secretName: test-wildcard
---
apiVersion: apisix.apache.org/v2beta3
kind: ApisixTls
metadata:
name: test
namespace: default
spec:
hosts:
- '*.test.example.com'
secret:
name: test-wildcard
namespace: default
```
### Actual result
```
status:
conditions:
- lastTransitionTime: "2022-08-04T13:23:20Z"
message: secret "test-wildcard" not found
observedGeneration: 1
reason: ResourceSyncAborted
status: "False"
type: ResourcesAvailable
```
### Error log
-
### Expected result
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] papdaniel closed issue #1221: bug: ApisixTls: secret not found, should be retried
Posted by GitBox <gi...@apache.org>.
papdaniel closed issue #1221: bug: ApisixTls: secret not found, should be retried
URL: https://github.com/apache/apisix-ingress-controller/issues/1221
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1236689133
Don't worry, thanks for your contribution
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] papdaniel commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
papdaniel commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1236346181
I won't really have time for this, sorry.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] papdaniel commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
papdaniel commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1229431266
Yes, sure,I'll try.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 closed issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
tao12345666333 closed issue #1221: ApisixTls status not updated
URL: https://github.com/apache/apisix-ingress-controller/issues/1221
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1207155542
Will reproduce when I'm free, if this is confirmed we can fix it
Can you provide a minimal complete reproduction steps if you are interested?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] papdaniel commented on issue #1221: bug: ApisixTls: secret not found, should be retried
Posted by GitBox <gi...@apache.org>.
papdaniel commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1206123345
Ehh, my bad, it works as expected, the status tricked me, it is not updated.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] papdaniel commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
papdaniel commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1229462291
Just cloned and tried out on master, now it's working:
![image](https://user-images.githubusercontent.com/28708447/187076816-3614e4bb-e179-4af6-9443-c4a2c7373eed.png)
I think it got solved by this commit a few weeks ago: [d32c728](https://github.com/apache/apisix-ingress-controller/commit/d32c728139a706bbad155a5e58514a3e59a841e4) on [these](https://github.com/apache/apisix-ingress-controller/blob/5e844e44b4f58458574f9e570b2244945ee92d3a/pkg/providers/apisix/apisix_tls.go#L194) and [these](https://github.com/apache/apisix-ingress-controller/blob/5e844e44b4f58458574f9e570b2244945ee92d3a/pkg/providers/apisix/apisix_tls.go#L232) lines.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1214444905
thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1229679150
Also, I thought maybe we should create a patch for 1.5.0 to use .
Because we haven't released the official version of v1.5.0, the current release is the rc1 version
You can try `v1.5.0` branch https://github.com/apache/apisix-ingress-controller/tree/v1.5.0
Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1226753314
Would you like to try to fix this problem?
There is a `recordStatus` function in the code to record the change of the status
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] papdaniel commented on issue #1221: bug: ApisixTls: secret not found, should be retried
Posted by GitBox <gi...@apache.org>.
papdaniel commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1207128608
Yes @tao12345666333
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] papdaniel commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
papdaniel commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1214363470
Here is how to reproduce:
create namespace and the ApisixTls:
```
kubectl create namespace apisix-tls-test
cat <<EOF | kubectl apply -f -
apiVersion: apisix.apache.org/v2beta3
kind: ApisixTls
metadata:
name: test-tls
namespace: apisix-tls-test
spec:
hosts:
- "*.example.com"
secret:
name: test-tls
namespace: apisix-tls-test
EOF
```
check the ApisixTls status:
```
kubectl -n apisix-tls-test get apisixtls test-tls -o yaml
...
status:
conditions:
- lastTransitionTime: "2022-08-14T19:01:48Z"
message: secret "test-tls" not found
observedGeneration: 1
reason: ResourceSyncAborted
status: "False"
type: ResourcesAvailable
...
```
ingress controller logs (secret not found):
```
kubectl -n ingress-apisix logs <apisix-ingress-controller-pod>
...
022-08-14T19:02:46+08:00 warn ingress/apisix_tls.go:178 sync ApisixTls failed, will retry {"object": {"Type":1,"Object":"apisix-tls-test/test-tls","Tombstone":null}, "error": "secret \"test-tls\" not found"}
2022-08-14T19:02:46+08:00 error ingress/apisix_tls.go:118 failed to translate ApisixTls {"error": "secret \"test-tls\" not found", "ApisixTls": {"metadata":{"name":"test-tls","namespace":"apisix-tls-test","uid":"44895291-29d5-4454-a011-079a64140420","resourceVersion":"49712","generation":1,"creationTimestamp":"2022-08-14T11:02:46Z","annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"apisix.apache.org/v2beta3\",\"kind\":\"ApisixTls\",\"metadata\":{\"annotations\":{},\"name\":\"test-tls\",\"namespace\":\"apisix-tls-test\"},\"spec\":{\"hosts\":[\"*.example.com\"],\"secret\":{\"name\":\"test-tls\",\"namespace\":\"apisix-tls-test\"}}}\n"},"managedFields":[{"manager":"apisix-ingress-controller","operation":"Update","apiVersion":"apisix.apache.org/v2beta3","time":"2022-08-14T11:02:46Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:conditions":{}}},"subresource":"status"},{"manager":"kubectl-client-side-apply","operation":"Updat
e","apiVersion":"apisix.apache.org/v2beta3","time":"2022-08-14T11:02:46Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}}},"f:spec":{".":{},"f:hosts":{},"f:secret":{".":{},"f:name":{},"f:namespace":{}}}}}]},"spec":{"hosts":["*.example.com"],"secret":{"name":"test-tls","namespace":"apisix-tls-test"}},"status":{"conditions":[{"type":"ResourcesAvailable","status":"False","observedGeneration":1,"lastTransitionTime":"2022-08-14T11:02:46Z","reason":"ResourceSyncAborted","message":"secret \"test-tls\" not found"}]}}}
...
```
wait a few seconds, then create the tls secret
```
cat <<EOF | kubectl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05XWXVqdC81MGdEa3VsNjRUdndIZ25JWFJTK0ZSRHE1K0I5OWtlaWkyZktwQjUrRlFUWWI4Y3VCawpNR2V5L0lRSVF3S0JnRlNSRUlqdUlrd3pGK1h4Ym1JY3krOFNoVlpPaHRCM0pMUGw2VVhTWTV0WFZlV3VpbzhPCmNpWVA5cSs4QjljNWZtTDdSaG9TUUhYTmU5TmI5YWVmKzJ4elVlNEk3MFpocXNZaVNJeEs4RzhrcXBDSEx4d0QKcVVPTWdQeGN5VXJMdGx5cFBjY3A3UzNDL2xiR28xRW9jazRnVnFEdnlvdXRVR2ovcHhvc0FVWnRBb0dBSHZ3awpaZ2RBcjdyOTM5KzRmUklNQTFGSzFKOGFqbTZPL1k1SmJ2Tk1ydlJIZjdHNEs3Mlg5NzdmQ1JMVEROaVdsRk85Ci9jWncvNnh5WEQwNHJwT3NFandNalBJTElrRDZCak1aQUI4VHZTZDB0Z0xoTW8zdVFhbTg1T05uM3dyRUJTVloKY2w2WktwM2hEdHliZGZGc1p5NjVYT1g4bXl3b
3lrWnlDNjFEU0RjQ2dZRUFnK1hkWVdYTDQwNzY5MVlKSEJDTQpKcG5BZjM2V2dOUXNLVGxwbkR0MFNGNk9LRms3VjZPRXdXdFgxWm1VUmY4a1B2YWxUTFh0OEZYcVAyRk90TkRYClUzTlNNdEhxS3lWeHZwTm5YdUFLSlkrNnNtckZhdXZTTlVHWEVoUElUdi9rcXZOdGRmMXhFaml6cTJ4NGpoaDAKZkZUUEppWThoWjlORVdTWkVoaHB0RWs9Ci0tLS0tRU5EIFBSSVZBVEUgS0VZLS0tLS0K
type: kubernetes.io/tls
EOF
```
ingress controller logs (only healthcheck, no error):
```
kubectl -n ingress-apisix logs <apisix-ingress-controller-pod>
...
[GIN] 2022/08/14 - 19:03:11 | 200 | 42.061µs | 10.0.43.201 | GET "/healthz"
[GIN] 2022/08/14 - 19:03:11 | 200 | 36.23µs | 10.0.43.201 | GET "/healthz"
[GIN] 2022/08/14 - 19:03:21 | 200 | 36.421µs | 10.0.43.201 | GET "/healthz"
[GIN] 2022/08/14 - 19:03:21 | 200 | 22.711µs | 10.0.43.201 | GET "/healthz"
...
```
apisix logs (ssl resource created successfully in apisix):
```
kubectl -n ingress-apisix logs <apisix-pod>
...
10.0.41.91 - - [14/Aug/2022:11:03:51 +0000] apisix-admin.ingress-apisix.svc.cluster.local:9180 "PUT /apisix/admin/ssl/21210e5d HTTP/1.1" 201 3878 0.049 "-" "Go-http-client/1.1" - - - "http://apisix-admin.ingress-apisix.svc.cluster.local:9180"
...
```
Check the ApisixTls status again, not updated:
```
kubectl -n apisix-tls-test get apisixtls test-tls -o yaml
...
status:
conditions:
- lastTransitionTime: "2022-08-14T19:01:48Z"
message: secret "test-tls" not found
observedGeneration: 1
reason: ResourceSyncAborted
status: "False"
type: ResourcesAvailable
...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1229677559
Thanks for your confirmation, then I think this issue can be closed, right?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1221: bug: ApisixTls: secret not found, should be retried
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1206522986
> Ehh, my bad, it works as expected, the status tricked me, it is not updated.
Do you mean the status of the ApisixTls resource is not updated?
@papdaniel
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1207155171
We expected that all status should be updated correctly, so I reopened this issue
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-ingress-controller] papdaniel commented on issue #1221: ApisixTls status not updated
Posted by GitBox <gi...@apache.org>.
papdaniel commented on issue #1221:
URL: https://github.com/apache/apisix-ingress-controller/issues/1221#issuecomment-1208066144
@tao12345666333 sure, I will on the weekend if that's fine, don't have time right now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org