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

I can not get service information #2814

Closed
ohkik opened this issue Aug 10, 2018 · 10 comments
Closed

I can not get service information #2814

ohkik opened this issue Aug 10, 2018 · 10 comments
Assignees
Labels
bug community Community Raised Issue P1 Priority 1

Comments

@ohkik
Copy link

ohkik commented Aug 10, 2018

The following error appears on the "services" page.

services

But changing the display format will display normally.

services_ok

My cf information.

CF API Version. 2.65.0

@richard-cox
Copy link
Contributor

Hi @ohkik! Thanks for raising this issue. We've got a few questions

  • How is your instance of Stratos deployed?
    • Cloud Foundry Application (cf push)
    • Kubernetes, using a helm chart
    • Docker, using docker
    • Docker, single container deploying all components
  • If you refresh the page whilst on the Services page are there any errors in the console other than those in the screen shot?
  • Are there any failed network requests?
  • If you filter the services by organisation and space are there any where the service cards display correctly? If so is there anything special about services in organisations and spaces that show the error, for instance number of services in the space, space role, etc?

@ohkik
Copy link
Author

ohkik commented Aug 13, 2018

How is your instance of Stratos deployed

  • Cloud Foundry Application (cf push)

If you refresh the page whilst on the Services page are there any errors in the console other than those in the screen shot?

  • No. When refreshing the page of the service, the same error occurs three times.
    image

Are there any failed network requests?

  • I do not seem to have failed in network request.

If you filter the services by organisation and space are there any where the service cards display correctly? If so is there anything special about services in organisations and spaces that show the error, for instance number of services in the space, space role, etc?

  • No. I tried all the Org and Space filters, but they all had the same error.

@richard-cox
Copy link
Contributor

@ohkik Please accept my apologies for taking so long to come back to you. This isn't something that we've seen before, however I've created a PR which should solve the problem. If the issue persists once #2908 has merged please feel free to reopen.

@ohkik
Copy link
Author

ohkik commented Sep 10, 2018

The pull request of # 2908 used the merged source, but the problem was not resolved.

Is there anything else I should check?

@richard-cox
Copy link
Contributor

@ohkik I've taken another look and fixed a related issue in #2973. If that still doesn't fix the exceptions you're seeing could you provide new screenshots of the page and developer console showing the exceptions?

@ohkik
Copy link
Author

ohkik commented Sep 18, 2018

@richard-cox

$ git log -n 1
commit 11d99586e49b813146fc9274278609c43a2a3d7f
Author: Neil MacDougall <neil.macdougall@suse.com>
Date:   Mon Sep 17 18:06:37 2018 +0100

    Update change log

image

main.38a9f7a60f952f4fdaa0.js:1 ERROR TypeError: Cannot read property 'entity' of undefined
    at e.i.getServiceName (main.38a9f7a60f952f4fdaa0.js:1)
    at Object.eval [as updateRenderer] (VM23 e.ngfactory.js:173)
    at Object.updateRenderer (main.38a9f7a60f952f4fdaa0.js:1)
    at us (main.38a9f7a60f952f4fdaa0.js:1)
    at gs (main.38a9f7a60f952f4fdaa0.js:1)
    at ys (main.38a9f7a60f952f4fdaa0.js:1)
    at us (main.38a9f7a60f952f4fdaa0.js:1)
    at gs (main.38a9f7a60f952f4fdaa0.js:1)
    at ms (main.38a9f7a60f952f4fdaa0.js:1)
    at us (main.38a9f7a60f952f4fdaa0.js:1)

@richard-cox
Copy link
Contributor

Something quite odd must be going on. Would it be possible for us to connect to the cloud foundry that is showing the issue? Alternatively ..

  • Could check the DevTools Network tab and confirm that the call to /service_instance is returning entities on the following path?
<guid like text>/resources/<number>/entity/service_plan/entity/service/entity/label

image

  • Are there any errors when you attempt to create a service instance, or bind an application to an existing service (Applications --> pick an app --> Services Tab --> + icon in white bar)?
  • Are there service names that are not UTF-8, if not are there any other places in Stratos that display similar characters?

@richard-cox richard-cox reopened this Sep 18, 2018
@richard-cox richard-cox added the community Community Raised Issue label Oct 24, 2018
@ohkik
Copy link
Author

ohkik commented Nov 14, 2018

I am sorry we will contact you.

storatos_network_entity

Entity seems to have no problem.

I tried to create and bind the service using storatos, but it did not matter.

There is no service_name of UTF-8.

This problem occurs only with cell layout.

@KlapTrap
Copy link
Contributor

@ohkik Are you still seeing this issue?

@ohkik
Copy link
Author

ohkik commented Jun 11, 2019

I upgraded the Cloud Foundry version and solved it.

@ohkik ohkik closed this as completed Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug community Community Raised Issue P1 Priority 1
Projects
None yet
Development

No branches or pull requests

3 participants