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.
DescriptionTomas Strachota
2012-03-07 15:41:02 UTC
Description of problem:
Error message after an attempt for deleting an environment that has some successors needs to be polished.
Version-Release number of selected component (if applicable):
katello-cli-0.2.8-1
katello-0.2.8-1
Steps to Reproduce:
1. katello create environment --name Dev --org ACME_Corporation --prior Library
2. katello create environment --name Prod --org ACME_Corporation --prior Dev
3. katello environment delete --name Dev --org ACME_Corporation
Actual results:
Errors occured during orchestration #<OrderedHash {:base=>["Environment Dev has a successor. Only the last environment on a path can be deleted"]}>
Queue Failed - []
Expected results:
Simplier error message without data types and orchestration info.
Eg. "Environment Dev has a successor. Only the last environment on a path can be deleted"
verified with following CFSE build.
[root@perceptor ~]# rpm -qa | grep -ie katello-0 -ie katello-cli
katello-0.1.304-1.el6.noarch
katello-cli-common-0.1.105-1.el6.noarch
katello-cli-0.1.105-1.el6.noarch
Error message is improved now:
[root@perceptor ~]# katello -u admin -p admin shell
katello> environment create --name dev --org ACME_Corporation --prior Library
Successfully created environment [ dev ]
katello> environment create --name prod --org ACME_Corporation --prior dev
Successfully created environment [ prod ]
katello> environment delete --name dev --org ACME_Corporation
Environment dev has a successor. Only the last environment on a path can be deleted.
katello> exit
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/RHEA-2012-0665.html
Description of problem: Error message after an attempt for deleting an environment that has some successors needs to be polished. Version-Release number of selected component (if applicable): katello-cli-0.2.8-1 katello-0.2.8-1 Steps to Reproduce: 1. katello create environment --name Dev --org ACME_Corporation --prior Library 2. katello create environment --name Prod --org ACME_Corporation --prior Dev 3. katello environment delete --name Dev --org ACME_Corporation Actual results: Errors occured during orchestration #<OrderedHash {:base=>["Environment Dev has a successor. Only the last environment on a path can be deleted"]}> Queue Failed - [] Expected results: Simplier error message without data types and orchestration info. Eg. "Environment Dev has a successor. Only the last environment on a path can be deleted"