Bug 1461558

Summary: OpenShift smartstate errors -unknown access error to pod management-infra/manageiq-img-scan-7f243: #<Net::HTTPBadRequest:0x00000010422df8>
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: SmartState AnalysisAssignee: Erez Freiberger <efreiber>
Status: CLOSED ERRATA QA Contact: Einat Pacifici <epacific>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: benglish, cpelland, efreiber, fdupont, fsimonce, gekis, jdeubel, jhardy, jkaur, jocarter, mtayer, myoder, obarenbo, saali, sacpatil, simaishi, thenness
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.1   
Hardware: x86_64   
OS: Linux   
Whiteboard: container
Fixed In Version: 5.8.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1384629 Environment:
Last Closed: 2017-08-02 17:31:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Bug Depends On: 1384629    
Bug Blocks:    

Comment 2 CFME Bot 2017-06-14 19:21:08 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/4769a2390063743d227386fc963cc9fd1b5e77fa

commit 4769a2390063743d227386fc963cc9fd1b5e77fa
Author:     Richard Oliveri <oliveri.richard.github>
AuthorDate: Mon Apr 17 11:12:11 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Wed Jun 14 15:10:39 2017 -0400

    Merge pull request #14578 from enoodle/container_ssa_use_readiness_probe
    
    container ssa: use readiness prob
    (cherry picked from commit 08c3090302d4c7fa747781dc3699e502194adb62)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1461558

 .../kubernetes/container_manager/scanning/job.rb   | 54 ++++++++++++----------
 .../container_manager/scanning/job_spec.rb         | 31 ++++++-------
 .../kubernetes/container_manager/scanning/job.yml  | 41 ----------------
 3 files changed, 45 insertions(+), 81 deletions(-)
 delete mode 100644 spec/vcr_cassettes/manageiq/providers/kubernetes/container_manager/scanning/job.yml

Comment 6 Einat Pacifici 2017-07-04 11:19:27 UTC
Verified. When CFME creates imageinspector, it defines the readinessprobe. 

From log: 
.................secret","mountPath":"/var/run/secrets/kubernetes.io/inspector-admin-secret-inspector-admin-dockercfg-s74ed","readOnly":true}],"env":[],"readinessProbe":{"initialDelaySeconds":15,"periodSeconds":5,"httpGet":{"path":"/healthz","port":8080}}}],"volumes":[{"name":"docker-socket","hostPath":{"path":"/var/run/docker.sock"}},{"name":"inspector-admin-secret","secret":{"secretName":"inspector-admin-dockercfg-s74ed"}}]}}]
...
...

Comment 8 errata-xmlrpc 2017-08-02 17:31:22 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1758