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.
Bug 744191 - Reject on removing "Red Hat" provider
Summary: Reject on removing "Red Hat" provider
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Garik Khachikyan
URL:
Whiteboard:
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-10-07 11:58 UTC by Garik Khachikyan
Modified: 2019-09-25 21:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:00:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Garik Khachikyan 2011-10-07 11:58:27 UTC
Description of problem:
Since the recent implementation of Katello UI there is seems a restriction not to be able to remove the provider "Red Hat" of type "redhat" at all.
But the API+CLI is still valid to do that. Please adjust it.

Version-Release number of selected component (if applicable):
katello-0.1.87-1.git.7.7fbebfc.fc15.noarch
katello-cli-0.1.10-1.git.585.a6c83c3.el6.noarch

How reproducible:
always 

Steps to Reproduce:
1. create an org - rhel6
2. try `provider delete --name "Red Hat" --org rhel6`
3.
  
Actual results:
it ends successfully, Red Hat provider gets removed. UI however blocks that functionality to delete the provider - only update of the url (even not the name).

Expected results:
So make possible to manage with "Red Hat" provider of an org with changing the url *only* (adjust with UI, i.e.)

Additional info:

Comment 1 Ivan Necas 2011-10-11 14:55:49 UTC
Fixed in commit 4312a6fdfc5e67ddf91841ca29a2c922432afb1a and 8288e18607eeced9444ff8a45f33acd42c2265fb

Cli now allows only updating the url for the Red Hat provider, no deletion.

Comment 2 Garik Khachikyan 2011-10-21 13:01:38 UTC
# VERIFIED

Now the proper message "Error while deleting provider [ Red Hat ]: Red Hat provider can not be deleted," appears on execution of:
---
provider delete --name "Red Hat" --org org1

update of name is impossible with:
---
katello> provider update --org org1 --name "Red Hat" --new_name test
Validation failed: the following attributes can not be updated for the Red Hat provider: [ name ]

and only the update of url is allowed there.

Comment 5 Mike McCune 2013-08-16 18:07:40 UTC
getting rid of 6.0.0 version since that doesn't exist


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