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

rsync fix for TagManager does not work for SMB mounted data volumes (such as azure-files) #78

Open
noderat opened this issue May 25, 2021 · 0 comments

Comments

@noderat
Copy link

noderat commented May 25, 2021

Behaviour

The addition of rsync -a added to resolve #68 does not work if the destination is a mounted SMB (NTFS) filesystem such as when using azure-files storage provider in kubernetes. The destination file system does not support the permissions and results in this error:

Checking Matomo js folder...
rsync: mkstemp "/data/tmp/js/.LICENSE.txt.obalbG" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.README.md.jCIKNJ" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.index.php.hdDMkl" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.piwik.js.jCnmKo" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.piwik.min.js.JpjdoJ" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.tracker.php.iMeeEC" failed: Operation not permitted (1)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]

Steps to reproduce this issue

  1. Follow the reproduction steps detailed in TagManager container javascript not regenerated on all replicas in a load balanced environment #68 using a SMB NTFS mounted volume for /data
  2. Inspect container logs.

Expected behaviour

Both replicas (re)generate container javascript on archival and/or on updates to the TagManager container

Actual behaviour

Only one replica (re)generates container javascript

Logs

Checking Matomo js folder...
rsync: mkstemp "/data/tmp/js/.LICENSE.txt.obalbG" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.README.md.jCIKNJ" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.index.php.hdDMkl" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.piwik.js.jCnmKo" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.piwik.min.js.JpjdoJ" failed: Operation not permitted (1)
rsync: mkstemp "/data/tmp/js/.tracker.php.iMeeEC" failed: Operation not permitted (1)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1189) [sender=3.1.3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants