Closed sadmin91 closed 3 years ago
@sadmin91 I guess Diun can't find the image because it's deployed on the manager and the analyzed containers are on the workers. Will find a better way to handle that. Thanks for your feedback.
Similar issue has been fix on issue #52 Maybe, a similar correction could be done.
@sadmin91 Don't think that's the same issue. I've recently updated the Swarm provider to inspect the image and that's wrong actually :sweat_smile:
@sadmin91 Should be fixed with latest release
@crazy-max it's works fine with version 4.16.1. Many thanks for this quick fix.
Behaviour
I have installed Diun on my Docker Swarm cluster. With the last version (4.15.2), when Diun analyze start (on container startup or on schedule), error "No such image" appears for some images on my Swarm services (no error with image on my file provider).
Steps to reproduce this issue
1.Deploy Diun on Swarm cluster
Expected behaviour
No error should appears
Actual behaviour
Error during Diun analyze.
Configuration
uname -a
) : Linux xxx 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l GNU/Linuxwatch: workers: 5 schedule: "0 0 *" firstCheckNotif: false
notif: mail: host: xxx port: xxx ssl: true insecureSkipVerify: false username: xxx password: xxx from: xxx to: xxx
providers: swarm: apiVersion: "1.39" watchByDefault: false file: filename: /fileProvider.yml
Logs
See debug log content: