Kiali operator image issue
When testing kiali operator image with BigBang charts. We are noticing errors in deployment and currently blocked upgrading the package.
repo: registry1.dso.mil/ironbank/opensource/kiali/kiali-operator
tag: v1.67.0
We noticed upstream image is using a different library then Ironbank image:
Ironbank image library:
pip list | egrep 'request|urllib'
WARNING: The directory '/opt/ansible/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
requests 2.30.0
requests-oauthlib 1.3.1
requests-unixsocket 0.3.0
urllib3 2.0.2
Upstream image Library:
requests 2.28.1
requests-oauthlib 1.3.1
requests-unixsocket 0.3.0
urllib3 1.26.12`
We downgraded the library in ironbank image and we notice operator was working.
pip install requests==2.29.0 --force-reinstall
Defaulting to user installation because normal site-packages is not writeable
Collecting requests==2.29.0
Downloading requests-2.29.0-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 kB 130.6 kB/s eta 0:00:00
Collecting charset-normalizer<4,>=2 (from requests==2.29.0)
Downloading charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (195 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 195.9/195.9 kB 61.9 kB/s eta 0:00:00
Collecting idna<4,>=2.5 (from requests==2.29.0)
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 32.0 kB/s eta 0:00:00
Collecting urllib3<1.27,>=1.21.1 (from requests==2.29.0)
Downloading urllib3-1.26.16-py2.py3-none-any.whl (143 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.1/143.1 kB 147.6 kB/s eta 0:00:00
Collecting certifi>=2017.4.17 (from requests==2.29.0)
Downloading certifi-2023.5.7-py3-none-any.whl (156 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 kB 366.9 kB/s eta 0:00:00
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
WARNING: The script normalizer is installed in '/opt/ansible/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed certifi-2023.5.7 charset-normalizer-3.1.0 idna-3.4 requests-2.29.0 urllib3-1.26.16
sh-4.4$
sh-4.4$
sh-4.4$
sh-4.4$ pip list | egrep 'request|urllib'
requests 2.29.0
requests-oauthlib 1.3.1
requests-unixsocket 0.3.0
urllib3 1.26.16
Attaching error logs during the upgrade.kiali-operator-error.log
Edited by Dean Naqvi