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 vote
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:


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.