Bug 1311727 - Cartridges with versions starting with 1.x are not seen by the broker
Cartridges with versions starting with 1.x are not seen by the broker
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image (Show other bugs)
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Sally
XiuJuan Wang
Depends On:
  Show dependency treegraph
Reported: 2016-02-24 15:27 EST by Timothy Williams
Modified: 2017-01-13 16:46 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-01-13 16:46:56 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Timothy Williams 2016-02-24 15:27:55 EST
Description of problem:
After creating a cartridge with a cartridge-version of 1.anything and installing it on the node, the broker is unable to add the cartridge to its list of cartridges.

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

How reproducible:

Steps to Reproduce:
1. Create a cartridge on a node with a cartridge-version of ''. The simplest way to do this would be to copy one of the redhat cartridges in /usr/libexec/openshift/cartridges and change the manifest.yml  
2. Install the cartridge with
	oo-admin-cartridge -a install -s /path/to/copied/cartridge
3. Restart the ruby193-mcollective service
4. Clear the broker's cache
	oo-admin-broker-cache --clear
5. Attempt to add the cartridge to the broker's list
	oo-admin-ctl-cartridge -c import-profile --activate

Actual results:
The new cartridge is not seen. "No changes made"

Expected results:
The new cartridge version is added.

Additional info:
This was reproduced specifically by copying the mysql cartridge redhat provides and modifying the cartridge-version in the manifest.yml.
Comment 2 Rory Thrasher 2017-01-13 16:46:56 EST
OpenShift Enterprise v2 has officially reached EoL.  This product is no longer supported and bugs will be closed.

Please look into the replacement enterprise-grade container option, OpenShift Container Platform v3.  https://www.openshift.com/container-platform/

More information can be found here: https://access.redhat.com/support/policy/updates/openshift/

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