Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parent-uri attribute set with flux run flux start --test-size= #6560

Open
grondo opened this issue Jan 17, 2025 · 0 comments · May be fixed by #6561
Open

parent-uri attribute set with flux run flux start --test-size= #6560

grondo opened this issue Jan 17, 2025 · 0 comments · May be fixed by #6561

Comments

@grondo
Copy link
Contributor

grondo commented Jan 17, 2025

The detection of whether the current instance has a parent in order to set the parent-uri attribute currently relies on whether FLUX_JOB_ID is set in the environment. This doesn't always work because FLUX_JOB_ID can leak from the environment as is the case for flux run flux start -s 4 for example. (This is exercised by the inception tests)

Detection of instance as a job should instead rely on the jobid attribute, which is only set by a PMI boot.

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 a pull request may close this issue.

1 participant