openshiftio / openshift.io

Red Hat OpenShift.io is an end-to-end development environment for planning, building and deploying modern applications.
https://openshift.io
97 stars 66 forks source link

Cannot create application - no boosters are displayed #4435

Open ljelinkova opened 5 years ago

ljelinkova commented 5 years ago
Issue Overview

The e2e tests failed when creating new application because there were no available boosters listed.

Screenshot

Expected Behaviour

The wizard should list available boosters

Current Behaviour

The wizard is empty

Steps To Reproduce

This happens intermittently

Additional Information

This was looged in from browser log:

[22:08:17.803] SEVERE https://forge.api.openshift.io/api/booster-catalog/ - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[22:08:17.804] SEVERE https://forge.api.openshift.io/api/booster-catalog/ - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
[22:08:17.804] SEVERE https://openshift.io/osio-ci-e2e-005/e2e-1016-2307-1415/applauncher/createapp/e2e-1016-2307-1415 - Failed to load https://forge.api.openshift.io/api/booster-catalog/: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://openshift.io' is therefore not allowed access. The response had HTTP status code 500.
[22:08:17.810] INFO https://openshift.io/_assets/lib/main.32948e14bcec7803146c.bundle.js 0:1540229 "Inside Interceptor" HttpErrorResponse
[22:08:17.811] SEVERE https://openshift.io/_assets/lib/main.32948e14bcec7803146c.bundle.js 0:1540229 "There was a problem fetching results, please try again"
[22:08:21.008] INFO https://openshift.io/_assets/lib/main.32948e14bcec7803146c.bundle.js 0:1540229 "Refreshing token in: 540000 milliseconds."

You can see more logs here: http://artifacts.ci.centos.org/devtools/e2e/devtools-test-e2e-openshift.io-smoketest-us-east-1b-released/877/03-01-afterEach.log

vikram-raj commented 5 years ago

@ljelinkova Is this issue still persist? For me, it is the app creation flow working as expected.

ljelinkova commented 5 years ago

I haven't seen this issue for couple of days. However, I'd expect launcher to display some error message if it is not able to get the boosters from server.

[22:08:17.804] SEVERE https://openshift.io/osio-ci-e2e-005/e2e-1016-2307-1415/applauncher/createapp/e2e-1016-2307-1415 - Failed to load https://forge.api.openshift.io/api/booster-catalog/: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://openshift.io' is therefore not allowed access. The response had HTTP status code 500.

GeorgeActon commented 5 years ago

@ljelinkova if this is a bug, please label it and assign a severity

ljelinkova commented 5 years ago

Maybe this is more of a UX issue - what should be displayed to user, if no boosters are loaded (e.g. due to backend failure).

joshuawilson commented 5 years ago

cc @openshiftio/uxd-team

sbose78 commented 5 years ago

Haven't seen this issue lately.

ljelinkova commented 5 years ago

How come?

https://github.com/openshiftio/openshift.io/issues/4670

This could happen anytime and the user should be given some clue as why there are no boosters.

It would be great if UX team could comment @serenamarie125

sbose78 commented 5 years ago

The server side issues have been resolved. The title of the issue was a bit misleading. Probably we should have a general way of displaying an error note to communicate that boosters couldn't be loaded for some reason.