Support

Azure Container Instance and Azure Storage = permission issue

  • 1.  Azure Container Instance and Azure Storage = permission issue

    Posted 05-31-2018 02:02

    Iam running gitlab instance in ACI with Azure File Storage mount.

    This is output of container:

    storage_directory[/var/opt/gitlab/.ssh] (gitlab::gitlab-shell line 38) had an error: Mixlib::ShellOut::ShellCommandFailed: ruby_block[directory resource: /var/opt/gitlab/.ssh] (/opt/gitlab/embedded/cookbooks/cache/cookbooks/package/resources/storage_directory.rb line 33) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of chmod 00700 /var/opt/gitlab/.ssh ---- STDOUT: STDERR: chmod: changing permissions of '/var/opt/gitlab/.ssh': Operation not permitted ---- End output of chmod 00700 /var/opt/gitlab/.ssh ---- Ran chmod 00700 /var/opt/gitlab/.ssh returned 1


    Is there anything that I have to do to correct permissions on Storage ? I see that some files are created, so problem is explicitly with this... I am using official image from Azure docker hub. I dont want to use custom layer of image with correcting permissions.



    ------------------------------
    [soujanya] [Bargavi] [Analyst]
    [Analyst]
    [MindMajix]
    [New York] NC
    9739105725
    ------------------------------