Skip to content

DAOS-19087 container: Disallow user-specified UUIDs#18636

Draft
liw wants to merge 1 commit into
masterfrom
liw/cont_create-uuid
Draft

DAOS-19087 container: Disallow user-specified UUIDs#18636
liw wants to merge 1 commit into
masterfrom
liw/cont_create-uuid

Conversation

@liw

@liw liw commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Experimental.

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

Ticket title is 'Rebuild and container IV activities may result in orphan container children'
Status is 'Open'
https://daosio.atlassian.net/browse/DAOS-19087

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Cluster Box Medium MD on SSD completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-18636/1/testReport/

@daosbuild3

Copy link
Copy Markdown
Collaborator

Test stage Functional Hardware Medium MD on SSD completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-18636/1/testReport/

Features: container
Signed-off-by: Li Wei <liwei@hpe.com>
@liw liw force-pushed the liw/cont_create-uuid branch from 80f53ea to 430cc07 Compare July 10, 2026 06:02

@liw liw left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Do we consider the overall change as a DAOS API change? If so, we need to increment API_VERSION_MAJOR from 2 to 3, is that correct?

Comment thread src/container/cli.c
goto err_prop;

/** generate a UUID for the new container */
uuid_generate(args->uuid);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If we consider the overall change as a DAOS API change, should we remove field daos_cont_create_t.uuid?

Comment thread src/include/daos_uns.h
* da_cont with duns_resolve_path().
* The container UUID is always generated by the DAOS system and users are not permitted to
* specify it; any value set on input is ignored. The generated cont UUID or the label is
* returned as a string in \a da_cont with duns_resolve_path().

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is where I'm most ignorant about. Are there any other changes required? And, if we consider the overall change as a DAOS API change, should we remove this field?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants