Open mmpyro opened 6 years ago
Hello,
Thanks for bringing this to my attention.
Can you please give me some background info:
Thank you!
On Jul 31, 2018, at 3:22 AM, mmpyro notifications@github.com wrote:
Below I have presented compose file which was used for deploy. I have used docker stack deploy --compose-file docker-compose.yml test comamnd When I run container it work fine but with swarm it doesn't.
version: "3.1"
services: service: image: alpine command: /bin/sh -c "while true; do echo 'Hello world'; sleep 1s; done" deploy: mode: replicated replicas: 1 update_config: parallelism: 1 delay: 10s restart_policy: condition: any delay: 10s max_attempts: 5 window: 120s logging: driver: solarwinds/papertrail-plugin options: papertrail-url: ":" papertrail-token: ""
networks: default: external: name: internal
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/solarwinds/docker-plugin-papertrail/issues/4, or mute the thread https://github.com/notifications/unsubscribe-auth/AeNTDY-uJhXkqagO37LHgP9FTzfogoHsks5uMAWwgaJpZM4VnusA.
HI, I have tried for a single node swarm and plugin was installed. I have removed url and token for secure reason. I have used the same url and port which was used for pm2 papertrail plugin and for pm2 it worked. Plugin works for single odkcer instance but not for swarm. Moreover I didn't use default network.
Regards, Michal Marszalek
On 1 August 2018 at 21:08, girishranganathan notifications@github.com wrote:
Hello,
Thanks for bringing this to my attention.
Can you please give me some background info:
- Is this a multi-node swam cluster? a. If it is, can you please tell me if all the nodes have the plugin installed?
- If you are using the papertrail plugin, you will need to pass in the url. You have not included it in the sample. Can I presume you have it set to the right value in your env but just have not shared it here for security reasons?
Thank you!
On Jul 31, 2018, at 3:22 AM, mmpyro notifications@github.com wrote:
Below I have presented compose file which was used for deploy. I have used docker stack deploy --compose-file docker-compose.yml test comamnd When I run container it work fine but with swarm it doesn't.
version: "3.1"
services: service: image: alpine command: /bin/sh -c "while true; do echo 'Hello world'; sleep 1s; done" deploy: mode: replicated replicas: 1 update_config: parallelism: 1 delay: 10s restart_policy: condition: any delay: 10s max_attempts: 5 window: 120s logging: driver: solarwinds/papertrail-plugin options: papertrail-url: ":" papertrail-token: ""
networks: default: external: name: internal
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ solarwinds/docker-plugin-papertrail/issues/4, or mute the thread < https://github.com/notifications/unsubscribe-auth/AeNTDY- uJhXkqagO37LHgP9FTzfogoHsks5uMAWwgaJpZM4VnusA>.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/solarwinds/docker-plugin-papertrail/issues/4#issuecomment-409686230, or mute the thread https://github.com/notifications/unsubscribe-auth/AGQ5FDB-zI3RrLYvGA8HTmvdBCyi0fk1ks5uMfy4gaJpZM4VnusA .
Below I have presented compose file which was used for deploy. I have used docker stack deploy --compose-file docker-compose.yml test comamnd When I run container it work fine but with swarm it doesn't.
version: "3.1"
services: service: image: alpine command: /bin/sh -c "while true; do echo 'Hello world'; sleep 1s; done" deploy: mode: replicated replicas: 1 update_config: parallelism: 1 delay: 10s restart_policy: condition: any delay: 10s max_attempts: 5 window: 120s logging: driver: solarwinds/papertrail-plugin options: papertrail-url: ":"
papertrail-token: ""
networks: default: external: name: internal