Comments (19)
Managed a deploy on the broken cluster as some nodes still okay.
Confirmed I don't see the preload error with CentOS images and that nss_wrapper files do exist.
$ oc rsh wsgi-hello-world-1-rqiy2 bash
bash-4.2$ find / -name '*nss_wrapper*' -print
find: '/lost+found': Permission denied
find: '/proc/tty/driver': Permission denied
/usr/bin/nss_wrapper.pl
/usr/lib64/pkgconfig/nss_wrapper.pc
/usr/lib64/cmake/nss_wrapper
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config-version.cmake
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config.cmake
/usr/lib64/libnss_wrapper.so
/usr/lib64/libnss_wrapper.so.0
/usr/lib64/libnss_wrapper.so.0.1.0
find: '/var/cache/ldconfig': Permission denied
find: '/var/lib/yum/history/2015-08-14/1': Permission denied
find: '/var/lib/yum/history/2015-08-14/2': Permission denied
find: '/var/lib/yum/history/2015-08-14/3': Permission denied
find: '/var/lib/yum/history/2015-08-14/4': Permission denied
find: '/var/lib/yum/history/2015-08-14/5': Permission denied
find: '/var/lib/yum/history/2015-08-14/6': Permission denied
find: '/var/lib/yum/history/2015-08-14/7': Permission denied
/var/lib/yum/yumdb/n/b097b2acb37e9cf59ccff6ee0ad3c4823a2e138c-nss_wrapper-1.0.3-1.el7-x86_64
find: '/var/tmp/yum-root-_MPE5y': Permission denied
from s2i-python-container.
@GrahamDumpleton it is yum that is lying to us I presume. When we build the image and the nss_wrapper is not installed, we don't know that until we manually inspect the image. We should really be checking everything we install and verify that it was really installed.
@bparees did we released these images? @GrahamDumpleton are this images from official channel?
from s2i-python-container.
The images are whatever was added as part of the Roadshow environment installation. Uses the standard Ansible scripts as far as I know, but with it being pointed at Red Hat internal registry and not just Docker Hub and so with RHEL variants of builders pulled in. @thoraxe could say more about how Roadshow environments are built.
from s2i-python-container.
I don't think the roadshow has anything to do with the situation in this particular case. If the images in the RH registry are missing libraries, they're missing libraries?
from s2i-python-container.
@mfojtik please double check our registry.access.redhat.com rhel7 images for this issue. If they are in fact missing the nss_wrapper rpm, work with @sdodson.
from s2i-python-container.
@mfojtik it's definitely not in this image
registry.access.redhat.com/openshift3/python-33-rhel7 latest 66bbba7cedad 4 weeks ago 463 MB
$ docker run -it registry.access.redhat.com/openshift3/python-33-rhel7 rpm -q nss_wrapper
package nss_wrapper is not installed
from s2i-python-container.
@tdawson sounds like we'll need a rebuild/publish of the python image to fix this.
from s2i-python-container.
Cluster got rebuilt. So here is results from the three different images for different Python versions.
The fact that all three don't have it is odd in itself. I could imagine one failing, but all three.
The CentOS ones are all fine.
$ oc run -i --tty py27 --image=python:2.7 --restart=Never --command bash
I have no name!@py27:/$ find / -name '*nss_wrapper*' -print
find: `/etc/ssl/private': Permission denied
find: `/proc/tty/driver': Permission denied
find: `/root': Permission denied
find: `/var/cache/ldconfig': Permission denied
I have no name!@py27:/$ uname -a
Linux py27 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 GNU/Linux
$ oc run -i --tty py33 --image=python:3.3 --restart=Never --command bash
I have no name!@py33:/$ find / -name '*nss_wrapper*' -print
find: `/etc/ssl/private': Permission denied
find: `/proc/tty/driver': Permission denied
find: `/root': Permission denied
find: `/var/cache/ldconfig': Permission denied
I have no name!@py33:/$ uname -a
Linux py33 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 GNU/Linux
$ oc run -i --tty py34 --image=python:3.4 --restart=Never --command bash
I have no name!@py34:/$ find / -name '*nss_wrapper*' -print
find: `/etc/ssl/private': Permission denied
find: `/proc/tty/driver': Permission denied
find: `/root': Permission denied
find: `/var/cache/ldconfig': Permission denied
I have no name!@py34:/$ uname -a
Linux py34 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 GNU/Linux
Results for CentOS images are:
$ oc run -i --tty py27 --image=openshift/python-27-centos7 --restart=Never --command bash
bash-4.2$ find / -name '*nss_wrapper*' -print
find: '/lost+found': Permission denied
find: '/proc/tty/driver': Permission denied
/usr/bin/nss_wrapper.pl
/usr/lib64/pkgconfig/nss_wrapper.pc
/usr/lib64/cmake/nss_wrapper
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config-version.cmake
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config.cmake
/usr/lib64/libnss_wrapper.so
/usr/lib64/libnss_wrapper.so.0
/usr/lib64/libnss_wrapper.so.0.1.0
find: '/var/cache/ldconfig': Permission denied
find: '/var/lib/yum/history/2015-08-14/1': Permission denied
find: '/var/lib/yum/history/2015-08-14/2': Permission denied
find: '/var/lib/yum/history/2015-08-14/3': Permission denied
find: '/var/lib/yum/history/2015-08-14/4': Permission denied
find: '/var/lib/yum/history/2015-08-14/5': Permission denied
find: '/var/lib/yum/history/2015-08-14/6': Permission denied
find: '/var/lib/yum/history/2015-08-14/7': Permission denied
/var/lib/yum/yumdb/n/b097b2acb37e9cf59ccff6ee0ad3c4823a2e138c-nss_wrapper-1.0.3-1.el7-x86_64
find: '/var/tmp/yum-root-_MPE5y': Permission denied
bash-4.2$ uname -a
Linux py34 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 x86_64 x86_64 GNU/Linux
$ oc run -i --tty py33 --image=openshift/python-33-centos7 --restart=Never --command bash
bash-4.2$ find / -name '*nss_wrapper*' -print
find: '/lost+found': Permission denied
find: '/proc/tty/driver': Permission denied
/usr/bin/nss_wrapper.pl
/usr/lib64/pkgconfig/nss_wrapper.pc
/usr/lib64/cmake/nss_wrapper
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config-version.cmake
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config.cmake
/usr/lib64/libnss_wrapper.so
/usr/lib64/libnss_wrapper.so.0
/usr/lib64/libnss_wrapper.so.0.2.0
find: '/var/cache/ldconfig': Permission denied
find: '/var/lib/machines': Permission denied
find: '/var/lib/yum/history/2015-12-15/1': Permission denied
find: '/var/lib/yum/history/2015-12-15/2': Permission denied
find: '/var/lib/yum/history/2015-12-15/3': Permission denied
find: '/var/lib/yum/history/2015-12-15/4': Permission denied
find: '/var/lib/yum/history/2015-12-15/5': Permission denied
find: '/var/lib/yum/history/2015-12-15/6': Permission denied
/var/lib/yum/yumdb/n/4187e893c3c63399d23cd0a87abc08bcccf8f05e-nss_wrapper-1.1.0-1.el7-x86_64
bash-4.2$ uname -a
Linux py33 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 x86_64 x86_64 GNU/Linux
$ oc run -i --tty py34 --image=openshift/python-34-centos7 --restart=Never --command bash
bash-4.2$ find / -name '*nss_wrapper*' -print
find: '/lost+found': Permission denied
find: '/proc/tty/driver': Permission denied
/usr/bin/nss_wrapper.pl
/usr/lib64/pkgconfig/nss_wrapper.pc
/usr/lib64/cmake/nss_wrapper
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config-version.cmake
/usr/lib64/cmake/nss_wrapper/nss_wrapper-config.cmake
/usr/lib64/libnss_wrapper.so
/usr/lib64/libnss_wrapper.so.0
/usr/lib64/libnss_wrapper.so.0.1.0
find: '/var/cache/ldconfig': Permission denied
find: '/var/lib/yum/history/2015-08-14/1': Permission denied
find: '/var/lib/yum/history/2015-08-14/2': Permission denied
find: '/var/lib/yum/history/2015-08-14/3': Permission denied
find: '/var/lib/yum/history/2015-08-14/4': Permission denied
find: '/var/lib/yum/history/2015-08-14/5': Permission denied
find: '/var/lib/yum/history/2015-08-14/6': Permission denied
find: '/var/lib/yum/history/2015-08-14/7': Permission denied
/var/lib/yum/yumdb/n/b097b2acb37e9cf59ccff6ee0ad3c4823a2e138c-nss_wrapper-1.0.3-1.el7-x86_64
find: '/var/tmp/yum-root-jTzDe5': Permission denied
bash-4.2$ uname -a
Linux py34 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 x86_64 x86_64 GNU/Linux
from s2i-python-container.
Presumably addressed by:
When will updated images make it to RH registry though, or have they already been updated?
BTW, ignore any email you may have seen of me questioning whether fix was correct. I wasn't reading stuff properly. :-)
from s2i-python-container.
we'll queue that up for the 3.1.1 release.
from s2i-python-container.
this appears to be fixed for the v3.3 image. SCL will be updating the 2.7 and 3.4 images in february so let's revisit this then.
from s2i-python-container.
When you say v3.3, are you talking about OpenShift 3.3, which I understand is likely to be around June/July?
from s2i-python-container.
@GrahamDumpleton yep, summit time release.
from s2i-python-container.
no, i'm talking about the python version in the image. We have 3 python images, one for python27, one for python33, and one for python34. The python v3.3 image is shipped by openshift, so we've fixed that one already. The 2.7 and 3.4 images are delivered by the SCL team so they have a different release schedule.
from s2i-python-container.
Can you clarify then if this isn't OpenShift 3.3, when will the change likely be incorporated? Will it be fixed in time for online preview?
from s2i-python-container.
Again, the python v3.3 images are already fixed.
2.7 and 3.4 should be fixed by the SCL team before the online preview, but @hhorak would need to confirm.
from s2i-python-container.
Specifically openshift3/python-33-rhel7 is fixed but rhscl/python-34-rhel7
and rhscl/python-27-rhel7 are not. There's no correlation between these and
specific OpenShift versions or OpenShift release timelines. The rhscl
images ship independently.
On Fri, Feb 5, 2016 at 9:58 AM, Ben Parees [email protected] wrote:
Again, the python v3.3 images are already fixed.
2.7 and 3.4 should be fixed by the SCL team before the online preview, but
@hhorak https://github.com/hhorak would need to confirm.—
Reply to this email directly or view it on GitHub
#87 (comment)
.
from s2i-python-container.
The fix should be now in testing and released after next update for python-27 and python-34.
from s2i-python-container.
Presumably this is now fixed so closing.
from s2i-python-container.
Related Issues (20)
- Poetry backed project is not installed HOT 8
- Streamlit Update HOT 1
- No Action Required !! Testing automation workflow HOT 1
- No Action Required !! Testing automation workflow HOT 4
- Remove verification of installed packages HOT 3
- 3.9 Readme Instructions unclear HOT 6
- Python 3.10 RHEL image missing in RHEL Container catalog? HOT 4
- Unable to build a Python image from scratch on MacOS HOT 1
- Python 3.9+ for Centos 7 docker images HOT 4
- tests: test case should fail early when the prepare function fails HOT 3
- Distgen errors HOT 11
- Incorrect py-3 image HOT 11
- Support gunicorn >=20.1.0 defaults (do not require APP_ environment variables) HOT 1
- Add RHEL images for Python 3.11 HOT 4
- ERROR: No matching distribution found for numpy==1.19.2 HOT 4
- Use PIP_INDEX_URL with pipenv HOT 1
- ubi9/python-311:latest is using python3.9-rpm HOT 2
- Publish arm64 images HOT 8
- rh-python38 failed on `'npm-virtualenv-uwsgi-test-app' run_s2i_build` & `'pin-pipenv-version-test-app' run_s2i_build` HOT 2
- python311-devel not found by microdnf in python 3.11 minimal EL8 and C9s variants HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s2i-python-container.