Bug 1138334 - RFE Introduce import-profile command on oo-admin-ctl-cartridge
Summary: RFE Introduce import-profile command on oo-admin-ctl-cartridge
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-04 14:13 UTC by Luke Meyer
Modified: 2014-09-11 20:07 UTC (History)
6 users (show)

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.
Clone Of:
Environment:
Last Closed: 2014-09-11 20:07:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1183 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.1.6 bug fix and enhancement update 2014-09-12 00:06:21 UTC

Description Luke Meyer 2014-09-04 14:13:55 UTC
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 14:17:05 UTC
origin-server commits:

commit 3b79d87d7e332952dc679eaa84ba2f170db7c779
Author: Luke Meyer <lmeyer>
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>
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 06:13:43 UTC
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 20:07:01 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.

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.