mesosphere / spark-build

Used to build the mesosphere/spark docker image and the DC/OS Spark package
52 stars 34 forks source link

SHA-based base image, 'nobody' user, and private keys cleanup for Docker image #456

Closed akirillov closed 5 years ago

akirillov commented 6 years ago

What changes were proposed in this pull request?

Resolves DCOS-45167

How were these changes tested?

Integration tests from mesosphere/spark-build

Release Notes

elezar commented 6 years ago

I see a lot of messages such as:

+ + mkdir -p /mnt/mesos/sandbox/nginx
mkdir: cannot create directory '/mnt/mesos/sandbox': Permission denied
+ exec
mkdir -p /mnt/mesos/sandbox/spark
mkdir: cannot create directory '/mnt/mesos/sandbox': Permission denied

in the Spark logs. Could it be that we haven't set up the permissions of the sandbox correctly? Is the sandbox now owned by the task user?

akirillov commented 6 years ago

@elezar the reason is in nobody's UID mismatch between a container and the host OS, working on the fix

akirillov commented 6 years ago

@elezar thanks for your comments. This PR is under active development right now and more changes coming. minDcosReleaseVersion will be 1.10 as you advised. Flag name is updated, thanks for pointing out.