Bug 1590301 - json package is missing in httpd_configmap_generator pod
Summary: json package is missing in httpd_configmap_generator pod
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: cfme-httpd-configmap-generator
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.3
Assignee: Satoe Imaishi
QA Contact: Ievgen Zapolskyi
Steve Bream
URL:
Whiteboard:
Depends On:
Blocks: 1543638 1553790 1579944
TreeView+ depends on / blocked
 
Reported: 2018-06-12 11:53 UTC by Ievgen Zapolskyi
Modified: 2018-07-12 15:35 UTC (History)
5 users (show)

Fixed In Version: 5.9.3.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-12 15:35:22 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ievgen Zapolskyi 2018-06-12 11:53:54 UTC
Description of problem:
When I try to run http_configmap_generator in respective pod, I get the following errors

[root@cmqe-smicro-628-b14 cfme-5931-06062253]# oc exec $CONFIGMAP_GENERATOR_POD -- bash -c 'httpd_configmap_generator ipa --host=g3rnz0.ocp-sprout-02.cmqe.lab.eng.rdu2.redhat.com --ipa-server=env-freeipa01.cfme2.lab.eng.rdu2.redhat.com --ipa-domain=freeipa01.cfme2.lab.eng.rdu2.redhat.com --ipa-realm=freeipa01.cfme2.lab.eng.rdu2.redhat.com --ipa-principal=<user> --ipa-password=<password> -d -f --output=/tmp/blabla'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/bundler-1.10.6/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find json-2.0.4 in any of the sources (Bundler::GemNotFound)
        from /opt/rh/rh-ruby23/root/usr/share/gems/gems/bundler-1.10.6/lib/bundler/spec_set.rb:85:in `map!'
        from /opt/rh/rh-ruby23/root/usr/share/gems/gems/bundler-1.10.6/lib/bundler/spec_set.rb:85:in `materialize'
        from /opt/rh/rh-ruby23/root/usr/share/gems/gems/bundler-1.10.6/lib/bundler/definition.rb:140:in `specs'
        from /opt/rh/rh-ruby23/root/usr/share/gems/gems/bundler-1.10.6/lib/bundler/definition.rb:185:in `specs_for'
        from /opt/rh/rh-ruby23/root/usr/share/gems/gems/bundler-1.10.6/lib/bundler/definition.rb:174:in `requested_specs'
        from /opt/rh/rh-ruby23/root/usr/share/gems/gems/bundler-1.10.6/lib/bundler/environment.rb:18:in `requested_specs'
        from /opt/rh/rh-ruby23/root/usr/share/gems/gems/bundler-1.10.6/lib/bundler/runtime.rb:13:in `setup'
        from /opt/rh/rh-ruby23/root/usr/share/gems/gems/bundler-1.10.6/lib/bundler.rb:127:in `setup'
        from /opt/rh/rh-ruby23/root/usr/share/gems/gems/bundler-1.10.6/lib/bundler/setup.rb:18:in `<top (required)>'
        from /opt/rh/rh-ruby23/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:127:in `require'
        from /opt/rh/rh-ruby23/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:127:in `rescue in require'
        from /opt/rh/rh-ruby23/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:39:in `require'
        from /opt/rh/rh-ruby23/root/usr/bin/httpd_configmap_generator:10:in `block in <main>'
        from /opt/rh/rh-ruby23/root/usr/bin/httpd_configmap_generator:10:in `chdir'
        from /opt/rh/rh-ruby23/root/usr/bin/httpd_configmap_generator:10:in `<main>'
command terminated with exit code 1
[root@cmqe-smicro-628-b14 cfme-5931-06062253]# oc rsh httpd-configmap-generator-1-grr67
sh-4.2# bash
[root@httpd-configmap-generator-1-grr67 httpd]# httpd_configmap_generator
Could not find json-2.0.4 in any of the sources
Run `bundle install` to install missing gems.

Version-Release number of selected component (if applicable):
5.9.3.1

How reproducible:
100%

Steps to Reproduce:
1. deploy httpd_configmap_generator pod and try to run httpd_configmap_generator cmd in it

Actual results:
json ruby package is absent 

Expected results:
this package should be included into image

Comment 2 Joe Vlcek 2018-06-12 12:30:55 UTC
Ievgen,

Can you please post a PM in the BZ with the credentials and details of where I can see this failure?

Thank you! JoeV

Comment 7 Ievgen Zapolskyi 2018-06-20 09:46:56 UTC
VERIFIED in 5.9.3.2


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