)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"d4608ead3f4d955adaf319f7e0743c2bc4e016f4","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Parent:     7f137a06 (Move 2026.2 RBAC spec to implemented)"},{"line_number":2,"context_line":"Author:     Chandan \u003cchkumar@redhat.com\u003e"},{"line_number":3,"context_line":"AuthorDate: 2026-09-15 17:27:57 +0530"},{"line_number":4,"context_line":"Commit:     Chandan \u003cchkumar@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"b862d3b0_5b6a085c","line":1,"updated":"2026-09-15 14:18:09.000000000","message":"The 2027.1 spec template requires that specifications proposing REST API changes add the APIImpact flag to the commit message so they remain queryable in Gerrit (message:apiimpact). This spec proposes a new microversion, a device_state response field, and the new admin-only POST /v2/devices/{uuid}/clean endpoint. The original 2026.2 commit of this same spec (b6c43f7) included an APIImpact line; this repropose commit omits it.\n\n**Severity**: SUGGESTION | **Confidence**: 0.9\n\n**Impact**: The repropose loses the Gerrit queryability the project uses to track API-impacting specs, breaking the cross-project traceability the template establishes for a change that adds an admin-only endpoint and a microversion.\n\n**Recommendation**:\nAdd an APIImpact line to the commit message, as the original 2026.2 commit did, when the patch is next reworked, restoring queryability for API reviewers.","commit_id":"22923863a710eec48455020dbf47a2e204223403"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"2b35b549518c4a79d2ec102c3f8339b765269b5f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Parent:     28d49a93 (Update the 2027.1 specification template)"},{"line_number":2,"context_line":"Author:     Chandan \u003cchkumar@redhat.com\u003e"},{"line_number":3,"context_line":"AuthorDate: 2026-09-15 17:27:57 +0530"},{"line_number":4,"context_line":"Commit:     Chandan \u003cchkumar@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"dbf582c1_20d28eab","line":1,"updated":"2026-11-04 06:27:32.000000000","message":"The 2027.1 spec template instructs that any spec proposing changes to the Cyborg REST API \u0027should add the APIImpact flag to the commit message\u0027, with a documented Gerrit query used to find such specs. This spec introduces a new API microversion, a new device_state response field, and the new admin endpoint POST /v2/devices/{uuid}/clean, but the commit message of cf1e6a4 contains no APIImpact flag.\n\n**Severity**: SUGGESTION | **Confidence**: 0.9\n\n**Impact**: Without the flag the API change is not discoverable through the project\u0027s documented message:apiimpact query, which the team relies on to track specs that require API work; downstream SDK, CLI, and cyborg-api implementers can miss this specification when scanning for API-impacting changes.\n\n**Recommendation**:\nAdd an APIImpact line to the commit message on the next rebase or patchset, e.g. \u0027APIImpact: add device_state field to device responses and POST /v2/devices/{uuid}/clean admin endpoint\u0027.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"2b35b549518c4a79d2ec102c3f8339b765269b5f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Parent:     28d49a93 (Update the 2027.1 specification template)"},{"line_number":2,"context_line":"Author:     Chandan \u003cchkumar@redhat.com\u003e"},{"line_number":3,"context_line":"AuthorDate: 2026-09-15 17:27:57 +0530"},{"line_number":4,"context_line":"Commit:     Chandan \u003cchkumar@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"938be833_55411704","line":1,"updated":"2026-11-04 06:27:32.000000000","message":"The first body sentence of the commit message reads \u0027It updates following sections into 2026.2 proposed spec:\u0027 - it omits the article \u0027the\u0027 and uses \u0027into\u0027 where \u0027of\u0027 is meant, leaving it ambiguous whether the listed sections are being updated in the 2026.2 spec or copied from it into this reproposal. The wording becomes part of the permanent change history.\n\n**Severity**: SUGGESTION | **Confidence**: 0.85\n\n**Impact**: Reduced clarity of the permanent history: readers must infer that the listed sections of the previously proposed 2026.2 spec were updated as part of the 2027.1 reproposal.\n\n**Recommendation**:\nReword to \u0027It updates the following sections of the 2026.2 proposed spec:\u0027 (or \u0027...for the 2027.1 reproposal:\u0027) on the next patchset.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"23d050a212f67c9b80a27ff9afbde491f7f39b69","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Parent:     28d49a93 (Update the 2027.1 specification template)"},{"line_number":2,"context_line":"Author:     Chandan \u003cchkumar@redhat.com\u003e"},{"line_number":3,"context_line":"AuthorDate: 2026-09-15 17:27:57 +0530"},{"line_number":4,"context_line":"Commit:     Chandan \u003cchkumar@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"8f52f245_c1046894","line":1,"updated":"2026-11-11 10:57:18.000000000","message":"The 2027.1 specification template instructs authors of specs proposing REST API changes to add the APIImpact flag to the commit message so that API-impacting specs are discoverable through the documented Gerrit query. This reproposal retains the REST API impact sections (a new admin-only POST /v2/devices/{uuid}/clean endpoint, a new API microversion, and the new device_state response field), but its commit message contains no APIImpact flag. The predecessor 2026.2 commit of the same spec (b6c43f7 \u0027Add generic NVMe driver spec with secure cleanup\u0027) included the APIImpact flag.\n\n**Severity**: SUGGESTION | **Confidence**: 0.85\n\n**Impact**: This API-impacting spec becomes undiscoverable through the documented APIImpact query that reviewers use to find specs proposing API changes, weakening the flagging process the project template defines and breaking continuity with the predecessor\u0027s flag.\n\n**Recommendation**:\nAdd an \u0027APIImpact\u0027 footer to the commit message on the next rebase or amend, matching both the template guidance and the predecessor commit.","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"e09eefbe7dab222fd5681da1e8708fcedad1bded","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Parent:     e8247aef (Repropose PCI managed-mode support for 2027.1)"},{"line_number":2,"context_line":"Author:     Chandan \u003cchkumar@redhat.com\u003e"},{"line_number":3,"context_line":"AuthorDate: 2026-09-15 17:27:57 +0530"},{"line_number":4,"context_line":"Commit:     Chandan \u003cchkumar@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"27abecdd_bac08ac7","line":1,"updated":"2026-11-25 15:38:22.000000000","message":"The project\u0027s 2027.1 spec template states that a specification proposing changes to the Cyborg REST API must carry the APIImpact flag in its commit message, so that API-impacting specs remain discoverable through the documented Gerrit query. This reproposal retains all of the API changes of the approved 2026.2 spec - a new API microversion, the new \u0027device_state\u0027 field in device responses, and the new admin-only \u0027POST /v2/devices/{uuid}/clean\u0027 endpoint with SDK and CLI follow-up - but its commit message contains no APIImpact flag. The commit that added the 2026.2 version of this same spec carried the flag, as did the original VFIO managed-mode spec commit.\n\n**Severity**: WARNING | **Confidence**: 0.85\n\n**Impact**: API-impacting spec changes become undiscoverable through the project\u0027s documented APIImpact Gerrit query, so reviewers and the API team lose the signal the template establishes for tracking REST contract changes; the permanent change history no longer records that this spec proposes API changes.\n\n**Suggestion**:\nAmend the commit message of this change to add an \u0027APIImpact\u0027 line alongside the existing trailers (for example after the blueprint link), matching the 2027.1 template requirement and the message of the approved 2026.2 commit for this spec.","commit_id":"9e02c0b35bc8d642c766d0eed385e45329b34160"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"1e1e4fd88ee2063bff2f7d44973c6e7a10961621","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Parent:     e8247aef (Repropose PCI managed-mode support for 2027.1)"},{"line_number":2,"context_line":"Author:     Chandan \u003cchkumar@redhat.com\u003e"},{"line_number":3,"context_line":"AuthorDate: 2026-09-15 17:27:57 +0530"},{"line_number":4,"context_line":"Commit:     Chandan \u003cchkumar@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"c04eff6f_4ee3476a","line":1,"updated":"2026-11-30 13:11:08.000000000","message":"This spec proposes REST API changes: a new microversion, a read-only ``device_state`` field in device responses, and the new admin-only ``POST /v2/devices/{uuid}/clean`` endpoint with SDK and CLI support. The 2027.1 template states that a specification proposing changes to the Cyborg REST API should add the APIImpact flag to the commit message. This commit\u0027s message carries Previously-approved, Assisted-By, Depends-On, Change-Id and Signed-off-by footers but no APIImpact flag.\n\n**Severity**: WARNING | **Confidence**: 0.9\n\n**Impact**: Reviewers and the team cannot find this API-affecting spec through the APIImpact tracking that the template\u0027s process relies on (the documented query lists API-impacting changes by that flag), so the spec\u0027s microversion, device_state field and clean endpoint lose the flag Cyborg uses for API review and future compatibility audits.\n\n**Suggestion**:\nAmend the commit message to add an APIImpact flag, e.g. \u0027APIImpact: Adds device_state to device responses and the admin-only POST /v2/devices/{uuid}/clean endpoint behind a new microversion\u0027.","commit_id":"d7434e5c87753789b07632ae43a50edff1fd6aef"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"8f58ec76a88aa38d9de33c8854ab2fcb01c90fe0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Parent:     e8247aef (Repropose PCI managed-mode support for 2027.1)"},{"line_number":2,"context_line":"Author:     Chandan \u003cchkumar@redhat.com\u003e"},{"line_number":3,"context_line":"AuthorDate: 2026-09-15 17:27:57 +0530"},{"line_number":4,"context_line":"Commit:     Chandan \u003cchkumar@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"690c4755_0b1560e3","line":1,"updated":"2026-11-30 13:31:43.000000000","message":"The project\u0027s spec template instructs that a spec proposing changes to the Cyborg REST API add the APIImpact flag to the commit message, keeping such commits discoverable via the message:apiimpact Gerrit search the template cites. This reproposal declares a substantial API surface: a new microversion, a read-only device_state field in GET /v2/devices and GET /v2/devices/{uuid} responses, and the admin-only POST /v2/devices/{uuid}/clean endpoint governed by the new cyborg:device:clean policy rule. The reviewed commit message carries Previously-approved, Change-Id, Signed-off-by and Assisted-By footers but no APIImpact flag, unlike the original 2026.2 commit of this same spec (b6c43f7 \u0027Add generic NVMe driver spec with secure cleanup\u0027), which included a standalone \u0027APIImpact\u0027 line.\n\n**Severity**: SUGGESTION | **Confidence**: 0.85\n\n**Impact**: The template documents message:apiimpact search as the discovery path for API-changing spec commits. Without the flag, this commit is excluded from Gerrit message searches for the flag, including the query the template cites (which filters on project:openstack/cyborg), so reviewers and API consumers tracing this spec\u0027s declared microversion, device_state response field and clean endpoint through that discovery path can miss the API commitment when the implementation lands.\n\n**Recommendation**:\nAdd an \u0027APIImpact\u0027 footer line to the commit message, as the 2026.2 commit b6c43f7 of this same spec did, when the change is next re-uploaded or amended.","commit_id":"aa17dccf135c3b4fa4a73b12f83fcc881daf6dc4"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"e3b71ce613b0f8acdc74ee4d3950c3f45e1a1e25","unresolved":false,"context_lines":[{"line_number":1,"context_line":"Parent:     e8247aef (Repropose PCI managed-mode support for 2027.1)"},{"line_number":2,"context_line":"Author:     Chandan \u003cchkumar@redhat.com\u003e"},{"line_number":3,"context_line":"AuthorDate: 2026-09-15 17:27:57 +0530"},{"line_number":4,"context_line":"Commit:     Chandan \u003cchkumar@redhat.com\u003e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"355a83d2_6995b0db","line":1,"updated":"2026-11-30 14:23:25.000000000","message":"The spec declares a new API microversion, a read-only ``device_state`` field in device responses, and a new admin endpoint ``POST /v2/devices/{uuid}/clean`` (REST API impact section, lines 808-900). The 2027.1 template requires that a spec proposing API changes add the APIImpact flag to its commit message, but this commit\u0027s message contains no APIImpact entry, although it uses the same footer style (Previously-approved, Assisted-By, Depends-On, Change-Id, Signed-off-by).\n\n**Severity**: SUGGESTION | **Confidence**: 0.85\n\n**Impact**: API-impacting spec commits without the flag are not findable through the message:APIImpact search the template points reviewers and API maintainers to, so the microversion and endpoint declared here are harder to track when the dependent API, SDK, and CLI work items (Phase 5) are implemented.\n\n**Recommendation**:\nAmend the commit message to add the flag with a short subject, e.g. \"APIImpact: device microversion adding derived device_state and POST /v2/devices/{uuid}/clean\", placed with the existing footers.","commit_id":"aa17dccf135c3b4fa4a73b12f83fcc881daf6dc4"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"fe9c83d2213f1607426450928647f27b67f26d65","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"a21128ee_445696a4","updated":"2026-09-29 15:07:52.000000000","message":"few more updates are needed.","commit_id":"aba92db5dc3b101e00a251c3df135b0b8722142e"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"a0133dfab1fda967cab83704581d706c850d27cd","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"d7bccf80_0f2ff21a","updated":"2026-11-12 17:51:14.000000000","message":"I think the last patchset cleared the few places where the different services roles could be confused, lgtm","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"1eb345914ca635c0a67aeff7fdf3ef31f5247464","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"9ca34648_d5c5a086","updated":"2026-11-13 11:24:34.000000000","message":"I was testing some llm models today and it signaled some issues that we will need to look at I think","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"87bade44_09b1097d","updated":"2026-11-11 10:41:07.000000000","message":"Thank you sean and Joan for the feedback.\n\nI have dropped the overlapping section I copied from ovo indirection spec to explain the reasoning and 2026.2 merged chnages and section.\n\nBased on the feddback, I rewrote the device state and cleanup flow section.\n\nDo let me know if I missed anything.","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"4dc74d0fb4141b5f9467c8bbbe0863d7913d258c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"931f6196_f9af130a","updated":"2026-11-25 14:52:21.000000000","message":"those were the comment i had for v9 ill revew v10 later in the week","commit_id":"eaae438f92a888a98c8479bf982f5c282ffbf876"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"be9d9d2cbbe8ef2757564c17529702b15ff56d69","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":11,"id":"57e4eadb_06761418","updated":"2026-11-26 17:37:20.000000000","message":"im sorry we didnt catch this detail sooner but im glad we caught it in spec review","commit_id":"9e02c0b35bc8d642c766d0eed385e45329b34160"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"afb4c2ecde766fd233e19eeac9eaaccb7eb81716","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"f7eb4e79_87f004d9","updated":"2026-11-26 11:49:43.000000000","message":"thanks Chandan you addressed the only concerns I had, ltgm","commit_id":"9e02c0b35bc8d642c766d0eed385e45329b34160"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a22720ded8999d8c3e264af15f47aac0b6cb369c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":13,"id":"7791ac47_114508a1","updated":"2026-11-30 12:57:18.000000000","message":"Thank you @jgilaber@redhat.com and @smooney@redhat.com for the feedback.\n\nhttps://review.opendev.org/c/openstack/cyborg/+/1017942 Move device_state from devices to attachment handles\n\nBased on above review, \nI have rewritten the spec by moving device_state from Devices to attachment handle, updating the reserved value.\n\nPlease have a look.Thank you!","commit_id":"d7434e5c87753789b07632ae43a50edff1fd6aef"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"da76e663c1b55c169a1f4dc464ad1569a82c4509","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"cd27c622_bf78a3a4","updated":"2026-11-30 13:34:33.000000000","message":"recheck","commit_id":"aa17dccf135c3b4fa4a73b12f83fcc881daf6dc4"}],"specs/2027.1/approved/generic-nvme-driver-with-secure-cleanup.rst":[{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"4df333a7dc994c7089c38524cd8695fe3be10e98","unresolved":false,"context_lines":[{"line_number":944,"context_line":"Driver documentation will include examples of how to manage Inspur"},{"line_number":945,"context_line":"devices with the new generic driver."},{"line_number":946,"context_line":""},{"line_number":947,"context_line":"This release introduces N-1 agent compatibility. A 2026.2 conductor"},{"line_number":948,"context_line":"and API can operate with 2026.1 agents. The conductor checks"},{"line_number":949,"context_line":"``can_send_version(\u00271.1\u0027)`` before dispatching ``cleanup_device``"},{"line_number":950,"context_line":"(see RPC API impact section). For non-NVMe devices, the conductor"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3334f0c5_379cfd75","line":947,"updated":"2026-09-15 12:20:58.000000000","message":"The spec is re-proposed for 2027.1 with Phase 1 marked done in 2026.2, but the RPC, REST, and upgrade sections still describe the N-1 compatibility boundary using releases from the original 2026.2 target. Line 947 states \u0027This release introduces N-1 agent compatibility. A 2026.2 conductor and API can operate with 2026.1 agents\u0027; line 815 calls an agent lacking RPC version 1.1 \u0027a 2026.1 agent\u0027; line 762 says the clean endpoint returns 400 for a \u0027pre-2026.2 agent\u0027. Because the cleanup_device RPC bump (1.0 -\u003e 1.1), the microversion, and the POST /clean endpoint are future 2027.1 work items (Phases 3 and 5), the old-agent boundary when the feature lands is a 2026.2 agent, not a 2026.1 agent.\n\n**Severity**: WARNING | **Confidence**: 0.82\n\n**Impact**: Implementers of the can_send_version guard, and writers of upgrade docs and API error text derived from this spec, will state the wrong conductor/agent release pairing (2026.2 conductor with 2026.1 agents instead of 2027.1 conductor with 2026.2 agents). \u0027This release\u0027 also becomes ambiguous, which can mislead release-note and compatibility matrix authors.\n\n**Suggestion**:\nUpdate the compatibility references for the 2027.1 target: state that the 2027.1 conductor and API operate with 2026.2 agents; change \u0027(a 2026.1 agent)\u0027 at line 815 to a 2026.2 agent and \u0027(pre-2026.2 agent)\u0027 at line 762 to \u0027(pre-2027.1 agent)\u0027 or equivalent; and clarify that \u0027This release\u0027 at line 947 is 2027.1.","commit_id":"5d8ef2609c21df2cb9a8e0f4a7a0ca1673c4edf3"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"4df333a7dc994c7089c38524cd8695fe3be10e98","unresolved":false,"context_lines":[{"line_number":972,"context_line":"Work Items"},{"line_number":973,"context_line":"----------"},{"line_number":974,"context_line":""},{"line_number":975,"context_line":"**Phase 1 — Foundation (independent patches) Done in 2026.2 :**"},{"line_number":976,"context_line":""},{"line_number":977,"context_line":"* Alembic migration for nullable ``device_state`` column and ``NVME``"},{"line_number":978,"context_line":"  type. Bump ``Device`` object version to ``1.3`` with"}],"source_content_type":"text/x-rst","patch_set":2,"id":"78761978_e2de0f2f","line":975,"updated":"2026-09-15 12:20:58.000000000","message":"Line 975 reads \u0027**Phase 1 — Foundation (independent patches) Done in 2026.2 :**\u0027. The completion status is appended without punctuation and there is a stray space before the colon, so the heading reads awkwardly. The 2026.2 copy of the spec used the clean heading \u0027**Phase 1 — Foundation (independent patches):**\u0027.\n\n**Severity**: SUGGESTION | **Confidence**: 0.9\n\n**Impact**: Minor readability defect in a permanent heading of an approved spec; the appended status also mixes plan state into the phase title rather than the history table that already records it.\n\n**Recommendation**:\nRewrite the heading as \u0027**Phase 1 — Foundation (independent patches, done in 2026.2):**\u0027 or move the status note to a sentence under the heading, since the history table already records the 2026.2 acceptance.","commit_id":"5d8ef2609c21df2cb9a8e0f4a7a0ca1673c4edf3"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"d4608ead3f4d955adaf319f7e0743c2bc4e016f4","unresolved":false,"context_lines":[{"line_number":944,"context_line":"Driver documentation will include examples of how to manage Inspur"},{"line_number":945,"context_line":"devices with the new generic driver."},{"line_number":946,"context_line":""},{"line_number":947,"context_line":"This release introduces N-1 agent compatibility. A 2026.2 conductor"},{"line_number":948,"context_line":"and API can operate with 2026.1 agents. The conductor checks"},{"line_number":949,"context_line":"``can_send_version(\u00271.1\u0027)`` before dispatching ``cleanup_device``"},{"line_number":950,"context_line":"(see RPC API impact section). For non-NVMe devices, the conductor"}],"source_content_type":"text/x-rst","patch_set":3,"id":"0e9abde2_35440e7f","line":947,"updated":"2026-09-15 14:18:09.000000000","message":"The spec is re-targeted from 2026.2 to 2027.1 (commit subject, history row \u00272027.1 Reproposed\u0027, Phase 1 marked \u0027done in 2026.2\u0027), but several release-version statements still describe the 2026.2 cycle. The upgrade section says \u0027This release introduces N-1 agent compatibility. A 2026.2 conductor and API can operate with 2026.1 agents\u0027; the REST error-code list scopes the 400 response to a \u0027pre-2026.2 agent\u0027; and the RPC section calls an agent lacking RPC 1.1 \u0027a 2026.1 agent\u0027. Because RPC 1.1 and the clean endpoint land with this spec in 2027.1, agents without RPC 1.1 are 2026.2-and-older, and this release\u0027s N-1 compatibility is a 2027.1 conductor/API operating with 2026.2 agents.\n\n**Severity**: WARNING | **Confidence**: 0.9\n\n**Impact**: Implementers and operators reading the 2027.1 spec get the previous cycle\u0027s compatibility matrix: the documented N-1 upgrade path and the 400-error condition for POST /v2/devices/{uuid}/clean describe release combinations that do not match this feature\u0027s landing release, which misleads upgrade planning and implementation of the can_send_version guard. The unchanged 2027.2 dates also quietly halve the intended deprecation and nullable-column windows.\n\n**Suggestion**:\nRe-baseline the release references for 2027.1: \u0027A 2027.1 conductor and API can operate with 2026.2 agents\u0027 (upgrade section), \u0027(pre-2027.1 agent)\u0027 in the error-code list, \u0027(a 2026.2 agent)\u0027 in the RPC section, and re-confirm the contract-migration and driver-removal target dates (currently both 2027.2) now that the feature lands one release later.","commit_id":"22923863a710eec48455020dbf47a2e204223403"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"b76d8866024351c92de6f1d710b335f8cc9de553","unresolved":true,"context_lines":[{"line_number":119,"context_line":"    │  Operator configures cyborg.conf                │"},{"line_number":120,"context_line":"    │  [agent] enabled_drivers \u003d nvme_driver          │"},{"line_number":121,"context_line":"    │  [nvme]  device_spec \u003d {vendor_id, product_id,  │"},{"line_number":122,"context_line":"    │          address, clear_action, clear_strategy}  │"},{"line_number":123,"context_line":"    └─────────────────┬───────────────────────────────┘"},{"line_number":124,"context_line":"                      │"},{"line_number":125,"context_line":"                      ▼"}],"source_content_type":"text/x-rst","patch_set":4,"id":"5e056f06_6ffca559","line":122,"updated":"2026-09-29 15:50:47.000000000","message":"tiny nit: there are a few spacing issues in the ascii diagrams. They\u0027re not worth a respin on their own, we could fix them if an update is needed","commit_id":"aba92db5dc3b101e00a251c3df135b0b8722142e"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"c84034759cec3ce2a755c478003a483143b5b530","unresolved":false,"context_lines":[{"line_number":119,"context_line":"    │  Operator configures cyborg.conf                │"},{"line_number":120,"context_line":"    │  [agent] enabled_drivers \u003d nvme_driver          │"},{"line_number":121,"context_line":"    │  [nvme]  device_spec \u003d {vendor_id, product_id,  │"},{"line_number":122,"context_line":"    │          address, clear_action, clear_strategy}  │"},{"line_number":123,"context_line":"    └─────────────────┬───────────────────────────────┘"},{"line_number":124,"context_line":"                      │"},{"line_number":125,"context_line":"                      ▼"}],"source_content_type":"text/x-rst","patch_set":4,"id":"39b40ba2_83adcf49","line":122,"in_reply_to":"5e056f06_6ffca559","updated":"2026-10-01 05:18:24.000000000","message":"Done","commit_id":"aba92db5dc3b101e00a251c3df135b0b8722142e"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"b76d8866024351c92de6f1d710b335f8cc9de553","unresolved":true,"context_lines":[{"line_number":958,"context_line":"``400 Bad Request``. After upgrading the agent, the operator can"},{"line_number":959,"context_line":"retry the request."},{"line_number":960,"context_line":""},{"line_number":961,"context_line":"``[upgrade_levels] agent\u003dauto`` selects the oldest RPC version common to the"},{"line_number":962,"context_line":"deployment. Enabling the NVMe driver while pinned to ``1.0`` fails agent"},{"line_number":963,"context_line":"startup; the runtime version check remains as a defensive guard."},{"line_number":964,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3317ba6f_34600ad3","line":961,"updated":"2026-09-29 15:50:47.000000000","message":"is this referring to a new configuration section? I\u0027m not sure I understand this paragraph","commit_id":"aba92db5dc3b101e00a251c3df135b0b8722142e"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"c84034759cec3ce2a755c478003a483143b5b530","unresolved":true,"context_lines":[{"line_number":958,"context_line":"``400 Bad Request``. After upgrading the agent, the operator can"},{"line_number":959,"context_line":"retry the request."},{"line_number":960,"context_line":""},{"line_number":961,"context_line":"``[upgrade_levels] agent\u003dauto`` selects the oldest RPC version common to the"},{"line_number":962,"context_line":"deployment. Enabling the NVMe driver while pinned to ``1.0`` fails agent"},{"line_number":963,"context_line":"startup; the runtime version check remains as a defensive guard."},{"line_number":964,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"42175182_d114a1e1","line":961,"in_reply_to":"3317ba6f_34600ad3","updated":"2026-10-01 05:18:24.000000000","message":"I have re-written this section, I hope it will be clear now.","commit_id":"aba92db5dc3b101e00a251c3df135b0b8722142e"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"9f9f7299d93d139cc8f4887f3199585ab3ce2b8b","unresolved":false,"context_lines":[{"line_number":958,"context_line":"``400 Bad Request``. After upgrading the agent, the operator can"},{"line_number":959,"context_line":"retry the request."},{"line_number":960,"context_line":""},{"line_number":961,"context_line":"``[upgrade_levels] agent\u003dauto`` selects the oldest RPC version common to the"},{"line_number":962,"context_line":"deployment. Enabling the NVMe driver while pinned to ``1.0`` fails agent"},{"line_number":963,"context_line":"startup; the runtime version check remains as a defensive guard."},{"line_number":964,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"a4c02442_011fb737","line":961,"in_reply_to":"42175182_d114a1e1","updated":"2026-11-06 13:38:04.000000000","message":"Done","commit_id":"aba92db5dc3b101e00a251c3df135b0b8722142e"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"b85d9c3a36178d142a4feed82f9fbaaf06df5f00","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"``NVMeDriver.init_host()`` checks that ``nvme-cli`` is installed and the"},{"line_number":105,"context_line":"conductor RPC cap permits object indirection. It reads persisted state"},{"line_number":106,"context_line":"through indirection for startup validation and recovery. The ``discover()``"},{"line_number":107,"context_line":"method filters out NVMe devices and reports NVMe device capabilities to"},{"line_number":108,"context_line":"Placement. The ``cleanup()`` method performs cleanup of NVMe devices"},{"line_number":109,"context_line":"using ``nvme-cli``. Bind and unbind use the common Cyborg conductor"}],"source_content_type":"text/x-rst","patch_set":7,"id":"f735f7bc_57e255af","line":106,"updated":"2026-11-03 06:49:08.000000000","message":"The rewritten init_host overview says \u0027The ``discover()`` method filters out NVMe devices and reports NVMe device capabilities to Placement\u0027 (lines 106-108). The Device Discovery section specifies the opposite: discovery reads /sys/bus/pci/devices/ and selects devices matching the [nvme] device_spec (lines 286-299), and the driver\u0027s purpose is to discover and manage NVMe devices. \u0027Filters out\u0027 idiomatically means excluding NVMe devices, contradicting the same document.\n\n**Severity**: SUGGESTION | **Confidence**: 0.88\n\n**Impact**: A reader or implementer can misread discovery as excluding NVMe devices, which is the opposite of the driver\u0027s stated purpose; the ambiguity sits in the permanent spec history that implementers will follow.\n\n**Recommendation**:\nReword line 107 to \u0027filters for NVMe devices\u0027 or \u0027selects NVMe devices matching ``device_spec``\u0027 so the sentence matches the Device Discovery section.","commit_id":"c74b9bde7fda5045632d9f0e5f95db217b0593d6"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"b85d9c3a36178d142a4feed82f9fbaaf06df5f00","unresolved":false,"context_lines":[{"line_number":541,"context_line":"This is separate from the existing ``status`` field, which remains exclusively"},{"line_number":542,"context_line":"for enabled/disabled scheduling control."},{"line_number":543,"context_line":""},{"line_number":544,"context_line":"The state transitions and Placement accounting are::"},{"line_number":545,"context_line":""},{"line_number":546,"context_line":"    available (reserved\u003d0)"},{"line_number":547,"context_line":"        │ bind: set reserved to in-use attachment handles (\u003d1)"}],"source_content_type":"text/x-rst","patch_set":7,"id":"2fc4f38b_180ca403","line":544,"updated":"2026-11-03 06:49:08.000000000","message":"The reworked state machine (lines 544-556) defines only available, allocated, pending_cleaning, and error, and the unbind flow states the device remains in pending_cleaning while cleanup work is queued or running (lines 576-578), so no component is specified to ever set \u0027cleaning\u0027. Yet the spec keeps \u0027cleaning\u0027 in the nullable device_state DB enum (line 682), references it in startup recovery (\u0027devices in pending_cleaning or cleaning\u0027, line 637), and documents a 409 response for a device \u0027already in cleaning or pending_cleaning state\u0027 (lines 833-834). The previously-approved 2026.2 copy showed the agent transitioning pending_cleaning to cleaning; this revision removed that transition without removing the state.\n\n**Severity**: WARNING | **Confidence**: 0.85\n\n**Impact**: An implementer cannot determine when \u0027cleaning\u0027 should be set, which component owns it, or which Placement reserved value applies in that state. The shipped DB enum and the documented API 409 behavior can diverge from the state machine, and different patches (conductor vs agent) may implement the state inconsistently, leaving a dead enum value in the schema or an undocumented mid-cleanup state.\n\n**Suggestion**:\nEither document the transition into \u0027cleaning\u0027 in the state machine - which component sets it, when, and its Placement reserved value - or remove \u0027cleaning\u0027 from the device_state enum (line 682), the recovery prose (line 637), and the 409 response list (lines 833-834) so the schema, prose, and diagram agree.","commit_id":"c74b9bde7fda5045632d9f0e5f95db217b0593d6"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":false,"context_lines":[{"line_number":107,"context_line":"method selects NVMe devices matching ``device_spec`` and reports their"},{"line_number":108,"context_line":"capabilities to Placement. The ``cleanup()`` method performs cleanup of"},{"line_number":109,"context_line":"NVMe devices using ``nvme-cli``. Bind and unbind use the common Cyborg"},{"line_number":110,"context_line":"conductor process for all device types."},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"NVMe Device Lifecycle Flow"},{"line_number":113,"context_line":"--------------------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"e53fd452_d6685458","line":110,"updated":"2026-11-06 18:45:11.000000000","message":"+1 some of this was compelted last cycle but this all still looks good to me","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"9f9f7299d93d139cc8f4887f3199585ab3ce2b8b","unresolved":true,"context_lines":[{"line_number":199,"context_line":"After a restart, before discovery and reporting, the agent reads persisted"},{"line_number":200,"context_line":"device and allocation state for its host through remotable object methods."},{"line_number":201,"context_line":"It identifies interrupted cleanup and ``allocated`` devices without an"},{"line_number":202,"context_line":"active ARQ. The agent requests recovery through object methods that check"},{"line_number":203,"context_line":"the current state and allocation ownership. The conductor retains the"},{"line_number":204,"context_line":"reservation until cleanup succeeds. The agent has no direct database"},{"line_number":205,"context_line":"access."}],"source_content_type":"text/x-rst","patch_set":8,"id":"4a4f2acd_24d75eef","line":202,"updated":"2026-11-06 13:38:04.000000000","message":"```\nThe agent requests recovery through object methods that check\n```\nthis seems ambiguous to me, it suggests that the object methods might call the device cleanup, but that does not seems right. The intended meaning is that the agent requests the current state through the conductor inderection and then retriggers the clenaup when required correct?","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":true,"context_lines":[{"line_number":199,"context_line":"After a restart, before discovery and reporting, the agent reads persisted"},{"line_number":200,"context_line":"device and allocation state for its host through remotable object methods."},{"line_number":201,"context_line":"It identifies interrupted cleanup and ``allocated`` devices without an"},{"line_number":202,"context_line":"active ARQ. The agent requests recovery through object methods that check"},{"line_number":203,"context_line":"the current state and allocation ownership. The conductor retains the"},{"line_number":204,"context_line":"reservation until cleanup succeeds. The agent has no direct database"},{"line_number":205,"context_line":"access."}],"source_content_type":"text/x-rst","patch_set":8,"id":"a9abde19_22aad836","line":202,"in_reply_to":"1d41e8e4_70c86ad6","updated":"2026-11-11 10:41:07.000000000","message":"Yes Joan, that’s correct. \n\nThe agent retrieves lists of objects carrying the persisted device and allocation state through conductor indirection. \nIt inspects those objects and retriggers cleanup through the NVMe driver when required. \nThe object query methods do not invoke the driver or trigger cleanup. \n\nI’ve updated the wording to make that clear with below text\n```\nAfter a restart, before discovery and reporting, the agent reads its host\u0027s\npersisted state through remotable object queries executed on the conductor.\nThe queries return versioned lists of device and allocation objects carrying\ntheir current state, including whether a device is ``allocated``. The Cyborg\nagent inspects these objects to identify interrupted cleanup and allocated\ndevices without an active ARQ. After discovery identifies the owning driver,\nthe agent queues or resumes cleanup through that driver\u0027s ``cleanup(device)``\nmethod. All cleanup coordination and driver invocation reside in the agent;\nthe NVMe driver performs the hardware cleanup. Object query methods only\nreturn persisted state. Separate object methods validate and persist state\ntransitions on the conductor, which keeps the device reserved until cleanup\nsucceeds. See `Timeout and Crash Recovery`_. The agent has no direct database\naccess.\n```","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":199,"context_line":"After a restart, before discovery and reporting, the agent reads persisted"},{"line_number":200,"context_line":"device and allocation state for its host through remotable object methods."},{"line_number":201,"context_line":"It identifies interrupted cleanup and ``allocated`` devices without an"},{"line_number":202,"context_line":"active ARQ. The agent requests recovery through object methods that check"},{"line_number":203,"context_line":"the current state and allocation ownership. The conductor retains the"},{"line_number":204,"context_line":"reservation until cleanup succeeds. The agent has no direct database"},{"line_number":205,"context_line":"access."}],"source_content_type":"text/x-rst","patch_set":8,"id":"1d41e8e4_70c86ad6","line":202,"in_reply_to":"4a4f2acd_24d75eef","updated":"2026-11-06 18:45:11.000000000","message":"right eh object wont know naythign about the driver\n\nthe jobect method just return a list of obejcts and which internaly carry if the devie is allcoated ectra and all the celanup logic will be in the compute agent and nvme driver.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"a0133dfab1fda967cab83704581d706c850d27cd","unresolved":false,"context_lines":[{"line_number":199,"context_line":"After a restart, before discovery and reporting, the agent reads persisted"},{"line_number":200,"context_line":"device and allocation state for its host through remotable object methods."},{"line_number":201,"context_line":"It identifies interrupted cleanup and ``allocated`` devices without an"},{"line_number":202,"context_line":"active ARQ. The agent requests recovery through object methods that check"},{"line_number":203,"context_line":"the current state and allocation ownership. The conductor retains the"},{"line_number":204,"context_line":"reservation until cleanup succeeds. The agent has no direct database"},{"line_number":205,"context_line":"access."}],"source_content_type":"text/x-rst","patch_set":8,"id":"cae4fd29_6f0dcf28","line":202,"in_reply_to":"a9abde19_22aad836","updated":"2026-11-12 17:51:14.000000000","message":"thanks Chandan, the current version lgtm, it clearly delineates each service\u0027s responsibility","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":243,"context_line":"  WhitelistPciAddress. It needs to be ported to Generic PCIBusManager"},{"line_number":244,"context_line":"  in future release."},{"line_number":245,"context_line":"* **Move Device binding logic added in cyborg-api via rpc to cyborg-agent**."},{"line_number":246,"context_line":"  It should also move the placement calls to cyborg-conductor in the future."},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"init_host"},{"line_number":249,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"66341144_77b53137","line":246,"updated":"2026-11-06 18:45:11.000000000","message":"ok i agree with hese scodping statemnt however i would prefer if you our you llm  reworte these as prose in a paragraph(s) rather then a list.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":true,"context_lines":[{"line_number":243,"context_line":"  WhitelistPciAddress. It needs to be ported to Generic PCIBusManager"},{"line_number":244,"context_line":"  in future release."},{"line_number":245,"context_line":"* **Move Device binding logic added in cyborg-api via rpc to cyborg-agent**."},{"line_number":246,"context_line":"  It should also move the placement calls to cyborg-conductor in the future."},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"init_host"},{"line_number":249,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"da28cad4_e35f0933","line":246,"in_reply_to":"66341144_77b53137","updated":"2026-11-11 10:41:07.000000000","message":"In the 2026.2 spec , I have added them as a bullet point https://specs.openstack.org/openstack/cyborg-specs/specs/2026.2/approved/generic-nvme-driver-with-secure-cleanup.html#scope So I followed the same pattern here.\n\nI have rewriteen them in pargraph.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"3345e30b2d29b3f437417067a066b5abd5c84b2c","unresolved":false,"context_lines":[{"line_number":243,"context_line":"  WhitelistPciAddress. It needs to be ported to Generic PCIBusManager"},{"line_number":244,"context_line":"  in future release."},{"line_number":245,"context_line":"* **Move Device binding logic added in cyborg-api via rpc to cyborg-agent**."},{"line_number":246,"context_line":"  It should also move the placement calls to cyborg-conductor in the future."},{"line_number":247,"context_line":""},{"line_number":248,"context_line":"init_host"},{"line_number":249,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"fc4f1ad7_43c8a4ec","line":246,"in_reply_to":"da28cad4_e35f0933","updated":"2026-11-25 14:51:52.000000000","message":"Done","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":247,"context_line":""},{"line_number":248,"context_line":"init_host"},{"line_number":249,"context_line":"---------"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"The Cyborg agent startup follows this order: the agent\u0027s ``init_host()``"},{"line_number":252,"context_line":"runs first, then the ``update_available_resource`` periodic task calls"},{"line_number":253,"context_line":"``discover()`` on each enabled driver. This spec adds a driver-level"},{"line_number":254,"context_line":"``init_host()`` hook that the agent will call for each enabled driver"},{"line_number":255,"context_line":"before discovery runs. The ``GenericDriver`` base classes provide"},{"line_number":256,"context_line":"no-op (``pass``) defaults. ``NVMeDriver`` overrides"},{"line_number":257,"context_line":"``init_host()`` to validate that ``nvme-cli`` is present on the host,"},{"line_number":258,"context_line":"following the same pattern as Nova\u0027s libvirt driver which validates"},{"line_number":259,"context_line":"minimum libvirt and QEMU versions at startup. If ``nvme-cli`` is not"},{"line_number":260,"context_line":"found and the NVMe driver is configured in ``[agent] enabled_drivers``,"},{"line_number":261,"context_line":"``init_host()`` raises an exception and prevents the agent from"},{"line_number":262,"context_line":"starting. If no NVMe devices are found during discovery,"},{"line_number":263,"context_line":"the driver returns an empty list without error."},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"The indirection implementation sets ``CyborgObject.indirection_api`` before"},{"line_number":266,"context_line":"the agent calls object methods. When ``nvme_driver`` is enabled, startup calls"},{"line_number":267,"context_line":"``ConductorAPI.supports_object_indirection()`` before discovery, reporting,"},{"line_number":268,"context_line":"or cleanup. If the helper returns ``False``, startup raises a configuration"},{"line_number":269,"context_line":"exception that names NVMe, the required conductor RPC version"},{"line_number":270,"context_line":"``1.1``, the configured cap, and ``[upgrade_levels] conductor``. The helper"},{"line_number":271,"context_line":"checks the local client cap. It does not query the conductor or check"},{"line_number":272,"context_line":"whether the conductor has the NVMe object methods."},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"NVMe also requires agent RPC version ``1.1`` for ``cleanup_device``. Before"},{"line_number":275,"context_line":"you enable NVMe, set ``[upgrade_levels] agent`` to ``1.1`` on the conductor."},{"line_number":276,"context_line":"The conductor checks this cap before it dispatches cleanup. The agent\u0027s"},{"line_number":277,"context_line":"startup check uses the agent\u0027s conductor RPC client cap. An agent can"},{"line_number":278,"context_line":"retain a conductor cap of ``1.0`` if no enabled feature requires indirection."},{"line_number":279,"context_line":""},{"line_number":280,"context_line":"After the cap check, the agent reads persisted device and allocation state"},{"line_number":281,"context_line":"for its host through remotable object methods. The NVMe driver uses this"},{"line_number":282,"context_line":"state to validate configuration and identify devices that need recovery."},{"line_number":283,"context_line":"Discovery must preserve the cleanup action and lifecycle state while"},{"line_number":284,"context_line":"cleanup is queued or running. Those devices remain unavailable. See"},{"line_number":285,"context_line":"`Timeout and Crash Recovery`_."},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"Device Discovery"},{"line_number":288,"context_line":"----------------"},{"line_number":289,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"5274a6f0_4a83c7c8","line":286,"range":{"start_line":250,"start_character":0,"end_line":286,"end_character":0},"updated":"2026-11-06 18:45:11.000000000","message":"this is repetign a bit of the diagram anbove and you have incldued quite a lot of implemtion details\n\nfor exampel the indrection api and upgrade leves do not realy need to menthoned here. you can instead just link to that spec but its nto really relevent to the init_host changes other then noting the depency","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":false,"context_lines":[{"line_number":247,"context_line":""},{"line_number":248,"context_line":"init_host"},{"line_number":249,"context_line":"---------"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"The Cyborg agent startup follows this order: the agent\u0027s ``init_host()``"},{"line_number":252,"context_line":"runs first, then the ``update_available_resource`` periodic task calls"},{"line_number":253,"context_line":"``discover()`` on each enabled driver. This spec adds a driver-level"},{"line_number":254,"context_line":"``init_host()`` hook that the agent will call for each enabled driver"},{"line_number":255,"context_line":"before discovery runs. The ``GenericDriver`` base classes provide"},{"line_number":256,"context_line":"no-op (``pass``) defaults. ``NVMeDriver`` overrides"},{"line_number":257,"context_line":"``init_host()`` to validate that ``nvme-cli`` is present on the host,"},{"line_number":258,"context_line":"following the same pattern as Nova\u0027s libvirt driver which validates"},{"line_number":259,"context_line":"minimum libvirt and QEMU versions at startup. If ``nvme-cli`` is not"},{"line_number":260,"context_line":"found and the NVMe driver is configured in ``[agent] enabled_drivers``,"},{"line_number":261,"context_line":"``init_host()`` raises an exception and prevents the agent from"},{"line_number":262,"context_line":"starting. If no NVMe devices are found during discovery,"},{"line_number":263,"context_line":"the driver returns an empty list without error."},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"The indirection implementation sets ``CyborgObject.indirection_api`` before"},{"line_number":266,"context_line":"the agent calls object methods. When ``nvme_driver`` is enabled, startup calls"},{"line_number":267,"context_line":"``ConductorAPI.supports_object_indirection()`` before discovery, reporting,"},{"line_number":268,"context_line":"or cleanup. If the helper returns ``False``, startup raises a configuration"},{"line_number":269,"context_line":"exception that names NVMe, the required conductor RPC version"},{"line_number":270,"context_line":"``1.1``, the configured cap, and ``[upgrade_levels] conductor``. The helper"},{"line_number":271,"context_line":"checks the local client cap. It does not query the conductor or check"},{"line_number":272,"context_line":"whether the conductor has the NVMe object methods."},{"line_number":273,"context_line":""},{"line_number":274,"context_line":"NVMe also requires agent RPC version ``1.1`` for ``cleanup_device``. Before"},{"line_number":275,"context_line":"you enable NVMe, set ``[upgrade_levels] agent`` to ``1.1`` on the conductor."},{"line_number":276,"context_line":"The conductor checks this cap before it dispatches cleanup. The agent\u0027s"},{"line_number":277,"context_line":"startup check uses the agent\u0027s conductor RPC client cap. An agent can"},{"line_number":278,"context_line":"retain a conductor cap of ``1.0`` if no enabled feature requires indirection."},{"line_number":279,"context_line":""},{"line_number":280,"context_line":"After the cap check, the agent reads persisted device and allocation state"},{"line_number":281,"context_line":"for its host through remotable object methods. The NVMe driver uses this"},{"line_number":282,"context_line":"state to validate configuration and identify devices that need recovery."},{"line_number":283,"context_line":"Discovery must preserve the cleanup action and lifecycle state while"},{"line_number":284,"context_line":"cleanup is queued or running. Those devices remain unavailable. See"},{"line_number":285,"context_line":"`Timeout and Crash Recovery`_."},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"Device Discovery"},{"line_number":288,"context_line":"----------------"},{"line_number":289,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"d7705d50_8c5f0fa7","line":286,"range":{"start_line":250,"start_character":0,"end_line":286,"end_character":0},"in_reply_to":"5274a6f0_4a83c7c8","updated":"2026-11-11 10:41:07.000000000","message":"Good idea, I contains two much details, I have wrriten the topic with following text:\n```\n``NVMeDriver.init_host()`` validates that ``nvme-cli`` is installed. If it is\nmissing and ``nvme_driver`` is enabled, the hook raises an exception and\nprevents the agent from starting.\n\nAt startup, NVMe relies on object indirection to read persisted device and\nallocation state, as defined by the Versioned Object Indirection Support\nspec [1]_. The RPC requirements and ``[upgrade_levels]`` configuration that\nmust be in place before enabling NVMe are described in `Upgrade impact`_.\n\nThe agent uses the persisted state to identify devices requiring recovery,\nas described in `Timeout and Crash Recovery`_.\n```\nIt now links back to the required upgrade section and indirection spec.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":290,"context_line":"The NVMe driver is enabled by adding ``nvme_driver`` to"},{"line_number":291,"context_line":"``[agent] enabled_drivers`` and configuring ``device_spec`` under the"},{"line_number":292,"context_line":"``[nvme]`` section in ``cyborg.conf``. The NVMe driver uses"},{"line_number":293,"context_line":"``device_spec`` as the configuration option name. The existing PCI"},{"line_number":294,"context_line":"driver currently uses ``passthrough_whitelist`` under ``[pci]`` and"},{"line_number":295,"context_line":"will move to ``device_spec`` in a future release."},{"line_number":296,"context_line":""},{"line_number":297,"context_line":"The ``device_spec`` supports all parameters available in the existing"},{"line_number":298,"context_line":"PCI driver including ``vendor_id``, ``product_id``, and ``address``"}],"source_content_type":"text/x-rst","patch_set":8,"id":"db8fd69d_932bc50d","line":295,"range":{"start_line":293,"start_character":50,"end_line":295,"end_character":49},"updated":"2026-11-06 18:45:11.000000000","message":"that is ture but as above this is not in scope fo the nvme spec really so it woudl be better to remove it.\n\ndetail when requried is good, but too much context about change unrealted to the spec makes it hard to disern your intent.\n\ni knwo that you are providing this contxt becasue we previosuly dicuss normalising on ``device_sepc`` as part of https://bugs.launchpad.net/openstack-cyborg/+bug/2167353\n\nbut a normal reader would not so i woudl jsut delete this sentance.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":false,"context_lines":[{"line_number":290,"context_line":"The NVMe driver is enabled by adding ``nvme_driver`` to"},{"line_number":291,"context_line":"``[agent] enabled_drivers`` and configuring ``device_spec`` under the"},{"line_number":292,"context_line":"``[nvme]`` section in ``cyborg.conf``. The NVMe driver uses"},{"line_number":293,"context_line":"``device_spec`` as the configuration option name. The existing PCI"},{"line_number":294,"context_line":"driver currently uses ``passthrough_whitelist`` under ``[pci]`` and"},{"line_number":295,"context_line":"will move to ``device_spec`` in a future release."},{"line_number":296,"context_line":""},{"line_number":297,"context_line":"The ``device_spec`` supports all parameters available in the existing"},{"line_number":298,"context_line":"PCI driver including ``vendor_id``, ``product_id``, and ``address``"}],"source_content_type":"text/x-rst","patch_set":8,"id":"8590d804_458606a3","line":295,"range":{"start_line":293,"start_character":50,"end_line":295,"end_character":49},"in_reply_to":"db8fd69d_932bc50d","updated":"2026-11-11 10:41:07.000000000","message":"Done","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":294,"context_line":"driver currently uses ``passthrough_whitelist`` under ``[pci]`` and"},{"line_number":295,"context_line":"will move to ``device_spec`` in a future release."},{"line_number":296,"context_line":""},{"line_number":297,"context_line":"The ``device_spec`` supports all parameters available in the existing"},{"line_number":298,"context_line":"PCI driver including ``vendor_id``, ``product_id``, and ``address``"},{"line_number":299,"context_line":"with glob and regex matching. Two optional cleanup policy keys are"},{"line_number":300,"context_line":"also accepted: ``clear_action`` and ``clear_strategy`` (see the"},{"line_number":301,"context_line":"Discovery and Cleanup Resolution section below for the full policy"},{"line_number":302,"context_line":"matrix). Discovery reads ``/sys/bus/pci/devices/`` and filters"},{"line_number":303,"context_line":"devices based on ``device_spec``::"},{"line_number":304,"context_line":""},{"line_number":305,"context_line":"    [nvme]"},{"line_number":306,"context_line":"    device_spec \u003d {\"vendor_id\": \"8086\", \"product_id\": \"0001\","}],"source_content_type":"text/x-rst","patch_set":8,"id":"81eeb752_8d53379f","line":303,"range":{"start_line":297,"start_character":0,"end_line":303,"end_character":34},"updated":"2026-11-06 18:45:11.000000000","message":"it would also be better to rewrite this to be frestanding\n\njust describ the feild you will supprot in the nvme drvier without refering to the pci driver.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":false,"context_lines":[{"line_number":294,"context_line":"driver currently uses ``passthrough_whitelist`` under ``[pci]`` and"},{"line_number":295,"context_line":"will move to ``device_spec`` in a future release."},{"line_number":296,"context_line":""},{"line_number":297,"context_line":"The ``device_spec`` supports all parameters available in the existing"},{"line_number":298,"context_line":"PCI driver including ``vendor_id``, ``product_id``, and ``address``"},{"line_number":299,"context_line":"with glob and regex matching. Two optional cleanup policy keys are"},{"line_number":300,"context_line":"also accepted: ``clear_action`` and ``clear_strategy`` (see the"},{"line_number":301,"context_line":"Discovery and Cleanup Resolution section below for the full policy"},{"line_number":302,"context_line":"matrix). Discovery reads ``/sys/bus/pci/devices/`` and filters"},{"line_number":303,"context_line":"devices based on ``device_spec``::"},{"line_number":304,"context_line":""},{"line_number":305,"context_line":"    [nvme]"},{"line_number":306,"context_line":"    device_spec \u003d {\"vendor_id\": \"8086\", \"product_id\": \"0001\","}],"source_content_type":"text/x-rst","patch_set":8,"id":"9b7d43dc_6777c309","line":303,"range":{"start_line":297,"start_character":0,"end_line":303,"end_character":34},"in_reply_to":"81eeb752_8d53379f","updated":"2026-11-11 10:41:07.000000000","message":"Acknowledged","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":426,"context_line":"driver\u0027s ``discover()`` method sets ``type\u003dNVME`` on each"},{"line_number":427,"context_line":"``DriverDevice`` object. Adding ``NVME`` to the type field does not"},{"line_number":428,"context_line":"require an API microversion because the ``type`` field is"},{"line_number":429,"context_line":"``wtypes.text`` (free-form string) at the API layer."},{"line_number":430,"context_line":""},{"line_number":431,"context_line":"Placement Integration"},{"line_number":432,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3c9c8cc1_e1f0351b","line":429,"updated":"2026-11-06 18:45:11.000000000","message":"i think we already meged that chagne last cycle correct?\n\nyou can remove any section that are already complete","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":false,"context_lines":[{"line_number":426,"context_line":"driver\u0027s ``discover()`` method sets ``type\u003dNVME`` on each"},{"line_number":427,"context_line":"``DriverDevice`` object. Adding ``NVME`` to the type field does not"},{"line_number":428,"context_line":"require an API microversion because the ``type`` field is"},{"line_number":429,"context_line":"``wtypes.text`` (free-form string) at the API layer."},{"line_number":430,"context_line":""},{"line_number":431,"context_line":"Placement Integration"},{"line_number":432,"context_line":"---------------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"f1ada071_9729b099","line":429,"in_reply_to":"3c9c8cc1_e1f0351b","updated":"2026-11-11 10:41:07.000000000","message":"Done","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":531,"context_line":"#. Move the device to ``available`` on success, or ``error`` on"},{"line_number":532,"context_line":"   failure"},{"line_number":533,"context_line":""},{"line_number":534,"context_line":"After cleanup, the controller is available with no specific namespace"},{"line_number":535,"context_line":"layout guaranteed. The next tenant decides how to configure it."},{"line_number":536,"context_line":""},{"line_number":537,"context_line":"Device State Machine"},{"line_number":538,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"e3640e0c_215284dc","line":535,"range":{"start_line":534,"start_character":0,"end_line":535,"end_character":63},"updated":"2026-11-06 18:45:11.000000000","message":"no we said that the device need to be resotred to 1 namespace after cleaning regardless of the cleaning method used.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":false,"context_lines":[{"line_number":531,"context_line":"#. Move the device to ``available`` on success, or ``error`` on"},{"line_number":532,"context_line":"   failure"},{"line_number":533,"context_line":""},{"line_number":534,"context_line":"After cleanup, the controller is available with no specific namespace"},{"line_number":535,"context_line":"layout guaranteed. The next tenant decides how to configure it."},{"line_number":536,"context_line":""},{"line_number":537,"context_line":"Device State Machine"},{"line_number":538,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":8,"id":"e0662f7d_9bd0b1b9","line":535,"range":{"start_line":534,"start_character":0,"end_line":535,"end_character":63},"in_reply_to":"e3640e0c_215284dc","updated":"2026-11-11 10:41:07.000000000","message":"I thought after cleanup, we donot want to add namespace.\n\nLet me fix that. thanks.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"9f9f7299d93d139cc8f4887f3199585ab3ce2b8b","unresolved":true,"context_lines":[{"line_number":561,"context_line":"        ├── cleanup succeeds ──\u003e available (reserved\u003d0)"},{"line_number":562,"context_line":"        └── cleanup fails    ──\u003e error (reserved\u003d1)"},{"line_number":563,"context_line":"                                              │ POST /clean"},{"line_number":564,"context_line":"                                              └──\u003e pending_cleaning"},{"line_number":565,"context_line":""},{"line_number":566,"context_line":"Placement ``reserved`` is set to the number of in-use attachment handles. An"},{"line_number":567,"context_line":"attachment handle is in use when it has been assigned to a bound accelerator"}],"source_content_type":"text/x-rst","patch_set":8,"id":"801b9e90_2a504d23","line":564,"updated":"2026-11-06 13:38:04.000000000","message":"nit: this would be a bit clearer if the arrow would loop back to the pending_cleaning state in line 557 (this is not worth it a respin on its own, it\u0027s clear enough as is)","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":false,"context_lines":[{"line_number":561,"context_line":"        ├── cleanup succeeds ──\u003e available (reserved\u003d0)"},{"line_number":562,"context_line":"        └── cleanup fails    ──\u003e error (reserved\u003d1)"},{"line_number":563,"context_line":"                                              │ POST /clean"},{"line_number":564,"context_line":"                                              └──\u003e pending_cleaning"},{"line_number":565,"context_line":""},{"line_number":566,"context_line":"Placement ``reserved`` is set to the number of in-use attachment handles. An"},{"line_number":567,"context_line":"attachment handle is in use when it has been assigned to a bound accelerator"}],"source_content_type":"text/x-rst","patch_set":8,"id":"188ee26a_f9605253","line":564,"in_reply_to":"801b9e90_2a504d23","updated":"2026-11-11 10:41:07.000000000","message":"Done","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":562,"context_line":"        └── cleanup fails    ──\u003e error (reserved\u003d1)"},{"line_number":563,"context_line":"                                              │ POST /clean"},{"line_number":564,"context_line":"                                              └──\u003e pending_cleaning"},{"line_number":565,"context_line":""},{"line_number":566,"context_line":"Placement ``reserved`` is set to the number of in-use attachment handles. An"},{"line_number":567,"context_line":"attachment handle is in use when it has been assigned to a bound accelerator"},{"line_number":568,"context_line":"request (ARQ), and therefore to an instance; a free or released handle is not"},{"line_number":569,"context_line":"counted. Cyborg determines this from the persisted ``AttachHandle.in_use``"}],"source_content_type":"text/x-rst","patch_set":8,"id":"3b44393c_759cac26","line":566,"range":{"start_line":565,"start_character":0,"end_line":566,"end_character":73},"updated":"2026-11-06 18:45:11.000000000","message":"yes this is the more correct general behvior where the valud coudl be more then 1","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":false,"context_lines":[{"line_number":562,"context_line":"        └── cleanup fails    ──\u003e error (reserved\u003d1)"},{"line_number":563,"context_line":"                                              │ POST /clean"},{"line_number":564,"context_line":"                                              └──\u003e pending_cleaning"},{"line_number":565,"context_line":""},{"line_number":566,"context_line":"Placement ``reserved`` is set to the number of in-use attachment handles. An"},{"line_number":567,"context_line":"attachment handle is in use when it has been assigned to a bound accelerator"},{"line_number":568,"context_line":"request (ARQ), and therefore to an instance; a free or released handle is not"},{"line_number":569,"context_line":"counted. Cyborg determines this from the persisted ``AttachHandle.in_use``"}],"source_content_type":"text/x-rst","patch_set":8,"id":"d420630c_a66f09aa","line":566,"range":{"start_line":565,"start_character":0,"end_line":566,"end_character":73},"in_reply_to":"3b44393c_759cac26","updated":"2026-11-11 10:41:07.000000000","message":"Acknowledged","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":569,"context_line":"counted. Cyborg determines this from the persisted ``AttachHandle.in_use``"},{"line_number":570,"context_line":"value (``cyborg/objects/attach_handle.py``) together with any remaining"},{"line_number":571,"context_line":"``ExtARQ`` ownership reference (``cyborg/objects/ext_arq.py``). This avoids"},{"line_number":572,"context_line":"treating a handle as free while an ARQ still owns it."},{"line_number":573,"context_line":""},{"line_number":574,"context_line":"The initial NVMe driver exposes one attachment handle per controller, so the"},{"line_number":575,"context_line":"count changes from zero to one on bind. During unbind, Cyborg keeps the"}],"source_content_type":"text/x-rst","patch_set":8,"id":"ff759a8a_c1b737e8","line":572,"updated":"2026-11-06 18:45:11.000000000","message":"yes this is also more implemtion detial then i sneed in this spec.\n\nyou could technialy remove everthhing after the first sentance in this paragraph","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":false,"context_lines":[{"line_number":569,"context_line":"counted. Cyborg determines this from the persisted ``AttachHandle.in_use``"},{"line_number":570,"context_line":"value (``cyborg/objects/attach_handle.py``) together with any remaining"},{"line_number":571,"context_line":"``ExtARQ`` ownership reference (``cyborg/objects/ext_arq.py``). This avoids"},{"line_number":572,"context_line":"treating a handle as free while an ARQ still owns it."},{"line_number":573,"context_line":""},{"line_number":574,"context_line":"The initial NVMe driver exposes one attachment handle per controller, so the"},{"line_number":575,"context_line":"count changes from zero to one on bind. During unbind, Cyborg keeps the"}],"source_content_type":"text/x-rst","patch_set":8,"id":"0ca84a3a_23b066ca","line":572,"in_reply_to":"ff759a8a_c1b737e8","updated":"2026-11-11 10:41:07.000000000","message":"Done","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"9f9f7299d93d139cc8f4887f3199585ab3ce2b8b","unresolved":true,"context_lines":[{"line_number":584,"context_line":"sets ``device_state`` to ``available`` directly without dispatching"},{"line_number":585,"context_line":"an RPC. For NVMe devices, the conductor persists ``pending_cleaning`` and"},{"line_number":586,"context_line":"dispatches cleanup to the agent. The device remains in ``pending_cleaning``"},{"line_number":587,"context_line":"while work is queued. When a worker acquires the per-device lock, the agent"},{"line_number":588,"context_line":"requests ``cleaning`` through a synchronous remotable object call. The"},{"line_number":589,"context_line":"conductor validates the current state and allocation ownership, records"},{"line_number":590,"context_line":"``cleaning``, and retains ``reserved\u003d1``. The worker starts cleanup only after"}],"source_content_type":"text/x-rst","patch_set":8,"id":"9fe8a941_38b9b39d","line":587,"updated":"2026-11-06 13:38:04.000000000","message":"I\u0027ve not been able to find another reference to this lock elsewhere in the spec, could you elaborate further how will it be used?","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"a0133dfab1fda967cab83704581d706c850d27cd","unresolved":false,"context_lines":[{"line_number":584,"context_line":"sets ``device_state`` to ``available`` directly without dispatching"},{"line_number":585,"context_line":"an RPC. For NVMe devices, the conductor persists ``pending_cleaning`` and"},{"line_number":586,"context_line":"dispatches cleanup to the agent. The device remains in ``pending_cleaning``"},{"line_number":587,"context_line":"while work is queued. When a worker acquires the per-device lock, the agent"},{"line_number":588,"context_line":"requests ``cleaning`` through a synchronous remotable object call. The"},{"line_number":589,"context_line":"conductor validates the current state and allocation ownership, records"},{"line_number":590,"context_line":"``cleaning``, and retains ``reserved\u003d1``. The worker starts cleanup only after"}],"source_content_type":"text/x-rst","patch_set":8,"id":"f33b35bc_17d6d680","line":587,"in_reply_to":"6ed21411_a3337e82","updated":"2026-11-12 17:51:14.000000000","message":"Acknowledged","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":584,"context_line":"sets ``device_state`` to ``available`` directly without dispatching"},{"line_number":585,"context_line":"an RPC. For NVMe devices, the conductor persists ``pending_cleaning`` and"},{"line_number":586,"context_line":"dispatches cleanup to the agent. The device remains in ``pending_cleaning``"},{"line_number":587,"context_line":"while work is queued. When a worker acquires the per-device lock, the agent"},{"line_number":588,"context_line":"requests ``cleaning`` through a synchronous remotable object call. The"},{"line_number":589,"context_line":"conductor validates the current state and allocation ownership, records"},{"line_number":590,"context_line":"``cleaning``, and retains ``reserved\u003d1``. The worker starts cleanup only after"}],"source_content_type":"text/x-rst","patch_set":8,"id":"6ed21411_a3337e82","line":587,"in_reply_to":"9fe8a941_38b9b39d","updated":"2026-11-06 18:45:11.000000000","message":"this is again an impletion detial but we need to serislas device state update so that only one operation is perfroemd on any device at a time.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":585,"context_line":"an RPC. For NVMe devices, the conductor persists ``pending_cleaning`` and"},{"line_number":586,"context_line":"dispatches cleanup to the agent. The device remains in ``pending_cleaning``"},{"line_number":587,"context_line":"while work is queued. When a worker acquires the per-device lock, the agent"},{"line_number":588,"context_line":"requests ``cleaning`` through a synchronous remotable object call. The"},{"line_number":589,"context_line":"conductor validates the current state and allocation ownership, records"},{"line_number":590,"context_line":"``cleaning``, and retains ``reserved\u003d1``. The worker starts cleanup only after"},{"line_number":591,"context_line":"the conductor confirms the transition. The device remains in ``cleaning``"}],"source_content_type":"text/x-rst","patch_set":8,"id":"846d4fb5_b917ec0d","line":588,"range":{"start_line":588,"start_character":0,"end_line":588,"end_character":65},"updated":"2026-11-06 18:45:11.000000000","message":"this is incorrect.\n\nleaning of the device is done by an rpc call from teh condutor to the agent and not via an remotabel object method.\n\nthe ov indirection api will just be used to mark the device as \"cleaned\" transitioning it form cleaning to aviable and updating the reseved value in placment.\n\nthe ovo indrection api allow the agent to call remote methods on object that will be proceed by the conductor.\n\nit does not allow the conductor or api to call method that will be executed by the comptue agent\n\nthose must be done via the agent rpc api.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"3345e30b2d29b3f437417067a066b5abd5c84b2c","unresolved":false,"context_lines":[{"line_number":585,"context_line":"an RPC. For NVMe devices, the conductor persists ``pending_cleaning`` and"},{"line_number":586,"context_line":"dispatches cleanup to the agent. The device remains in ``pending_cleaning``"},{"line_number":587,"context_line":"while work is queued. When a worker acquires the per-device lock, the agent"},{"line_number":588,"context_line":"requests ``cleaning`` through a synchronous remotable object call. The"},{"line_number":589,"context_line":"conductor validates the current state and allocation ownership, records"},{"line_number":590,"context_line":"``cleaning``, and retains ``reserved\u003d1``. The worker starts cleanup only after"},{"line_number":591,"context_line":"the conductor confirms the transition. The device remains in ``cleaning``"}],"source_content_type":"text/x-rst","patch_set":8,"id":"d55dcdc4_b5014004","line":588,"range":{"start_line":588,"start_character":0,"end_line":588,"end_character":65},"in_reply_to":"846d4fb5_b917ec0d","updated":"2026-11-25 14:51:52.000000000","message":"Done","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":596,"context_line":"On success, ``reserved`` is set back to ``0`` and the device returns"},{"line_number":597,"context_line":"to ``available``. On failure or timeout the device moves to ``error``"},{"line_number":598,"context_line":"with ``reserved\u003dtotal`` so it cannot be reallocated."},{"line_number":599,"context_line":""},{"line_number":600,"context_line":"An operator can re-trigger cleanup from ``error`` using"},{"line_number":601,"context_line":"``POST /v2/devices/{uuid}/clean``, which transitions the device back"},{"line_number":602,"context_line":"to ``pending_cleaning``."},{"line_number":603,"context_line":""},{"line_number":604,"context_line":"After a restart, the agent reads persisted device and allocation state for"},{"line_number":605,"context_line":"its host through remotable object methods. If an ``allocated`` device has"},{"line_number":606,"context_line":"no active ARQ, the agent requests recovery. The conductor checks the"},{"line_number":607,"context_line":"current state and ownership, blocks reuse, and records ``pending_cleaning``."},{"line_number":608,"context_line":"The agent resumes interrupted or missed cleanup. See"},{"line_number":609,"context_line":"`Timeout and Crash Recovery`_."},{"line_number":610,"context_line":""},{"line_number":611,"context_line":"Device Bind"},{"line_number":612,"context_line":"^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":8,"id":"b2b93382_c3da68eb","line":609,"range":{"start_line":599,"start_character":0,"end_line":609,"end_character":30},"updated":"2026-11-06 18:45:11.000000000","message":"this is also not reaaly correct.\n\nwhen we receive a api request to clean a device, the api shoudl lookup the device in teh db an verify the preconditions, then make an rpc to the compute agent with the device object and the agent will then move thegh the cleaing workflow.\n\n\nnow some impoant thing to conder are that this shoudl eb the saem bevhior as wehn the condutctor calls the agent to celan on unbind.\n\nthat means before the api calls the compuate agent it shoudl set the device to pednign_cleaning, then when teh compute agent resis the request if its a device it know about it shoudl move the device to cleaning then teh manager shodul ask the resocue tracekr for the drvier that manages the device and call its cleanpup fucntion passing the device object\n\nthe drvier will then usse the device info like the contplpat id and clenanin gmentod to invoke nvme cli to do the cleaning.\n\nif it succed it update the device state aviable via a remoteable object method\nwhic will have the condutre update teh row in the db and then recalute the placement reserved value.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":true,"context_lines":[{"line_number":596,"context_line":"On success, ``reserved`` is set back to ``0`` and the device returns"},{"line_number":597,"context_line":"to ``available``. On failure or timeout the device moves to ``error``"},{"line_number":598,"context_line":"with ``reserved\u003dtotal`` so it cannot be reallocated."},{"line_number":599,"context_line":""},{"line_number":600,"context_line":"An operator can re-trigger cleanup from ``error`` using"},{"line_number":601,"context_line":"``POST /v2/devices/{uuid}/clean``, which transitions the device back"},{"line_number":602,"context_line":"to ``pending_cleaning``."},{"line_number":603,"context_line":""},{"line_number":604,"context_line":"After a restart, the agent reads persisted device and allocation state for"},{"line_number":605,"context_line":"its host through remotable object methods. If an ``allocated`` device has"},{"line_number":606,"context_line":"no active ARQ, the agent requests recovery. The conductor checks the"},{"line_number":607,"context_line":"current state and ownership, blocks reuse, and records ``pending_cleaning``."},{"line_number":608,"context_line":"The agent resumes interrupted or missed cleanup. See"},{"line_number":609,"context_line":"`Timeout and Crash Recovery`_."},{"line_number":610,"context_line":""},{"line_number":611,"context_line":"Device Bind"},{"line_number":612,"context_line":"^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":8,"id":"d1811fb6_00e9bc19","line":609,"range":{"start_line":599,"start_character":0,"end_line":609,"end_character":30},"in_reply_to":"b2b93382_c3da68eb","updated":"2026-11-11 10:41:07.000000000","message":"Thank Sean for explaining the whole workflow. I got it wrong.\n\nI rewrote the whole Device State machine based on above flow.\nI have dropped the implementation from the spec.\n\nDo let me know if i missed anything.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"3345e30b2d29b3f437417067a066b5abd5c84b2c","unresolved":false,"context_lines":[{"line_number":596,"context_line":"On success, ``reserved`` is set back to ``0`` and the device returns"},{"line_number":597,"context_line":"to ``available``. On failure or timeout the device moves to ``error``"},{"line_number":598,"context_line":"with ``reserved\u003dtotal`` so it cannot be reallocated."},{"line_number":599,"context_line":""},{"line_number":600,"context_line":"An operator can re-trigger cleanup from ``error`` using"},{"line_number":601,"context_line":"``POST /v2/devices/{uuid}/clean``, which transitions the device back"},{"line_number":602,"context_line":"to ``pending_cleaning``."},{"line_number":603,"context_line":""},{"line_number":604,"context_line":"After a restart, the agent reads persisted device and allocation state for"},{"line_number":605,"context_line":"its host through remotable object methods. If an ``allocated`` device has"},{"line_number":606,"context_line":"no active ARQ, the agent requests recovery. The conductor checks the"},{"line_number":607,"context_line":"current state and ownership, blocks reuse, and records ``pending_cleaning``."},{"line_number":608,"context_line":"The agent resumes interrupted or missed cleanup. See"},{"line_number":609,"context_line":"`Timeout and Crash Recovery`_."},{"line_number":610,"context_line":""},{"line_number":611,"context_line":"Device Bind"},{"line_number":612,"context_line":"^^^^^^^^^^^"}],"source_content_type":"text/x-rst","patch_set":8,"id":"b3f69d26_45e0ef6c","line":609,"range":{"start_line":599,"start_character":0,"end_line":609,"end_character":30},"in_reply_to":"d1811fb6_00e9bc19","updated":"2026-11-25 14:51:52.000000000","message":"Acknowledged","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"c7c37cd3f07edc49d6066c2efc34c25f019bcfc9","unresolved":true,"context_lines":[{"line_number":607,"context_line":"current state and ownership, blocks reuse, and records ``pending_cleaning``."},{"line_number":608,"context_line":"The agent resumes interrupted or missed cleanup. See"},{"line_number":609,"context_line":"`Timeout and Crash Recovery`_."},{"line_number":610,"context_line":""},{"line_number":611,"context_line":"Device Bind"},{"line_number":612,"context_line":"^^^^^^^^^^^"},{"line_number":613,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"8cf69cd7_933c3d2e","line":610,"updated":"2026-11-06 18:45:11.000000000","message":"im gong to stop here for today.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"3345e30b2d29b3f437417067a066b5abd5c84b2c","unresolved":false,"context_lines":[{"line_number":607,"context_line":"current state and ownership, blocks reuse, and records ``pending_cleaning``."},{"line_number":608,"context_line":"The agent resumes interrupted or missed cleanup. See"},{"line_number":609,"context_line":"`Timeout and Crash Recovery`_."},{"line_number":610,"context_line":""},{"line_number":611,"context_line":"Device Bind"},{"line_number":612,"context_line":"^^^^^^^^^^^"},{"line_number":613,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"46e8d209_5506abe2","line":610,"in_reply_to":"8cf69cd7_933c3d2e","updated":"2026-11-25 14:51:52.000000000","message":"Acknowledged","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"2b35b549518c4a79d2ec102c3f8339b765269b5f","unresolved":false,"context_lines":[{"line_number":1001,"context_line":"Developer impact"},{"line_number":1002,"context_line":"----------------"},{"line_number":1003,"context_line":""},{"line_number":1004,"context_line":"The base ``Driver`` class gains two new methods with no-op default"},{"line_number":1005,"context_line":"implementations: ``cleanup(device)`` and ``init_host()``. Driver"},{"line_number":1006,"context_line":"authors implementing async cleanup for new device types should override"},{"line_number":1007,"context_line":"``cleanup()`` and use the same ``cleanup_device`` RPC path. No changes"}],"source_content_type":"text/x-rst","patch_set":8,"id":"f6e0095e_976d829e","line":1004,"updated":"2026-11-04 06:27:32.000000000","message":"The Proposed change section states the two new methods are added to the GenericDriver base class and the inheritance diagram hangs init_host()/cleanup(device) under GenericDriver; line 255 also refers to \u0027The GenericDriver base classes\u0027 (plural). Developer impact and the Phase 1 work item instead say the \u0027base Driver class\u0027 gains/adds them. Cyborg\u0027s driver module defines both Driver (abstract root) and GenericDriver(Driver), so the two wordings select different insertion points for the hooks and change which driver families inherit them.\n\n**Severity**: SUGGESTION | **Confidence**: 0.85\n\n**Impact**: An implementer wiring the driver-level init_host() hook must guess which class in cyborg\u0027s driver.py receives the no-op defaults; adding them to Driver versus GenericDriver changes which driver families inherit them, so the discrepancy has to be re-litigated during implementation review instead of being settled by the spec.\n\n**Recommendation**:\nPick one class consistently - GenericDriver, per the Proposed change section and the inheritance diagram - and update the Developer impact paragraph (line 1004) and the Phase 1 work item (line 1112); also fix the plural \u0027base classes\u0027 phrasing at line 255.","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"a8886ae54363219fb7dcf5f80f9e8fb3f15ab9aa","unresolved":false,"context_lines":[{"line_number":1001,"context_line":"Developer impact"},{"line_number":1002,"context_line":"----------------"},{"line_number":1003,"context_line":""},{"line_number":1004,"context_line":"The base ``Driver`` class gains two new methods with no-op default"},{"line_number":1005,"context_line":"implementations: ``cleanup(device)`` and ``init_host()``. Driver"},{"line_number":1006,"context_line":"authors implementing async cleanup for new device types should override"},{"line_number":1007,"context_line":"``cleanup()`` and use the same ``cleanup_device`` RPC path. No changes"}],"source_content_type":"text/x-rst","patch_set":8,"id":"c46bd2e6_3348f190","line":1004,"in_reply_to":"22c0a67b_66261335","updated":"2026-11-11 10:41:07.000000000","message":"Done","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"9f9f7299d93d139cc8f4887f3199585ab3ce2b8b","unresolved":true,"context_lines":[{"line_number":1001,"context_line":"Developer impact"},{"line_number":1002,"context_line":"----------------"},{"line_number":1003,"context_line":""},{"line_number":1004,"context_line":"The base ``Driver`` class gains two new methods with no-op default"},{"line_number":1005,"context_line":"implementations: ``cleanup(device)`` and ``init_host()``. Driver"},{"line_number":1006,"context_line":"authors implementing async cleanup for new device types should override"},{"line_number":1007,"context_line":"``cleanup()`` and use the same ``cleanup_device`` RPC path. No changes"}],"source_content_type":"text/x-rst","patch_set":8,"id":"22c0a67b_66261335","line":1004,"in_reply_to":"f6e0095e_976d829e","updated":"2026-11-06 13:38:04.000000000","message":"this is valid yet a nit","commit_id":"cf1e6a45260adad281f9e0c4aaef4974239e89b7"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"1eb345914ca635c0a67aeff7fdf3ef31f5247464","unresolved":true,"context_lines":[{"line_number":580,"context_line":"object method: ``available`` on success, or ``error`` on failure or timeout."},{"line_number":581,"context_line":"The conductor validates the transition against the persisted state and"},{"line_number":582,"context_line":"allocation ownership, writes the row, and recalculates the Placement"},{"line_number":583,"context_line":"reservation. On success ``reserved`` returns to the in-use attachment-handle"},{"line_number":584,"context_line":"count, which is zero for a released NVMe controller. On failure it is set to"},{"line_number":585,"context_line":"the full inventory so the device cannot be reallocated."},{"line_number":586,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"ab05ef7e_d0846cf7","line":583,"updated":"2026-11-13 11:24:34.000000000","message":"should we add here a check for the device status as well, in case the operator has disabled the device while it was being cleaned?","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"6fcca7559798b6e8e4ad4d74dd799265639430a1","unresolved":true,"context_lines":[{"line_number":580,"context_line":"object method: ``available`` on success, or ``error`` on failure or timeout."},{"line_number":581,"context_line":"The conductor validates the transition against the persisted state and"},{"line_number":582,"context_line":"allocation ownership, writes the row, and recalculates the Placement"},{"line_number":583,"context_line":"reservation. On success ``reserved`` returns to the in-use attachment-handle"},{"line_number":584,"context_line":"count, which is zero for a released NVMe controller. On failure it is set to"},{"line_number":585,"context_line":"the full inventory so the device cannot be reallocated."},{"line_number":586,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"f2b5f7aa_e33de16e","line":583,"in_reply_to":"57e226e1_1d4f3428","updated":"2026-11-26 08:05:51.000000000","message":"Thanks Joan and Sean for the comment, I agree with the above semantics,\n\nFor the value of reserved \u003d sum of all disabeld devices and devices pendig/underoing cleaning.\n\nIn current spec, we set the value of reserve to 1 once nvme device attached to vm.\n\nI am confused about the value of reserved when the device is enabled and attached to the vm. Is it going to be 1 also?","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"be9d9d2cbbe8ef2757564c17529702b15ff56d69","unresolved":true,"context_lines":[{"line_number":580,"context_line":"object method: ``available`` on success, or ``error`` on failure or timeout."},{"line_number":581,"context_line":"The conductor validates the transition against the persisted state and"},{"line_number":582,"context_line":"allocation ownership, writes the row, and recalculates the Placement"},{"line_number":583,"context_line":"reservation. On success ``reserved`` returns to the in-use attachment-handle"},{"line_number":584,"context_line":"count, which is zero for a released NVMe controller. On failure it is set to"},{"line_number":585,"context_line":"the full inventory so the device cannot be reallocated."},{"line_number":586,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"9d46dc12_511af28a","line":583,"in_reply_to":"88926b10_8bf2df29","updated":"2026-11-26 17:37:20.000000000","message":"reserved is an ammount subttracted form the total that is not to be made avialable to allocatoins\n\n\nso we shoudl in thory shoudl not change reserved to 1 until we set the device as pending clenaing\n\nthe placemnt allcaotion already tacks its usage.\n\nthe order should be mark the attachment_handel as pending clenaing when we are unbinding and caluate the reserved ammount for the inventory.\n\nif the device is disabled the reserved shoudl be equal to total\nif the device is enabeld then the reserved value is calulated\nby counting the number of attachmeth handels for the relevent deployable/RP were the new state field on the attachment handel is in pending cleaning, cleaning or error\n\nnow for the nvme driver today that value will alwasy be one\n\nbut in the general case  if we have an invetory of total \u003e then 1 we coudl have muliple attachment handels pending cleaning.\n\nthat why i phsed it as reserved in the inventoy shoudl be the sum of the device pendign cleaning, cleaning or disabled\n\nthe bit we jus trealised is this need to be based on attachment handels not devices.\n\nif we for example supprot allocating nvme namespaces isntead fo whole devices in the futre we will have 1 resouce provdier with say and inventory of 4 namesapces\nthat mapps to 1 cybrog device etnry with 1 deployable adn 4 attachment handels\noen for each namespace\n\nin that case the posible reserved value ranges between 0 adn 4 and cant simply assume 1.","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"3345e30b2d29b3f437417067a066b5abd5c84b2c","unresolved":true,"context_lines":[{"line_number":580,"context_line":"object method: ``available`` on success, or ``error`` on failure or timeout."},{"line_number":581,"context_line":"The conductor validates the transition against the persisted state and"},{"line_number":582,"context_line":"allocation ownership, writes the row, and recalculates the Placement"},{"line_number":583,"context_line":"reservation. On success ``reserved`` returns to the in-use attachment-handle"},{"line_number":584,"context_line":"count, which is zero for a released NVMe controller. On failure it is set to"},{"line_number":585,"context_line":"the full inventory so the device cannot be reallocated."},{"line_number":586,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"57e226e1_1d4f3428","line":583,"in_reply_to":"ab05ef7e_d0846cf7","updated":"2026-11-25 14:51:52.000000000","message":"yes\n\nthe semantics need to be as follows in the gerneral case\n1 total need to be the total number of deployables\n2 reservd need to be the sum of all disabeld devices and devices pendig/underoing cleaning \n\non release or enablment of a device we need to update reserved to the reflect the current state (disabeld+cleaning devices)\n\nthat shoudl be the logic for all drivers and this shoudl be implmented in teh resouce tracker ideally although for now that logic will likely have to live in the conductor, not in the driver itself.\n\n\nfor the nvme driver specificficlly it a simpler case as it will be reproting inventoes of 1 device at least in this cycle but your correct we cannot forget about disabeld devices since that is refected in placmente via reserved as well.","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"afb4c2ecde766fd233e19eeac9eaaccb7eb81716","unresolved":true,"context_lines":[{"line_number":580,"context_line":"object method: ``available`` on success, or ``error`` on failure or timeout."},{"line_number":581,"context_line":"The conductor validates the transition against the persisted state and"},{"line_number":582,"context_line":"allocation ownership, writes the row, and recalculates the Placement"},{"line_number":583,"context_line":"reservation. On success ``reserved`` returns to the in-use attachment-handle"},{"line_number":584,"context_line":"count, which is zero for a released NVMe controller. On failure it is set to"},{"line_number":585,"context_line":"the full inventory so the device cannot be reallocated."},{"line_number":586,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"88926b10_8bf2df29","line":583,"in_reply_to":"bad73da1_8a35fbdb","updated":"2026-11-26 11:49:43.000000000","message":"If I understand placement inventories correctly, total\u003dthe amount of a resource a resource provider can serve while reserved\u003dthe amount of a resource the rp will keep for itself (i.e. will not allow to be allocated). For the NVMe case the table looks correct, reserve should only be 0 when the device is enabled and available, which is why when cleaning and enabling we need to check both the device state and status to ensure the value of reserved is correct in all instances","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":12393,"name":"chandan kumar","display_name":"Chandan Kumar","email":"chkumar@redhat.com","username":"chkumar246"},"change_message_id":"096d7c9a3b921af838a413354935c6cf5efdf9ef","unresolved":true,"context_lines":[{"line_number":580,"context_line":"object method: ``available`` on success, or ``error`` on failure or timeout."},{"line_number":581,"context_line":"The conductor validates the transition against the persisted state and"},{"line_number":582,"context_line":"allocation ownership, writes the row, and recalculates the Placement"},{"line_number":583,"context_line":"reservation. On success ``reserved`` returns to the in-use attachment-handle"},{"line_number":584,"context_line":"count, which is zero for a released NVMe controller. On failure it is set to"},{"line_number":585,"context_line":"the full inventory so the device cannot be reallocated."},{"line_number":586,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"bad73da1_8a35fbdb","line":583,"in_reply_to":"f2b5f7aa_e33de16e","updated":"2026-11-26 08:31:55.000000000","message":"Below would be the final device status based on device is enabled or maintaining\n```\n| Lifecycle state | Enabled (status\u003denabled) | Disabled (status\u003dmaintaining) |\n|---|---:|---:|\n| available — clean and unused | reserved\u003d0 | reserved\u003d1 |\n| allocated — attached to a VM | reserved\u003d1 | reserved\u003d1 |\n| pending_cleaning — waiting for cleanup | reserved\u003d1 | reserved\u003d1 |\n| cleaning — cleanup running | reserved\u003d1 | reserved\u003d1 |\n| error — cleanup failed or timed out | reserved\u003d1 | reserved\u003d1 |\n```","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"1eb345914ca635c0a67aeff7fdf3ef31f5247464","unresolved":true,"context_lines":[{"line_number":619,"context_line":""},{"line_number":620,"context_line":"When the Cyborg conductor binds a device to an instance, the bind path in"},{"line_number":621,"context_line":"``ExtARQ.bind()`` (``cyborg/objects/ext_arq.py``) first checks that"},{"line_number":622,"context_line":"``device_state`` is ``available``. A device in any other state is rejected."},{"line_number":623,"context_line":"This state check is part of the shared bind path and applies to every device"},{"line_number":624,"context_line":"type."},{"line_number":625,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"8cb36b3e_b5013dc6","line":622,"updated":"2026-11-13 11:24:34.000000000","message":"This check is fine for devices like nvme drives or pci passthrough, but will be problematic for devices that can handle multiple allocations like vgpus, in those cases we should allow new bind requests for devices that are already in allocated state, since the Attach Handle allocation should already keep track of the amount of instances that could use the device","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"3345e30b2d29b3f437417067a066b5abd5c84b2c","unresolved":true,"context_lines":[{"line_number":619,"context_line":""},{"line_number":620,"context_line":"When the Cyborg conductor binds a device to an instance, the bind path in"},{"line_number":621,"context_line":"``ExtARQ.bind()`` (``cyborg/objects/ext_arq.py``) first checks that"},{"line_number":622,"context_line":"``device_state`` is ``available``. A device in any other state is rejected."},{"line_number":623,"context_line":"This state check is part of the shared bind path and applies to every device"},{"line_number":624,"context_line":"type."},{"line_number":625,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"c2f8b017_aba14c4b","line":622,"in_reply_to":"8cb36b3e_b5013dc6","updated":"2026-11-25 14:51:52.000000000","message":"so here we need to audit our modeling\n\nthe way we treat devices and deployables are inconsistent\na deployable today is mapped to a placement resource provider\n\nthere is a 1:1","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"be9d9d2cbbe8ef2757564c17529702b15ff56d69","unresolved":true,"context_lines":[{"line_number":619,"context_line":""},{"line_number":620,"context_line":"When the Cyborg conductor binds a device to an instance, the bind path in"},{"line_number":621,"context_line":"``ExtARQ.bind()`` (``cyborg/objects/ext_arq.py``) first checks that"},{"line_number":622,"context_line":"``device_state`` is ``available``. A device in any other state is rejected."},{"line_number":623,"context_line":"This state check is part of the shared bind path and applies to every device"},{"line_number":624,"context_line":"type."},{"line_number":625,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"64f48ff9_5c21d8ce","line":622,"in_reply_to":"a1c79cff_c70455c5","updated":"2026-11-26 17:37:20.000000000","message":"yes we chatted about this eperatlly and looking at the db module an ARQ _is_ buond to both a deployable and attachment hadle\n\nthis is reducndant because the is a 1:many relationship betwheen deployables adn an attch hanele. so the attachment handel uniqulcy idetifes the deployable.\n\n\nthis triggers a reaslsitoin that we actully need to track the state fo the attachment handel not the device for cleaning\n\n\nso we need to update the spec to reflect that he new database emum we added to device state should actully be on attachment_handel instead\n\nthere if cna just be called sate with the same values.\n\nwe may desiced to add disabled to that later\n\nwe will also need to revisit how disabling devices works in teh futre as that is inconcistena and likely broken today.","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"afb4c2ecde766fd233e19eeac9eaaccb7eb81716","unresolved":true,"context_lines":[{"line_number":619,"context_line":""},{"line_number":620,"context_line":"When the Cyborg conductor binds a device to an instance, the bind path in"},{"line_number":621,"context_line":"``ExtARQ.bind()`` (``cyborg/objects/ext_arq.py``) first checks that"},{"line_number":622,"context_line":"``device_state`` is ``available``. A device in any other state is rejected."},{"line_number":623,"context_line":"This state check is part of the shared bind path and applies to every device"},{"line_number":624,"context_line":"type."},{"line_number":625,"context_line":""}],"source_content_type":"text/x-rst","patch_set":9,"id":"a1c79cff_c70455c5","line":622,"in_reply_to":"c2f8b017_aba14c4b","updated":"2026-11-26 11:49:43.000000000","message":"+1 that the modelling is not great. the new text looks correct however, the number of free attachment handles is what should gate whether new binds are possible","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"1eb345914ca635c0a67aeff7fdf3ef31f5247464","unresolved":true,"context_lines":[{"line_number":721,"context_line":""},{"line_number":722,"context_line":"**Relationship between device_state and status**"},{"line_number":723,"context_line":""},{"line_number":724,"context_line":"``device_state`` and ``status`` are orthogonal. A device with"},{"line_number":725,"context_line":"``status\u003dmaintaining`` can be in any ``device_state`` —"},{"line_number":726,"context_line":"``maintaining`` prevents new scheduling, ``device_state`` tracks"},{"line_number":727,"context_line":"lifecycle."}],"source_content_type":"text/x-rst","patch_set":9,"id":"f559b5ee_d72fc0b7","line":724,"updated":"2026-11-13 11:24:34.000000000","message":"this is true, but there might be interactions between them, we should add a check for the device state in the enable api call https://github.com/openstack/cyborg/blob/79498b1edbf25605c8162d18f8862808ce51523b/cyborg/api/controllers/v2/devices.py#L204 to prevent it from setting \u0027reserved\u003d0\u0027 on a device that needs cleanup","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":34452,"name":"Joan Gilabert","display_name":"jgilaber","email":"jgilaber@redhat.com","username":"jgilaber"},"change_message_id":"afb4c2ecde766fd233e19eeac9eaaccb7eb81716","unresolved":false,"context_lines":[{"line_number":721,"context_line":""},{"line_number":722,"context_line":"**Relationship between device_state and status**"},{"line_number":723,"context_line":""},{"line_number":724,"context_line":"``device_state`` and ``status`` are orthogonal. A device with"},{"line_number":725,"context_line":"``status\u003dmaintaining`` can be in any ``device_state`` —"},{"line_number":726,"context_line":"``maintaining`` prevents new scheduling, ``device_state`` tracks"},{"line_number":727,"context_line":"lifecycle."}],"source_content_type":"text/x-rst","patch_set":9,"id":"ccf65e70_8c2ba112","line":724,"in_reply_to":"f559b5ee_d72fc0b7","updated":"2026-11-26 11:49:43.000000000","message":"Done","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"23d050a212f67c9b80a27ff9afbde491f7f39b69","unresolved":false,"context_lines":[{"line_number":1115,"context_line":"with traits ``CES``, ``BES`` and ``WZS`` has merged and"},{"line_number":1116,"context_line":"shipped in os-traits ``3.9.0``."},{"line_number":1117,"context_line":""},{"line_number":1118,"context_line":"``os-traits\u003e\u003d3.9.0`` and ``futurist`` needs to be added to requirements.txt"},{"line_number":1119,"context_line":"as new Python dependency."},{"line_number":1120,"context_line":""},{"line_number":1121,"context_line":"NVMe depends on the Versioned Object Indirection Support spec [1]_."}],"source_content_type":"text/x-rst","patch_set":9,"id":"5f061040_40e78ea8","line":1118,"updated":"2026-11-11 10:57:18.000000000","message":"The Dependencies section reads \u0027os-traits\u003e\u003d3.9.0 and futurist needs to be added to requirements.txt as new Python dependency.\u0027 The compound subject (\u0027os-traits\u003e\u003d3.9.0 and futurist\u0027) requires the plural verb \u0027need\u0027, and the two packages require the plural noun \u0027dependencies\u0027. The error sits in the permanent spec prose that this documentation-only repository publishes as its deliverable.\n\n**Severity**: SUGGESTION | **Confidence**: 0.92\n\n**Impact**: A grammar defect in an approved design document that implementers will read while wiring requirements.txt; it lowers the polish of permanent spec history without changing meaning.\n\n**Recommendation**:\nChange the sentence to \u0027``os-traits\u003e\u003d3.9.0`` and ``futurist`` need to be added to requirements.txt as new Python dependencies.\u0027","commit_id":"cf300bd177594f774e548ac8d253a5659ffbbc35"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"dbe312c833ad71c48a9b5a3970251522da1bfb3d","unresolved":false,"context_lines":[{"line_number":421,"context_line":"driver incorrectly encodes vendor and product identity as traits;"},{"line_number":422,"context_line":"instead the NVMe driver follows Nova\u0027s PCI placement translator by"},{"line_number":423,"context_line":"encoding them in the resource class. Traits are reserved for NVMe"},{"line_number":424,"context_line":"capabilities as described in the NVMe Device Capabilities section"},{"line_number":425,"context_line":"above."},{"line_number":426,"context_line":""},{"line_number":427,"context_line":"The NVMe driver\u0027s ``discover()`` method builds ``DriverDevice`` objects"}],"source_content_type":"text/x-rst","patch_set":10,"id":"2399945d_77f848cd","line":424,"updated":"2026-11-25 14:56:33.000000000","message":"The Placement Integration section points readers to \u0027the NVMe Device Capabilities section above\u0027, but the document has no section by that name. NVMe hardware capabilities are described under the section titled \u0027Discovery and Cleanup Resolution\u0027 (line 309), which is where the sanicap/ONCS bits and the CES/BES/WZS traits are defined. A reviewer or implementer following the reference in the spec\u0027s plain-text review form cannot resolve it and must search for the intended target.\n\n**Severity**: SUGGESTION | **Confidence**: 0.9\n\n**Impact**: Low: readers of the spec (the review tool renders plain text) hit a reference to a section that does not exist and must guess that \u0027Discovery and Cleanup Resolution\u0027 is meant, slowing review and later implementation work.\n\n**Recommendation**:\nRewrite the sentence to reference the existing section, e.g. \u0027Traits are reserved for NVMe capabilities as described in `Discovery and Cleanup Resolution`_\u0027, matching the explicit-reference style used elsewhere in the document.","commit_id":"eaae438f92a888a98c8479bf982f5c282ffbf876"},{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"1e1e4fd88ee2063bff2f7d44973c6e7a10961621","unresolved":false,"context_lines":[{"line_number":821,"context_line":"microversion and later, device responses include a read-only"},{"line_number":822,"context_line":"``device_state`` field."},{"line_number":823,"context_line":""},{"line_number":824,"context_line":"The field is derived, not stored. Attachment attachment handles are not"},{"line_number":825,"context_line":"exposed by the devices API, so it summarises the ``device_state`` of the"},{"line_number":826,"context_line":"device\u0027s attachment handles, using the most blocking state present:"},{"line_number":827,"context_line":"``error`` if any attachment handle is in ``error``, else ``cleaning``, else"}],"source_content_type":"text/x-rst","patch_set":13,"id":"709e372e_02d281e4","line":824,"updated":"2026-11-30 13:11:08.000000000","message":"Line 824 of the spec reads \u0027Attachment attachment handles are not exposed by the devices API, so it summarises the ``device_state`` of the device\u0027s attachment handles\u0027. The word \u0027Attachment\u0027 is duplicated; the sentence should begin \u0027Attachment handles are not exposed by the devices API\u0027. This sentence is the definition of how the devices API derives the new ``device_state`` summary field, so the typo sits in load-bearing text of the new API contract.\n\n**Severity**: SUGGESTION | **Confidence**: 0.95\n\n**Impact**: The duplication reads as a typo and slightly degrades the clarity of the paragraph that specifies the derived device_state semantics for the new microversion; it would persist in the permanent spec record and the published HTML.\n\n**Recommendation**:\nDelete the duplicated word so the sentence reads \u0027Attachment handles are not exposed by the devices API, so it summarises the ``device_state`` of the device\u0027s attachment handles\u0027.","commit_id":"d7434e5c87753789b07632ae43a50edff1fd6aef"}]}
