Pivotal Knowledge Base

Follow

Push Notification Service for Cloud Foundry fails to open Manage link for push-service-instance

Environment

  • Pivotal Cloud Foundry® (PCF) 1.8, 1.9, 1.10, 1.11
  • Push Notification Service for PCF 1.7, 1.8, 1.9

Symptom 

Push Notification Service for PCF fails to open Manage link for push-service-instance.

In Apps Manager, when we click the Manage button of PCF Push Notification Service, an Invalid Manage link is displayed with error - Something Went Amiss - as shown below:

Screen_Shot_2017-08-09_at_11.18.14_AM.png

Cause

There could be multiple causes of this issue as listed below:

  1. The browser cache issues.
  2. The Org / Space in which this service instance is added was created using Apps Manager GUI.

Resolution

Here is the workaround for this issue:

  1. Clear the browser cache or open the target link in incognito mode to confirm there is no issue with browser cache. Try to access the Manage link again for the PCF Push Notification Service. If this doesn't fix the issue, proceed to next step.
  2. When the Org / Space are created using Apps Manager GUI, the user roles are not assigned to the Org / Space.
    1. This is a known issue and has been reported to Engineering.
    2. This can be verified by running the cf org-users cf space-users commands. In the example below, we added Org / Space - MyOrg-1 / MySpace-1 using Apps Manager:
      • $ cf org-users MyOrg-1
        Getting users in org MyOrg-1 as admin...
        ORG MANAGER
        No ORG MANAGER found
        BILLING MANAGER
        No BILLING MANAGER found
        ORG AUDITOR
        No ORG AUDITOR found
      • $ cf space-users MyOrg-1 MySpace-1
        Getting users in org MyOrg-1 / space MySpace-1 as admin
        SPACE MANAGER
        No SPACE MANAGER found
        SPACE DEVELOPER
        No SPACE DEVELOPER found
        SPACE AUDITOR
        No SPACE AUDITOR found
    3. If the logged in user is admin (in above example), admin must have OrgManager and SpaceManager roles assigned. In this example, run the commands:
      • $ cf set-org-role admin MyOrg-1 OrgManager
        Assigning role OrgManager to user admin in org MyOrg-1 as admin...
        OK
      • $ cf set-space-role admin MyOrg-1 MySpace-1 SpaceManager
        Assigning role RoleSpaceManager to user admin in org MyOrg-1 / space MySpace-1 as admin...
        OK
    4. Make sure all the users accessing this service instance have these roles assigned. In this example, admin must have both OrgManager and SpaceManager roles assigned:
      • $ cf org-users MyOrg-1
        Getting users in org MyOrg-1 as admin...
        ORG MANAGER
        admin
        BILLING MANAGER
        No BILLING MANAGER found
        ORG AUDITOR
        No ORG AUDITOR found
      • $ cf space-users MyOrg-1 MySpace-1
        Getting users in org MyOrg-1 / space MySpace-1 as admin
        SPACE MANAGER
        admin
        SPACE DEVELOPER
        No SPACE DEVELOPER found
        SPACE AUDITOR
        No SPACE AUDITOR found
  3. Go back to Apps Manager and click on the Manage link to PCF Push Notification Service again to make sure it works.

For any other use case, please contact Pivotal Support for further assistance. 

Comments

Powered by Zendesk