Red Hat Bugzilla – Bug 882248
[RFE] Environment renaming should be enabled
Last modified: 2014-11-09 17:56:32 EST
+++ 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.
Moving all POST / MODIFIED bugs to ON_QA due to the new builds.
Environments is not supported in Headpin/SAM mode
Please, let me know if we still need to verify for default_environment
Environments are no longer supported in headpin mode. The single behind-the-scenes environment is Library, which even in katello cannot be modified.