Skip to content

Conversation

@subburamoracle
Copy link
Member

Issue number:90

implemented changes related to fss mount on all worker nodes

subburamoracle and others added 3 commits November 26, 2025 14:12
Signed-off-by: Subburam Mathuraiveeran  subburam.mathuraiveeran@oracle.com:wq

implemented changes related to fss mount on all worker nodes
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 26, 2025
@subburamoracle subburamoracle changed the title Issue number: 90 - Fssmount worker Issue number: 90 - fss mount on all worker nodes Nov 26, 2025
Signed-off-by: Subburam Mathuraiveeran  subburam.mathuraiveeran@oracle.com:wq

implemented changes related to fss mount on all worker nodes
@subburamoracle
Copy link
Member Author

I have updated requested changes below and tested the stack.

  1. runcmd_fss_mount = var.create_fss && local.fss_mount_ip != "" ? format(
  2. while fuser /var/{lib/{dpkg/{lock,lock-frontend},apt/lists},cache/apt/archives}/lock >/dev/null 2>&1; do
    echo "Waiting for dpkg/apt lock"
    sleep 1
    done

robo-cap
robo-cap previously approved these changes Nov 27, 2025
@subburamoracle
Copy link
Member Author

I have updated requested change below and tested the stack.

  • export path will be created in terraform and i removed option to input the export path from user.

#fss mounting on worker nodes

runcmd_fss_mount = var.create_fss && local.fss_mount_ip != "" && local.fss_export_path != "" ? format(
"curl -sL -o /var/run/oke-fss-mount.sh https://raw.githubusercontent.com/subburamoracle/oci-hpc-oke/refs/heads/fssmount_worker/files/oke-fss-mount.sh && (bash /var/run/oke-fss-mount.sh '%v' '%v' '%v' || echo 'Error initializing RAID' >&2)",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this link to the oci-hpc-oke repo?

mkdir -p "$MOUNT_POINT"

# Mount the NFS share
mount -t nfs -o vers=3 "$MOUNT_TARGET_IP:$EXPORT_PATH" "$MOUNT_POINT"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add nconnect=16 to mount options here and in fstab?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @OguzPastirmaci i have made the required changes. Could you please review the changes for the merge?

Signed-off-by: Subburam Mathuraiveeran  subburam.mathuraiveeran@oracle.com:wq

implemented changes related to fss mount on all worker nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants