You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In version 0.9.69, you introduced a change (#4843). Unfortunately, this caused our environment update process to fail. Here's what happened:
We attempted to migrate from version 0.9.66 to 0.9.70. On our cluster, we have multiple instances of Mage, each designated as PROJECT_TYPE=sub. All of these instances use the same database, as do the workspaces. Unfortunately, role names are not automatically migrated, which results in users losing access to their environments.
We've also encountered several additional issues:
We tried to create default roles for the project through the page .../settings/workspace/roles by clicking on "Create default roles and permissions". Unfortunately, the process never completes. It appears (confirmed by logs) that Mage enters a loop of executing the same select queries over and over, which also causes the application to become unresponsive.
When creating a new Mage instance (using a Helm Chart provided by you), default roles for the project (sub-type project) are not created. The API for retrieving them (and thus the UI) does not work as it should. The list is always restricted to a certain number of records.
Ok, I "found" the solution to the issue of roles not being created. My assumption was incorrect. Roles are being created, but the API for retrieving them (and thus the UI) does not work as it should. The list is always restricted to a certain number of records.
As a result, there is no way to assign permissions to users because there is no pagination in the UI (as well as in the GET /api/roles API).
However, this does not solve the problem with the Mage upgrade.
Mage version
0.9.70
Describe the bug
In version 0.9.69, you introduced a change (#4843). Unfortunately, this caused our environment update process to fail. Here's what happened:
We attempted to migrate from version 0.9.66 to 0.9.70. On our cluster, we have multiple instances of Mage, each designated as PROJECT_TYPE=sub. All of these instances use the same database, as do the workspaces. Unfortunately, role names are not automatically migrated, which results in users losing access to their environments.
We've also encountered several additional issues:
When creating a new Mage instance (using a Helm Chart provided by you), default roles for the project (sub-type project) are not created.The API for retrieving them (and thus the UI) does not work as it should. The list is always restricted to a certain number of records.Here are our environment variables:
value: demo2
value: demo2
value: b526683ec8fb61bbdd5865e5fac2605f
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
value: us-east-1
valueFrom:
secretKeyRef:
key: *****
name: ****
value: subnet-*****
value: "1"
value: sub
value: "1"
value: "1"
value: INFO
value: k8s
value: demo2
value: redis://mage-redis-headless.mage.svc.cluster.local:6379/0
value: web_server
value: regional
value: us-east-1
value: us-east-1
We would appreciate your guidance on these issues.
To reproduce
No response
Expected behavior
No response
Screenshots
No response
Operating system
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: