Groups assigned Project roles do not display under the Edit Project view in the Rancher v2.2.4 UI

This document (000020223) is provided subject to the disclaimer at the end of this document.

Situation

Issue

Despite being able to successfully assign user groups a project role, the groups are not listed under Members in the Edit Project view in the Rancher v2.2.4 UI.

After adding a new group to the project as follows:

Adding a group to a project

The newly added group does not display in the list:

Listing members of a project

However, querying the projectRoleTemplateBindings for the project via the Rancher API confirms it has been successfully added:

{

    "annotations": {
        "lifecycle.cattle.io/create.cluster-prtb-sync_c-r5gcn": "true",
        "lifecycle.cattle.io/create.mgmt-auth-prtb-controller": "true"
    },
    "baseType": "projectRoleTemplateBinding",
    "created": "2019-09-19T10:19:08Z",
    "createdTS": 1568888348000,
    "creatorId": "user-2qtnq",
    "groupId": null,
    "groupPrincipalId": "freeipa_group://cn=developers,cn=groups,cn=accounts,dc=ipa,dc=example,dc=com",
    "id": "p-nbhcs:prtb-nq2c9",
    "labels": {
        "cattle.io/creator": "norman"
    },
    "links": {
        "remove": "…/v3/projectRoleTemplateBindings/p-nbhcs:prtb-nq2c9",
        "self": "…/v3/projectRoleTemplateBindings/p-nbhcs:prtb-nq2c9",
        "update": "…/v3/projectRoleTemplateBindings/p-nbhcs:prtb-nq2c9"
    },
    "name": "prtb-nq2c9",
    "namespaceId": null,
    "projectId": "c-r5gcn:p-nbhcs",
    "roleTemplateId": "project-member",
    "type": "projectRoleTemplateBinding",
    "userId": null,
    "userPrincipalId": null,
    "uuid": "ead04e5d-dac6-11e9-9a87-0242ac110002"

}

Pre-requisites

  • This issue only affects Rancher v2.2.4

Root Cause

This issue is caused by a UI bug (GitHub Issue #20760) in Rancher v2.2.4 that was patched in Rancher v2.2.5.

Resolution

Users should upgrade Rancher to v2.2.5 or above to resolve the issue.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020223
  • Creation Date: 06-May-2021
  • Modified Date:06-May-2021
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center