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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scheduler container failed to find requires authentication #2433
Comments
It seems didn't retrieve the username and password from the consul. The steps to reproduce:
|
Wondering out loud if this has something to do with what is present in types.go in go-mod-bootstrap. Note that the credentials are referenced via a nested struct instead of being included literally. This may be throwing off whatever kind of type introspection the code is doing to fill this struct up.
|
@bnevis-i
Then It can fetch the username password from Consul
https://github.com/edgexfoundry/go-mod-configuration/blob/master/internal/pkg/consul/client.go#L175 |
@weichou1229 Great news! I tried to fork the module, but then had to update all the edgexfoundry/go-mod-bootstrap references to my fork everywhere. Been trying to get this going for hours. I will abandon my futile attempt to validate this given your result and let you push the necessary fixes. |
When I send this the old data structure through fmt.Printf %v, the generic structure outputs as a nested data structure |
Based on what I've read, the proposed correction -- flattening the data structure -- is the correct one. Raise a PR. @weichou1229 @bnevis-i go.mod's replace should help you avoid making mass import name changes for testing in the future. |
PR opened edgexfoundry/go-mod-bootstrap#57 |
Configuration is now passing through after local testing with new go-mod-bootstrap. Continuing to test. |
馃悶 Bug Report
Affected Services
The issue is located in: support-schedulerIs this a regression?
-Description and Minimal Reproduction
Refer to developer-scripts#233
馃敟 Exception or Error
馃實 Your Environment
Deployment Environment:
EdgeX Version:
Master
Anything else relevant?
This issue is currently blocking mongo no secuity Jenkins jobs.
https://jenkins.edgexfoundry.org/view/blackbox-testing/job/blackbox-testing-centos7-blackbox-4c-2g-master/DATABASE=mongo,node=centos7-blackbox-4c-2g/6/console
The text was updated successfully, but these errors were encountered: