Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1151244 - Files placed in the .cartridge_repository will break mcollective on a node
Files placed in the .cartridge_repository will break mcollective on a node
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Containers (Show other bugs)
2.1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jason DeTiberus
libra bugs
: Upstream
Depends On: 1151648
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-09 18:25 EDT by Timothy Williams
Modified: 2014-11-03 14:55 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1151648 (view as bug list)
Environment:
Last Closed: 2014-11-03 14:55:22 EST
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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1228733 None None None Never
Red Hat Product Errata RHSA-2014:1796 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Enterprise 2.2 Release Advisory 2014-11-03 19:52:02 EST

  None (edit)
Description Timothy Williams 2014-10-09 18:25:11 EDT
Description of problem:
On a node, any files placed in `/var/lib/openshift/.cartridge_repository` that are not cartridge directories will cause mcollective to fail semi-silently. There is just a warning message reported, but the mcollective process continues without error. However, no messages are serviced or sent.

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

How reproducible:
Always

Steps to Reproduce:
1. Place a file in `/var/lib/openshift/.cartridge_repository`
     $ touch /var/lib/openshift/.cartridge_repository/test_file
2. Restart mcollective
3.

Actual results:
The following warning is seen in the ruby193-mcollective.log:

WARN -- : agents.rb:95:in `rescue in activate_agent?' Agent activation check for openshift failed: Errno::ENOTDIR: Not a directory - /var/lib/openshift/.cartridge_repository/test_file

No messages are serviced. oo-mco ping still works, however actions (such as removing/adding ssh keys to applications) always fail.

Expected results:
Warning message reported, mcollective continues un-phased.

Additional info:
Comment 2 Anping Li 2014-10-15 22:27:29 EDT
Verified and pass on OSE-2.2/2014-10-15.1/

1. touch /var/lib/openshift/.cartridge_repository/test_file on node
2. restart ruby193-mcollective
3. Create app and add sshkey and other sanity test pass against node.
Comment 4 errata-xmlrpc 2014-11-03 14:55:22 EST
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/RHSA-2014-1796.html

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