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

bug(actuator): apollo health status "INIT",even if no apollo component configurated #462

Closed
seeflood opened this issue Apr 11, 2022 · 0 comments · Fixed by #493
Closed
Assignees
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@seeflood
Copy link
Member

seeflood commented Apr 11, 2022

What happened:
Run the demo in https://mosn.io/layotto/#/zh/start/api_plugin/helloworld?id=step-1-start-layotto-with-a-helloworld-api-plugin

./layotto start -c ../../configs/config_in_memory.json

and then invoke the actuator API:

curl http://127.0.0.1:34999/actuator/health/liveness

Then we get:

{
  "components": {
    "apollo": {
      "status": "INIT"
    },
    "runtime_startup": {
      "status": "UP",
      "details": {
        "reason": ""
      }
    }
  },
  "status": "INIT"
}

The apollo status is "INIT".
But we didn't configurate any apollo component in configs/config_in_memory.json !

What you expected to happen:
No apollo health status when no apollo component configurated.

How to reproduce it (as minimally and precisely as possible):
See above .

Anything else we need to know?:

@seeflood seeflood changed the title bug(actuator): apollo health status "INIT",even if you didn't configurate any apollo component bug(actuator): apollo health status "INIT",even if no apollo component configurated Apr 11, 2022
@seeflood seeflood added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Apr 11, 2022
@seeflood seeflood added this to the v0.4 milestone Apr 16, 2022
@seeflood seeflood self-assigned this Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant