Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server not found (404) ! message when no cluster is imported #176

Closed
fbalak opened this issue Mar 2, 2017 · 8 comments
Closed

Server not found (404) ! message when no cluster is imported #176

fbalak opened this issue Mar 2, 2017 · 8 comments

Comments

@fbalak
Copy link

fbalak commented Mar 2, 2017

There is displayed Server not found (404) ! message and there is no import cluster option selection in UI when I load homepage without any imported cluster. Attached screenshot.

Tested with:
tendrl-api-1.2.1-03_02_2017_01_51_02.noarch
tendrl-dashboard-1.2.1-03_02_2017_12_19_25.noarch
tendrl-performance-monitoring-1.2.1-03_02_2017_03_02_02.noarch
tendrl-commons-1.2.1-2.el7.centos.noarch
tendrl-node-agent-1.2.1-03_02_2017_00_01_02.noarch

@fbalak
Copy link
Author

fbalak commented Mar 2, 2017

screenshot_20170302_125446

@fbalak
Copy link
Author

fbalak commented Mar 2, 2017

Maybe related to Tendrl/api#89.

@julienlim
Copy link
Member

@gnehapk @cloudbehl @kamleshverma1 It appears that there's something broken in the UI when there are no clusters.

@kamleshverma1
Copy link
Contributor

kamleshverma1 commented Mar 3, 2017

@fbalak We are calling GetClusterList api in landing page only . and in case of 404 error from api itself . it will show "Server not found" in UI. so ideally this issue fixed from API level so that it should not come as 404 in api response if tendrl-api server is running . and if there is no cluster in the list than it should have some empty json response .not a 404 error.

@sankarshanmukhopadhyay
Copy link

sankarshanmukhopadhyay commented Mar 3, 2017

@anivargi - could you take a look and update?

@sankarshanmukhopadhyay
Copy link

Is this an issue that needs to be fixed or, is this blocking tests from progressing? At present it is listed under https://github.com/Tendrl/usmqe-tests/wiki#blockers @brainfunked - would it be possible for you to take a look at this?

@anivargi
Copy link

anivargi commented Mar 7, 2017

@sankarshanmukhopadhyay the commit for issue Tendrl/api#89 of API should address it.

@fbalak
Copy link
Author

fbalak commented Mar 8, 2017

It looks ok. Tested with:
tendrl-api-1.2.1-03_08_2017_01_51_04.noarch
tendrl-dashboard-1.2.1-03_08_2017_04_11_03.noarch

@fbalak fbalak closed this as completed Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants