API Connect

 View Only
  • 1.  Issue when trying to add a user to a consumer organization - v2018

    IBM Champion
    Posted Wed March 17, 2021 01:04 PM
    Hi all,

    I am configuring a new installation of v2018 (OVA). I have two catalogs, no spaces and both with a portal configured. Each catalog has one consumer organization (with the same name). When trying to add a user the one of the consumer organizations (via the web portal) I receive a strange behavior. The screen presented does not allow me to specify the role of the user. When submitting the request I received the following error message: 

    (the hidden text is the server name, not that I don't trust you ;-))
    Seems like the role_urls property has received the value of the server name instead of the role name..

    For the second catalog, everything works fine. I have the role on the invitation screen and can add users. 

    Anyone seen this before? I could not find any errors inside the logs. 

    Thanks a lot

    ------------------------------
    Dirk Maes
    ------------------------------


  • 2.  RE: Issue when trying to add a user to a consumer organization - v2018

    Posted Thu March 18, 2021 07:20 PM
    Dirk, I wasn't able to gain access to the internet to address your specific user case, however, you indicated you didn't see anything 'telling' in your logging report.  As a suggestion, I would advise checking to see if this is a permissions or configuration matter.

    Good-luck, wishing you the best!


    Yvonne

    ------------------------------
    Yvonne R. McGinnis
    DevOps (hopeful), Systems Administration
    Obama Foundation, Chicago
    Chicago Cato, Illinois
    773-886-5579
    ------------------------------



  • 3.  RE: Issue when trying to add a user to a consumer organization - v2018

    Posted Mon April 12, 2021 10:56 AM
    I faced this weird issue couple of months ago (v2018.4.1.12). A consumer org owner got this error when they invited their org member when previously they had no issue doing so. I could not find a cause after going through logs, running cli commands etc. Fixed this issue as below:

    - added myself as a member of the consumer org.
    - got the consumer org owner to switch me in as the org owner. i tried inviting a member and it worked.
    - got the consumer org owner to switch themselves back in as the org owner. They tried inviting a member and it worked.

    I have no idea why this worked. This is a good candidate for a support ticket but only if you can reproduce it for the support team to reproduce it and acknowledge the issue.

    ------------------------------
    Parveen Kumar
    ------------------------------



  • 4.  RE: Issue when trying to add a user to a consumer organization - v2018

    Posted Mon April 12, 2021 10:57 AM
    Hi Dirk,

    i came across the same issue couple of months ago (v2018.4.1.12). It is a weird one that requires an IBM ticket to be raised which i didn't do. This is what worked for me:

    - Add another person to be the member of the consumer organization.
    - Request the consumer org owner to switch owner to the new member (can do it via cli as well). The new org owner tries inviting a new member by choosing a role.
    - Switch owner back to the original owner. Original owner invites a new member by choosing a role.

    regards

    Parveen

    ------------------------------
    Parveen Kumar
    ------------------------------



  • 5.  RE: Issue when trying to add a user to a consumer organization - v2018

    IBM Champion
    Posted Tue April 13, 2021 04:15 AM
    Hi all,

    Thanks to IBM Support the issues is solved. Below the steps we took to solve it. 

    The error you are hitting seems more like a cache issue and we would recommend clearing both : the web browser and the Portal site cache.

    For flushing the cache for this specific Portal site, you can do the following :

    1. Login into the Portal site as admin

    2. Click on "Manage" -> Drupal icon (right underneath the Workbench)

    Click on "Flush all caches" and wait for the confirmation message "All caches cleared" to appear in a green banner

    If this doesn't resolve the issue, try the following to re-sync the site with the APIM :

    1. Login as admin and Navigate to "Content"
    2. Filter the result by the "Consumer organization" content type
    3. Select the c-org with missing roles, and click the "Apply to selected items" button and then click delete.
    4. Exec into the porta-www pod admin container e.g "kubectl exec -ti <Portal-www-pod> -c admin bash"
    5. Run the command "list_sites" to find the uuid of the site having issues.
    6. Once inside the pod please run "site_content_refresh -f <Site uuid>"
    7. Login as the owner of that c-org and see if the issue has been solved

    Please let us know the update.


    Have a nice day!

    ------------------------------
    Dirk Maes
    ------------------------------