-
Notifications
You must be signed in to change notification settings - Fork 148
Broken cartservice - busybox nslookup
misreturns 1 instead of 0
#995
Comments
From Leonid: The investigation is still in progress. So far I can confirm that the cause of the problem is init container in the cartservice pod that fails. The workaround of the problem is to delete the cartservice deployment. Ensure that redis-cart deployment and service are in ready state. Delete the initContainers section from the cartservice.yaml (in the kubernetes-manifests/ folder and re-deploy the cartservice |
the part which needs to be removed is
|
Alex and I noticed that this command returns correctly on main container but poorly on the init container:
It would incorrectly return 1 on the init (where the SHELL env was slightly different, maybe a differen versioj busybox? Leonid suggests it might be a bug in busybox and I agree. |
nslookup
misreturns 1 instead of 0
I can confirm this change works:
|
workaround for GoogleCloudPlatform#995
I'll try now also the 1.28 version as per here: https://www.linkedin.com/pulse/busybox-nslookup-bug-gary-tay/ |
YES! The
also works. |
Fixes #995 by pinning busybox image to version 1.28
Fixes #995 by pinning busybox image to version 1.28
urrently lastest version of https://cloud-ops-sandbox.dev/ is broken.
A fresh isntall fails on the cartservice.
I've done a long investigation with @alml in [1] shared with leoy@
A quick/cheap fix would be good enough.
[1] https://docs.google.com/document/d/1RTEKaDlP9PwoNfKvpAFxjbQYCZ0o5kA9Pj_V26kqu3Y/edit# [2]
The text was updated successfully, but these errors were encountered: