Bug 1218607 - evm.log has "Failed to load qpid_messaging gem" message
Summary: evm.log has "Failed to load qpid_messaging gem" message
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.4.0
Assignee: Joe Vlcek
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-05 11:49 UTC by Thom Carlin
Modified: 2015-06-16 13:01 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 13:01:36 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Description Thom Carlin 2015-05-05 11:49:12 UTC
Description of problem:

During authentication of RHOS credentials, get the failure notice

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

5.4.0.0.24.20150427192818_1fd9e49

How reproducible:

Uncertain

Steps to Reproduce:
1. Define RHOS6 Cloud Provider
2. Provide Credentials
3.

Actual results:

"MIQ(OpenstackQpidConnection).available?) Failed to load qpid_messaging gem.  Qpid AMQP messaging will not be available.  Enable debug logging to see the associated exception."

Expected results:

No message, appropriate messaging gem loaded

Additional info:

Comment 4 Greg Blomquist 2015-05-05 18:46:49 UTC
This is likely a blocker bug, based on a quick look at an appliance:

> # rpm -qa | grep cfme
> cfme-lib-5.4.0.0.24-1.el6cf.x86_64
> cfme-gemset-5.4.0.0.24-1.el6cf.x86_64
> cfme-5.4.0.0.24-1.el6cf.x86_64
> cfme-appliance-5.4.0.0.24-1.el6cf.x86_64

> # rpm -qa | grep qpid
> ruby200-rubygem-qpid_messaging-0.20.2-5.el6cf.x86_64
> qpid-cpp-client-ssl-0.14-22.el6_3.x86_64
> qpid-cpp-client-0.14-22.el6_3.x86_64

> [vmdb]# cat .bundle/config 
> ---
> BUNDLE_JOBS: 3
> BUNDLE_WITHOUT: test:development:metric_fu:qpid

We can't bundle without qpid for appliances

Comment 5 Joe Vlcek 2015-05-05 19:11:19 UTC
Thom,

Can you please try something for me?

On the appliance patch the .bundle/config file with the following command"

sed -i "s/:qpid//g" /var/www/miq/vmdb/.bundle/config

Then confirm if things work as expected.

Thank you!
  JoeV

Comment 7 Joe Vlcek 2015-05-05 19:51:25 UTC
As noted while working together w/Thom the sed/edit followed by a evm restart is a workaround for the current build. A permanent fix will show up in the next build.

Comment 8 John Prause 2015-05-07 14:24:51 UTC
This will make it into the next 5.4 build
5.4.0.0.26

Comment 9 Joe Vlcek 2015-05-12 13:07:22 UTC
Just FYI - I did a simple confirmation test to ensure this is fixed in the 5.4.0.0.26 image.

I booted and configured the vsphere then did:

# vmdb
# bundle exec rails c
irb(main):001:0> require 'qpid_messaging'
=> true

 
JoeV

Comment 11 Thom Carlin 2015-05-13 18:39:20 UTC
Verified in 5.4.0.0.26.20150511144816_f924bd4 (per Comment 9)

Comment 13 errata-xmlrpc 2015-06-16 13:01:36 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://rhn.redhat.com/errata/RHBA-2015-1100.html


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