Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
The katello shell offers content promotion via creation, update and promotion of changesets. There appears to be one other method for promoting content. The 'product' command offers a 'product promote' sub-command.
Is this expected to work? This doesn't trigger errors when used, but should katello offer two distinct methods for promoting content?
> katello> product -h
> Usage: katello <options> product <action> <options>
> Supported Actions:
> create create new product to a custom provider
> update update a product's attributes
> list list known products
> delete delete a product and its content
> synchronize synchronize a product
> cancel_sync cancel currently running synchronization
> status status of product's synchronization
> promote promote a product to an environment
> (creates a temporary changeset with the product and promotes it)
> list_filters list filters of a product
> add_filter add a filter to a product
> remove_filter remove a filter from a product
> set_plan set a synchronization plan
> remove_plan unset a synchronization plan
>
> Options:
> -h, --help show this help message and exit
Version-Release number of selected component (if applicable):
* katello-0.1.235-2.el6.noarch
Steps to Reproduce:
1. katello -u admin -p admin shell
2. product promote --name 'Red Hat Enterprise Linux Server' --org redhat --environment Stage
Actual results:
It didn't fail, which seems good on the surface
Expected results:
Why does the product command support promotion without a changeset? No other content commands support promotion.
Additional info:
it actually does create a changeset. If you look in the UI you get:
"'product_promotion_2012-02-15 03:30:10.556174"
but I don't see any entry in the changeset history which is bad.
So I'm going to leave this open because we must show the changeset in the history in the UI
Description of problem: The katello shell offers content promotion via creation, update and promotion of changesets. There appears to be one other method for promoting content. The 'product' command offers a 'product promote' sub-command. Is this expected to work? This doesn't trigger errors when used, but should katello offer two distinct methods for promoting content? > katello> product -h > Usage: katello <options> product <action> <options> > Supported Actions: > create create new product to a custom provider > update update a product's attributes > list list known products > delete delete a product and its content > synchronize synchronize a product > cancel_sync cancel currently running synchronization > status status of product's synchronization > promote promote a product to an environment > (creates a temporary changeset with the product and promotes it) > list_filters list filters of a product > add_filter add a filter to a product > remove_filter remove a filter from a product > set_plan set a synchronization plan > remove_plan unset a synchronization plan > > Options: > -h, --help show this help message and exit Version-Release number of selected component (if applicable): * katello-0.1.235-2.el6.noarch Steps to Reproduce: 1. katello -u admin -p admin shell 2. product promote --name 'Red Hat Enterprise Linux Server' --org redhat --environment Stage Actual results: It didn't fail, which seems good on the surface Expected results: Why does the product command support promotion without a changeset? No other content commands support promotion. Additional info: