Giter VIP home page Giter VIP logo

Comments (19)

GrahamDumpleton avatar GrahamDumpleton commented on July 21, 2024

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.

mfojtik avatar mfojtik commented on July 21, 2024

@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.

GrahamDumpleton avatar GrahamDumpleton commented on July 21, 2024

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.

thoraxe avatar thoraxe commented on July 21, 2024

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.

bparees avatar bparees commented on July 21, 2024

@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.

sdodson avatar sdodson commented on July 21, 2024

@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.

bparees avatar bparees commented on July 21, 2024

@tdawson sounds like we'll need a rebuild/publish of the python image to fix this.

from s2i-python-container.

GrahamDumpleton avatar GrahamDumpleton commented on July 21, 2024

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.

GrahamDumpleton avatar GrahamDumpleton commented on July 21, 2024

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.

bparees avatar bparees commented on July 21, 2024

we'll queue that up for the 3.1.1 release.

from s2i-python-container.

bparees avatar bparees commented on July 21, 2024

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.

GrahamDumpleton avatar GrahamDumpleton commented on July 21, 2024

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.

mfojtik avatar mfojtik commented on July 21, 2024

@GrahamDumpleton yep, summit time release.

from s2i-python-container.

bparees avatar bparees commented on July 21, 2024

@GrahamDumpleton @mfojtik

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.

GrahamDumpleton avatar GrahamDumpleton commented on July 21, 2024

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.

bparees avatar bparees commented on July 21, 2024

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.

sdodson avatar sdodson commented on July 21, 2024

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.

hhorak avatar hhorak commented on July 21, 2024

The fix should be now in testing and released after next update for python-27 and python-34.

from s2i-python-container.

GrahamDumpleton avatar GrahamDumpleton commented on July 21, 2024

Presumably this is now fixed so closing.

from s2i-python-container.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.