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

Backward-incompatible addition of Device System Events #4117

Closed
farshidtz opened this issue Aug 3, 2022 · 0 comments · Fixed by #4121
Closed

Backward-incompatible addition of Device System Events #4117

farshidtz opened this issue Aug 3, 2022 · 0 comments · Fixed by #4121
Labels
bug Something isn't working

Comments

@farshidtz
Copy link
Member

farshidtz commented Aug 3, 2022

The feature added in #4101 (v2.3.0-dev.36) requires new configuration fields what are missing in older versions. Upgrades from older version to this will fail to start core-metadata with the following error:

level=ERROR ts=2022-08-03T12:58:22.592814354Z app=core-metadata source=messaging.go:40 msg="MessageQueue configuration not set or missing from service's GetBootstrap() implementation"

🐞 Bug Report

Affected Services [REQUIRED]

The issue is located in: core-metadata

Is this a regression?

Yes, the previous version in which this bug was not present was: v2.3.0-dev.35

Description and Minimal Reproduction [REQUIRED]

Upgrade from an older version to latest dev release:

$ sudo snap install edgexfoundry --channel=latest/stable
edgexfoundry 2.2.0+2 from Canonical✓ installed

$ sudo snap refresh edgexfoundry --channel=latest/edge
edgexfoundry (edge) 2.3.0-dev.37 from Canonical✓ refreshed

$ snap logs -n=100 -f edgexfoundry.core-metadata
...

🔥 Exception or Error

2022-08-03T14:58:22+02:00 edgexfoundry.core-metadata[72667]: level=ERROR ts=2022-08-03T12:58:22.592814354Z app=core-metadata source=messaging.go:40 msg="MessageQueue configuration not set or missing from service's GetBootstrap() implementation"
...
2022-08-03T14:58:28+02:00 edgexfoundry.consul[72139]: 2022-08-03T14:58:28.339+0200 [WARN]  agent: Check is now critical: check=core-metadata
2022-08-03T14:58:38+02:00 edgexfoundry.consul[72139]: 2022-08-03T14:58:38.339+0200 [WARN]  agent: Check is now critical: check=core-metadata
...

🌍 Your Environment

Deployment Environment:
Snap

EdgeX Version [REQUIRED]:
v2.3.0-dev.37

Anything else relevant?

@farshidtz farshidtz added the bug Something isn't working label Aug 3, 2022
lenny-goodell pushed a commit to lenny-goodell/edgex-go that referenced this issue Aug 9, 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant