Closed gaktive closed 1 year ago
Component | Version / Type |
---|---|
Rancher version | 2.7.0 |
Installation option | Helm (high availability) |
If Helm Chart k8s cluster | v1.24.7+k3s1 |
Cert Details | Let's Encrypt / traefik |
k3s ha external db | Aurora MySQL 5.7.mysql_aurora.2.10.2 |
Helm version | v2.16.8-rancher2 |
Downstream cluster type | not applicable |
Downstream K8s version | not applicable |
Authentication providers enabled | local |
Logged in user role | Administrator |
Browser type | Google Chrome |
Browser version | 108.0.5359.98 (Official Build) (x86_64) |
/dashboard/home
hamburger menu
>>> local
>>> Projects/Namespaces
>>> Create Project
Name
: test-project
Create
>>> you are redirected back to the projects and namespaces pageAll Namespaces
)ellipsis (three dots)
for test-project
>>> click Edit Config
Name
field cannot be edited and is stuck as test-project
To be able to update the project name that was created
Unable to edit the project name that was created
Component | Version / Type |
---|---|
Rancher version | v2.7-e077f670ab72023102d36725ed1e2e7e56dbcdd4-head |
Rancher commit link | https://github.com/rancher/rancher/commit/e077f670ab72023102d36725ed1e2e7e56dbcdd4 |
Installation option | Helm (high availability) |
If Helm Chart k8s cluster | v1.24.7+k3s1 |
Cert Details | Let's Encrypt / traefik |
k3s ha external db | Aurora MySQL 5.7.mysql_aurora.2.10.2 |
Helm version | v2.16.8-rancher2 |
Downstream cluster type | not applicable |
Downstream K8s version | not applicable |
Authentication providers enabled | local |
Logged in user role | Administrator |
Browser type | Google Chrome |
Browser version | 108.0.5359.98 (Official Build) (x86_64) |
/dashboard/home
hamburger menu
>>> local
>>> Projects/Namespaces
>>> Create Project
Name
: test-project
Create
>>> you are redirected back to the projects and namespaces pageAll Namespaces
)ellipsis (three dots)
for test-project
>>> click Edit Config
Name
field can be edited nowtest-project
>>> to test-project123
Save
>>> you are then redirected back to the Projects and Namespaces pagetest-project
200
PUT
to >>> v3/projects/local:p-gtjx6?_replace=true
200
POST
to >>> /v3/projects/local:p-gtjx6?action=setpodsecuritypolicytemplate
200
GET
to >>> v1/management.cattle.io.projects
Kubectl Shell
k get projects -A
k describe project p-gtjx6 -n local
Display Name
for the project is still just test-project
and not test-project123
Expected the project name to be updated since it was an option to do so in the UI
When changing the project name and saving, the save appeared to be successful (no warning in the UI, and no failed network requests etc) However the project name did not change from test-project
to test-project123
Component | Version / Type |
---|---|
Rancher version | v2.7-5df9701e63e148e64c949f49fe768d56ccdfa9b5-head |
Rancher commit link | https://github.com/rancher/rancher/commit/5df9701e63e148e64c949f49fe768d56ccdfa9b5 |
Installation option | Helm (high availability) |
If Helm Chart k8s cluster | v1.24.7+k3s1 |
Cert Details | Let's Encrypt / traefik |
k3s ha external db | Aurora MySQL 5.7.mysql_aurora.2.10.2 |
Helm version | v2.16.8-rancher2 |
Downstream cluster type | RKE1 Linode |
Downstream K8s version | v1.24.8 |
Authentication providers enabled | local |
Logged in user role | Administrator, Standard |
Browser type | Google Chrome |
Browser version | 108.0.5359.124 (Official Build) (x86_64) |
/dashboard/home
hamburger menu
>>> local
>>> Projects/Namespaces
>>> Create Project
Name
: test-project
Create
>>> you are redirected back to the projects and namespaces pageAll Namespaces
)ellipsis (three dots)
for test-project
>>> click Edit Config
Name
field can be edited nowtest-project
>>> to test-project123
Save
>>> you are then redirected back to the Projects and Namespaces pageTo be able to edit a project name via the Rancher user interface
I was able to edit the project name via the Rancher user interface
Scenario | Steps | Expected | Actual & Pass/Fail |
---|---|---|---|
Ensure updating project name is working via kubectl |
|
Expected: To be able to edit the project name with kubectl without any errors | Actual: Able to edit the project name with kubectl Pass/Fail: ✅ PASS |
Ensure updating the project name with Postman/API call works |
|
Expected: To be able to edit the project name with API/Postman | Actual: Was able to edit the project name with Postman Pass/Fail: ✅ PASS |
Internal reference: SURE-5027 Reported in 2.6.4
Request description: User is unable to edit Project name (new and existing Projects). This is supported in Rancher v2.5, but does not appear to be supported in Rancher v2.6. Looks to be a dropped or missing feature in terms of UI operations.
Actual behavior: Project Name field in the form is greyed out, i.e. not available for edit.
Expected behavior: Project name field should be editable by an authorized user.
Workaround: A Project name can be modified using
kubectl
(projects.management.cattle.io) through thespec.displayName
field.View in 2.5.x:
View in 2.6.x: