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

Move datastore config handling into downloader #175

Closed
srinibas-zededa opened this issue Aug 6, 2019 · 1 comment
Closed

Move datastore config handling into downloader #175

srinibas-zededa opened this issue Aug 6, 2019 · 1 comment

Comments

@srinibas-zededa
Copy link
Contributor

srinibas-zededa commented Aug 6, 2019

The changes to datastore configuration, it does not take affect.

  1. configure a datastore with bad key/password
  2. publish an image to the device from this datastore
  3. the download of the object fails
  4. update the datastore configuration with good key/password.
  5. the download of the object still failsl

Obseverved result: once the datastore configuration is bad, the object download always fails.
Expected result: update the datastore configuration, the object download should suceed.

Solution:

  1. Remove the datastore configuration handling from zedagent/baseosmgr
  2. Add datastore configuration handling to downloader.
  3. With every change to datastore configuration,
    start the download of the failed downloadable objects, attached
    to that datastore.

https://wiki.lfedge.org/display/EVE/Proposal+for+moving+datastore+configuration+handling+to+Downloader

@srinibas-zededa
Copy link
Contributor Author

srinibas-zededa commented Aug 15, 2019

Fixed with changes in pull request.

#176

milan-zededa pushed a commit to milan-zededa/eve that referenced this issue Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant