Snapshot Import Fails - Resource Def File Missing
Snapshot import fails when a PBS resource definition file is missing from the tarfile representing a snapshot of the HPC complex.
Condition
While executing consume_task() request_method POST. Error while importing model: Traceback (most recent call last): File "/opt/pbsworks/exec/pbsworks-admin/pbswadministrator/drivers/services/simulate/executor.py", line 1396, in model_action the_snapshot.validate_artifacts() File "/opt/pbsworks/home/pbs-control-simulator/lib/pbssim/storage/drivers/filesystem.py", line 843, in validate_artifacts (self.path_to, error, traceback.format_exc()) PBSSimArchiveError: While validating snapshot artifacts for /opt/pbsworks/home/data/pbssim/data/archive_tmp/archive_temp_dir_89d490de-772b-48a0-9a70-6c95283993a8/snapshot: snapshot artifact server_priv/resourcedef is missing, Traceback (most recent call last): File "/opt/pbsworks/home/pbs-control-simulator/lib/pbssim/storage/drivers/filesystem.py", line 838, in validate_artifacts raise PBSSimArchiveError(validation_error) PBSSimArchiveError: snapshot artifact server_priv/resourcedef is missing
Cause
The tarfile is missing a resourcedef file.