Bug ID 812609: Unknown Application roles can be missing after an upgrade.

Last Modified: Nov 22, 2021

Bug Tracker

Affected Product:  See more info
BIG-IQ Applications(all modules)

Opened: Aug 05, 2019
Severity: 4-Minor

Symptoms

After an upgrade to BIG-IQ version 7.0 the Unknown Applications Manager and Unknown Applications Viewer roles might not be present in the Role Management -> Roles -> Custom Roles -> Application Roles list.

Impact

The impact of the missing roles is small. You can use any application-specific role to get access to Unknown Applications, so these specific roles are not critical to most workflows.

Conditions

The Unknown Applications Manager and Unknown Applications Viewer roles might not be present in the Role Management -> Roles -> Custom Roles -> Application Roles list.

Workaround

SSH into the BIG-IQ and run the following commands in this order: json1='{"resourceGroupName":"Unknown Applications_ResourceGroup","resourceGroupDisplayName":"Unknown Applications ResourceGroup","resourceGroupIsSystemManaged":true,"resourceGroupIsPublic":false,"resourceGroupIsBuiltIn":false,"referenceExpressionPatches":[{"targetKind":"ap:query:v1:tenants:default:reports:ApplicationsSummary","referenceExpressions":[{"expression":"/ap/query/v1/tenants/default/reports/ApplicationsSummary"}]},{"targetKind":"cm:global:global-apps-merge-move:globalapplicationmergemovestate","referenceExpressions":[{"expression":"/cm/global/global-apps-merge-move"}]},{"targetKind":"ap:query:v1:tenants:default:reports:ClearCache","referenceExpressions":[{"expression":"/ap/query/v1/tenants/default/reports/ClearCache"}]},{"targetKind":"cm:shared:stats-mgmt:status:statsstatus","referenceExpressions":[{"expression":"/cm/shared/stats-mgmt/status"}]},{"targetKind":"cm:global:global-apps:globalapplicationstate","referenceExpressions":[{"expression":"/cm/global/global-apps/69cf49ad-de27-3540-b38f-9773d06ca1c4","reference":{"link":"https://localhost/mgmt/cm/global/global-apps/69cf49ad-de27-3540-b38f-9773d06ca1c4"}}]},{"targetKind":"ap:query:v1:tenants:default:reports:ApplicationServicesList","referenceExpressions":[{"expression":"/ap/query/v1/tenants/default/reports/ApplicationServicesList"}]},{"targetKind":"ap:query:v1:tenants:default:reports:ApplicationServicesSummary","referenceExpressions":[{"expression":"/ap/query/v1/tenants/default/reports/ApplicationServicesSummary"}]},{"targetKind":"ap:query:v1:tenants:default:reports:ApplicationsList","referenceExpressions":[{"expression":"/ap/query/v1/tenants/default/reports/ApplicationsList"}]}]}' json2='{"roleTypeReference":{"link":"https://localhost/mgmt/shared/authorization/role-types/8dc84e08-8c56-36b9-8222-d0bf0f86e5f9"},"isApplicationCreatorRole":false,"displayName":"Unknown Applications Viewer","description":"View Application Unknown Applications","isBuiltIn":false,"isStrict":true,"isApplicationRole":true,"isSystemManaged":true,"name":"Unknown Applications_Viewer","isPublic":true,"resourceGroupsReferences":[{"link":"https://localhost/mgmt/shared/authorization/resource-groups/dc68b385-9296-33f7-849a-01f92ff20824"}]}' json3='{"roleTypeReference":{"link":"https://localhost/mgmt/shared/authorization/role-types/09113cef-5ff1-30cc-91ec-a7888f7c0c47"},"isApplicationCreatorRole":false,"displayName":"Unknown Applications Manager","description":"Manage Application Unknown Applications","isBuiltIn":false,"isStrict":true,"isApplicationRole":true,"isSystemManaged":true,"name":"Unknown Applications_Manager","isPublic":true,"resourceGroupsReferences":[{"link":"https://localhost/mgmt/shared/authorization/resource-groups/dc68b385-9296-33f7-849a-01f92ff20824"}]}' curl --header "referer: cm/global/global-apps" -d "$json1" -X POST localhost:8100/shared/authorization/patch-resource-groups curl --header "referer: cm/global/global-apps" -d "$json2" -X POST localhost:8100/shared/authorization/roles curl --header "referer: cm/global/global-apps" -d "$json3" -X POST localhost:8100/shared/authorization/roles

Fix Information

None

Behavior Change