Skip to content

Deleting a serviceinstance from OpenShift resulting in an indefinite loading screen #184

@david-martin

Description

@david-martin

Steps to reproduce:

  • Login to the webapp
  • Wait for the loading screen to finish i.e. all services are available for the user
  • Go to OpenShift in a new tab, keeping the webapp open in original tab
  • Open the users project for walkthroughs i.e. <userid>-walkthrough-projects
  • Delete 1 of the Provisioned Services e.g. 3Scale
  • Notice the webapp in the original tab has switched to a loading screen
  • The loading screen never finishes

From my understanding (explanation from @aidenkeating), this happens because there is a watch on serviceinstances in the users walkthrough project.
When an expected serviceinstance doesn't exist yet for that user, the loading screen is shown.
There is logic in 'componentDidMount' that provisions any missing services.
However, as the component has already mounted in this case, it never gets called again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working - code or design

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions