Open tom-webber opened 3 months ago
Thanks for reporting this. Pretty uncertain why that root user change would have caused this. To confirm, 0.0.17 is the final working version?
I wasn't able to test versions v0.0.16
or v0.0.17
as the images were
not available. Latest tested and working image is v0.0.15
.
On Tue, 30 Jul 2024, 00:46 John Joyce, @.***> wrote:
Thanks for reporting this. Pretty uncertain why that root user change would have caused this. To confirm, 0.0.17 is the final working version?
— Reply to this email directly, view it on GitHub https://github.com/acryldata/datahub-actions/issues/121#issuecomment-2257202603, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATDGGFWOSMUFCSIHYPUQNDLZO3H6NAVCNFSM6AAAAABLMYQMOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXGIYDENRQGM . You are receiving this because you authored the thread.Message ID: @.***>
This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io
I haven't really been able to repro this
For example, this works fine for me - even though it runs as non-root
docker run --rm -it --user datahub --entrypoint sh acryldata/datahub-actions:v0.0.18 -c 'datahub-actions actions --help'
Is your setup messing with the PATH env variable at all?
This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io
Hello,
I am getting same issue with version: docker.io/acryldata/datahub-actions:v0.1.1
Log:
2024/11/05 20:17:55 Ready: http://datahub-datahub-gms:8080/health.
touch: cannot touch '/tmp/datahub/logs/actions/actions.out': Permission denied
ls: cannot access '/etc/datahub/actions/conf/': No such file or directory
No user action configurations found. Not starting user actions.
/start_datahub_actions.sh: line 68: datahub-actions: command not found
I just upgraded to datahub 0.14.1 which also upgraded the datahub-action from 0.0.15 to 0.1.1 and i'm getting the same issue described above. I had to revert the datahub-action image to 0.0.15 to be able to deploy it via the helm chart
Deploying the
v0.0.18
image on our platform causes a failure as so (we must run the container as non-root):The fatal issue appears to be reported by
which is this part of
docker/datahub-actions/start.sh
Which seems to suggest that
datahub-actions
is not installed, perhaps indicating that there's some issue with the pip cache. Speculation: perhaps related to the recent addition ofUSER root
?Side note:
touch: cannot touch '/tmp/datahub/logs/actions/actions.out': Permission denied
is not new. It is currently showing in the deployedv0.0.15
pod, so is not introduced inv0.0.18
.Version notes:
v0.13.3
DataHub withv0.0.15
datahub-actions before trying outv0.0.18