This commit checks if a mountpoint directory exists, and if not
then creates the directory before attempting to mount.
Test Plan
PASS: run the function manually and verify it mounts successfully
PASS: run deploy host for major release and verify agent hooks
(which use the changed function) run successfully
Reviewed: https:/ /review. opendev. org/c/starlingx /update/ +/920317 /opendev. org/starlingx/ update/ commit/ 14516bd45caf189 ee279575630fb95 def0af747d
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 14516bd45caf189 ee279575630fb95 def0af747d
Author: Heitor Matsui <email address hidden>
Date: Thu May 23 15:49:33 2024 -0300
Check and create nfs mount directory
This commit checks if a mountpoint directory exists, and if not
then creates the directory before attempting to mount.
Test Plan
PASS: run the function manually and verify it mounts successfully
PASS: run deploy host for major release and verify agent hooks
(which use the changed function) run successfully
Closes-bug: 2066973
Change-Id: I987721b2a59d53 4acdc1f3c2ca5f2 046227d1274
Signed-off-by: Heitor Matsui <email address hidden>