Bug 882248 - [RFE] Environment renaming should be enabled
Summary: [RFE] Environment renaming should be enabled
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: 1.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jordan OMara
QA Contact: SAM QE List
URL:
Whiteboard:
Depends On: 795928
Blocks: sam13-tracker
TreeView+ depends on / blocked
 
Reported: 2012-11-30 13:51 UTC by Tom McKay
Modified: 2014-11-09 22:56 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of: 795928
Environment:
Last Closed: 2013-08-06 09:39:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Tom McKay 2012-11-30 13:51:04 UTC
+++ This bug was initially created as a clone of Bug #795928 +++

See 787226 for reasons renaming was disabled. This disable, though, is only a short-term fix to avoid larger issues and needs to be resolved.

-----
Since we base the repoid in pulp off of the environment name, we really
shouldn't be able to rename it, as it could cause problems. 

One such scenario that could cause issues:


1. create environment Dev
2. promote repo X to dev
3. rename environment Dev to Foo
4. Create a new environment called Dev after Foo
5. promote repo X to Dev


Since the repo was already created in an environment called Dev, the repo
promotion would fail.  


Ideally we wouldn't be basing repo_id off of environment name.  There was some
discussion on having an immutable label field, which should allow us to have a
name that is changeable, but this is probably post V1.


We need to block this in the UI and the api.

Comment 1 Jordan OMara 2012-12-18 16:27:42 UTC
https://github.com/Katello/katello/pull/1281

Comment 2 Bryan Kearney 2013-06-06 20:50:58 UTC
Moving all POST / MODIFIED bugs to ON_QA due to the new builds.

Comment 3 Tazim Kolhar 2013-08-06 08:06:46 UTC
Hi,

  Environments is not supported in Headpin/SAM mode

Please, let me know if we still need to verify for default_environment
LIBRARY

Thanks,
Tazim

Comment 4 Tom McKay 2013-08-06 09:39:46 UTC
Environments are no longer supported in headpin mode. The single behind-the-scenes environment is Library, which even in katello cannot be modified.


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