Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1138334 - RFE Introduce import-profile command on oo-admin-ctl-cartridge
RFE Introduce import-profile command on oo-admin-ctl-cartridge
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
2.1.0
Unspecified Unspecified
high Severity low
: ---
: ---
Assigned To: Luke Meyer
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-04 10:13 EDT by Luke Meyer
Modified: 2014-09-11 16:07 EDT (History)
6 users (show)

See Also:
Fixed In Version: openshift-origin-broker-util-1.23.8.13-1
Doc Type: Enhancement
Doc Text:
As administrators become increasingly likely to install different sets of cartridges using different gear profiles, for example to set aside profiles for JBoss EAP and future xPaaS cartridges, the process to import cartridge manifests becomes more complex. To accommodate this scenario, this enhancement adds the import-profile subcommand to the oo-admin-ctl cartridge command on the broker host, which finds a representative node from one, several, or all profiles and imports the latest cartridge manifests from all representative nodes.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-09-11 16:07:01 EDT
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 Product Errata RHBA-2014:1183 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.1.6 bug fix and enhancement update 2014-09-11 20:06:21 EDT

  None (edit)
Description Luke Meyer 2014-09-04 10:13:55 EDT
Cherry-pick https://trello.com/c/Gvi0muTd/221-2-multi-profile-cartridge-import to OSE 2.1

This introduces oo-admin-ctl-cartridge -c import-profile which will choose a random node from each profile (or specified profile(s)) to do the import.

Now that we are enabling per-profile cartridge set differentiation, this will be a lot easier for users than having to find a representative node for each different cartridge set and run import-node for all of them.

Specifically, with the Fuse cartridge shipping during OSE 2.1 and its unique needs, we anticipate administrators installing a different set of cartridges on the xpaas profile versus others. (They may already be doing this with JBossEAP anyway, or certainly want to.) This option will pull the cartridge list from a representative of each profile so it's easy to make sure they're all covered.
Comment 1 Luke Meyer 2014-09-04 10:17:05 EDT
origin-server commits:

commit 3b79d87d7e332952dc679eaa84ba2f170db7c779
Author: Luke Meyer <lmeyer@redhat.com>
Date:   Wed Sep 3 16:59:56 2014 -0400

    oo-admin-ctl-cartridge: import-profile command
    
    https://trello.com/b/M0rP0aLj/openshift-origin-platform-experience


commit 6610eef5febe6b07f5823927da7a6267f2755a46
Author: Luke Meyer <lmeyer@redhat.com>
Date:   Thu Sep 4 10:00:03 2014 -0400

    ctl-cartridge manpage: update for import-profile
    
    https://trello.com/c/Gvi0muTd/221-2-multi-profile-cartridge-import
Comment 5 Ma xiaoqiang 2014-09-05 02:13:43 EDT
Check on puddle [2.1.z/2014-09-04.1]

Run the case#406066, all the steps get the expected result.
Move the issue to VERIFIED.
Comment 7 errata-xmlrpc 2014-09-11 16:07:01 EDT
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.

http://rhn.redhat.com/errata/RHBA-2014-1183.html

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