You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "Awsmsniper (via GitHub)" <gi...@apache.org> on 2024/01/26 14:30:24 UTC
[I] [Bug] pulsar-proxy Liveness probe failed: HTTP probe failed with statuscode: 401 [pulsar]
Awsmsniper opened a new issue, #21974:
URL: https://github.com/apache/pulsar/issues/21974
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Version
kubernetes:1.28.4
pulsar-helm-chart:3.2.0
apachepulsar/pulsar-all:3.1.2
### Minimal reproduce step
1. `helm install pulsar --values charts/pulsar/values.yaml --set initialize=true --namespace pulsar pulsar-3.2.0.tgz`
2. `kubectl get pod -n pulsar`
3. `kubectl describe`
### What did you expect to see?
All pods are in running state
### What did you see instead?
`kubectl get pod -n pulsar` output
```
NAME READY STATUS RESTARTS AGE
pulsar-bookie-0 1/1 Running 0 11m
pulsar-bookie-1 1/1 Running 0 11m
pulsar-bookie-2 1/1 Running 0 11m
pulsar-broker-0 1/1 Running 2 (4m30s ago) 11m
pulsar-broker-1 1/1 Running 3 (3m42s ago) 11m
pulsar-broker-2 1/1 Running 3 (3m42s ago) 11m
pulsar-proxy-0 0/1 Running 1 (1s ago) 11m
pulsar-proxy-1 0/1 Running 1 (8s ago) 11m
pulsar-proxy-2 0/1 Running 1 (9s ago) 11m
pulsar-pulsar-init-7n2jz 0/1 Completed 0 11m
pulsar-pulsar-manager-7887f99f77-cc9q2 1/1 Running 0 11m
pulsar-recovery-0 1/1 Running 0 11m
pulsar-toolset-0 1/1 Running 0 11m
pulsar-zookeeper-0 1/1 Running 0 11m
pulsar-zookeeper-1 1/1 Running 0 11m
pulsar-zookeeper-2 1/1 Running 0 11m
```
`kubectl describe ` outpu:
```
Warning Unhealthy 3s (x7 over 63s) kubelet Liveness probe failed: HTTP probe failed with statuscode: 401
Warning Unhealthy 3s (x8 over 63s) kubelet Readiness probe failed: HTTP probe failed with statuscode: 401
```
### Anything else?
_No response_
### Are you willing to submit a PR?
- [X] I'm willing to submit a PR!
--
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: commits-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] pulsar-proxy Liveness probe failed: HTTP probe failed with statuscode: 401 [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #21974:
URL: https://github.com/apache/pulsar/issues/21974#issuecomment-1912384255
Are you sure that you are using the 3.1.2 image?
Already fixed in 3.0.2 and 3.1.2 by #21428
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] pulsar-proxy Liveness probe failed: HTTP probe failed with statuscode: 401 [pulsar]
Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat commented on issue #21974:
URL: https://github.com/apache/pulsar/issues/21974#issuecomment-6381536182
Thanks for the report, @Awsmsniper. The proxy's `/status.html` endpoint used by the liveness/readiness probes no longer requires authentication since https://github.com/apache/pulsar/pull/21428 (in 3.0.2/3.1.2 and later; see `ProxyServiceStarter` on master). The helm-chart side is tracked in https://github.com/apache/pulsar-helm-chart/issues/447, which is closed. Closing as fixed. If the probes still fail with 401 on a supported release (4.0.x, 4.2.x or 5.0.x), please reopen with the proxy image tag that is actually running and the proxy logs.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] pulsar-proxy Liveness probe failed: HTTP probe failed with statuscode: 401 [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #21974:
URL: https://github.com/apache/pulsar/issues/21974#issuecomment-1912355617
duplicates https://github.com/apache/pulsar-helm-chart/issues/447
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] pulsar-proxy Liveness probe failed: HTTP probe failed with statuscode: 401 [pulsar]
Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat closed issue #21974: [Bug] pulsar-proxy Liveness probe failed: HTTP probe failed with statuscode: 401
URL: https://github.com/apache/pulsar/issues/21974
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org