Uploaded image for project: 'Server Deployments and Scale'
  1. Server Deployments and Scale
  2. SCALE-73

Confluence DC nodes loses access to shared home after reimage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • master
    • Azure Templates
    • None
    • Minor

      Issue Summary

      While deploying Confluence DC via the Azure Marketplace (link) and a user "Reimage" a node within the Confluence cluster, the node will not be able to start up after the reimage is finished because of two main issue:

      • The node loses the mount to the shared drive
      • The Confluence home directory is owned by 'root' instead of 'confluence'

      This is reproducible on Data Center.

      Steps to Reproduce

      1. Deploy Confluence 7.13.7 (also tested on 7.12 and 7.11) with Azure Marketplace
      2. Log into the Confluence node
      3. Check the permission, it should be set correctly. (installation/home/shared directory all set to 'confluence')
      4. Reimage the node

      Expected Results

      Installation directory and local home directory should still be owned by 'confluence', shared home should get remounted automatically.

      Actual Results

      Installation directory is still owned by 'confluence' but the shared home is gone (losses the mount) and local home is owned by 'root'

      Workaround

      As the credential to the shared-home and the files in the shared home remain intact and unchanged. Please remount the shared home back to the node and correct the directory permissions back to 'confluence' afterward.

      Reference: How to mount an NFS file share

      For example:

      sudo mount -t cifs //confstoragegsdpq7xg423gc.file.core.windows.net/conf-shared-home /media/atl/confluence/shared/ -o credentials=/etc/smbcredentials/confstoragegsdpq7xg423gc.cred,dir_mode=0755,file_mode=0755,serverino,nosharesock,actimeo=30
      

              Unassigned Unassigned
              jwaihou Jonathan Soo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: