Skip to content

SOG-480 Implement data mounter in Python ... or Rust?!?#2

Open
rjaduthie wants to merge 17 commits intomainfrom
sog-480-implement-data-mounter-in-python
Open

SOG-480 Implement data mounter in Python ... or Rust?!?#2
rjaduthie wants to merge 17 commits intomainfrom
sog-480-implement-data-mounter-in-python

Conversation

@rjaduthie
Copy link
Copy Markdown
Collaborator

@rjaduthie rjaduthie commented Feb 23, 2026

Features

  • pathFinder implemented in Rust for easy portability
  • executable does both authorization and mounting

Testing

  • pathFinder executable runs on Slurm login node
  • if the file is not present on the locally mounted RSE, the program will output where the file is present
image

Out of scope

  • RPM/DEB package

@rjaduthie rjaduthie force-pushed the sog-480-implement-data-mounter-in-python branch 6 times, most recently from 4460562 to e4a7a70 Compare February 26, 2026 19:04
@rjaduthie rjaduthie force-pushed the sog-480-implement-data-mounter-in-python branch 2 times, most recently from 280e301 to 480e92e Compare March 19, 2026 16:59
let site_storages = client.site_storage_areas()?;
let data_locations = client.locate_data(namespace, file_name)?;

print_data_locations_with_sites(&site_storages, &data_locations);
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Remove this debugging step?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Or print to a debug log?

print_data_locations_with_sites(&site_storages, &data_locations);

let rse_path = extract_rse_path(&data_locations, namespace, file_name)?;
println!(
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

remove debugging

}

fn mount_data(rse_path: &str, namespace: &str) -> Result<()> {
println!("Mounting data from RSE path: {} in namespace: {}", rse_path, namespace);
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

remove debugging

@rjaduthie rjaduthie force-pushed the sog-480-implement-data-mounter-in-python branch from 480e92e to 4aa3478 Compare March 23, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants