Bug 1473330 - openshift-auth-proxy segmentation fault
openshift-auth-proxy segmentation fault
Status: NEW
Product: Red Hat Software Collections
Classification: Red Hat
Component: rh-nodejs4-docker (Show other bugs)
rh-nodejs4
x86_64 Linux
unspecified Severity medium
: ---
: 3.1
Assigned To: Zuzana Svetlikova
BaseOS QE - Apps
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-20 09:51 EDT by Jan Wozniak
Modified: 2017-08-08 05:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
logs (3.17 KB, application/zip)
2017-07-20 09:51 EDT, Jan Wozniak
no flags Details

  None (edit)
Description Jan Wozniak 2017-07-20 09:51:49 EDT
Created attachment 1301746 [details]
logs

Description of problem:
Trying to use the nodejs image as a base image for openshift-auth-proxy ends in segmentation fault within 10 seconds of running the container inside OpenShift.


Version-Release number of selected component (if applicable):
- base image: nodejs-{4,6}-{centos7,rhel7}
- OpenShift Origin v1.5.0
- openshift-ansible - current master [1]


How reproducible:
Always, as a docker image


Steps to Reproduce:
1. Deploy OpenShift logging using openshift-ansible
2. Apply a PR to change the base image for openshift-auth-proxy [2]
3. Build the image and deploy to own registry
4. In OpenShift logging project, point openshift/logging-auth-proxy image to the own registry
5. oc rollout latest logging-kibana


Actual results:
Starting up the proxy with auth mode "oauth2" and proxy transform "user_header,token_header".
/var/tmp/scl63Ncam: line 8:   395 Segmentation fault      (core dumped) node openshift-auth-proxy.js


Expected results:
No segmentation fault and running openshift-auth-proxy


Additional info:
Entering the container and installing nodejs from upstream [3] results in a successfully running proxy in the same image. I tried to verify in a standalone virtual machine using CentOS7 and KVM/QEMU but I was unable to reproduce the entire environment necessary for openshift-auth-image.



[1] https://github.com/openshift/openshift-ansible/tree/e29eab4e9813c46f4738a81e8698b001bd5981b9
[2] https://github.com/wozniakjan/openshift-auth-proxy/pull/1/files
[3] https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora

Note You need to log in before you can comment on or make changes to this bug.