Repository navigation
Description
Problem
The minimized real-OpenVASD runtime now starts successfully, but gvmd cannot import its generated VT metadata.
Exact-tree evidence: https://github.com/greenbone/rust-gvm-api/actions/runs/43362532402
The gateway is ready and both NVT and GVMD_DATA report syncing=false. gvmd nevertheless remains at zero VTs and retries the same failed import every ten seconds:
openvasd service has different VT status ... from database (version (null), 0 VTs). Starting update ...
add_tags_to_nvt: SEVERITY missing value element
parse_vt_json: Error adding tags
update_nvts_from_openvasd_vts: Parser error: (null)
Because the discovery NVTs never enter gvmd, GET /api/v1/scan-configs remains empty and the real-OpenVASD readiness step times out after 1,200 seconds. The failed PR head and merged main commit have the identical Git tree (a9c376c75b8f6597c65c6b7a8bbfb184d6bbba67), so a plain main rerun cannot resolve this.
Scope
- identify the exact generated
vt-metadata.jsonentry whoseSEVERITYtag is missing a gvmd-compatible value; - make the minimized feed produce metadata that the pinned gvmd accepts without inventing or copying unrelated full-feed OIDs;
- validate the generated metadata before runtime startup so malformed/missing tag values fail with a direct diagnostic instead of a 20-minute readiness timeout; and
- preserve the exact minimized-NASL, immutable-input, scanner/target identity, and advisory-lane contracts.
If the pinned scanner's metadata generator cannot produce a valid representation from a valid minimized NASL fixture, stop the downstream workaround and report the incompatibility against the owning scanner component.
Acceptance criteria
- Generated minimized VT metadata passes a checked-in fail-fast compatibility validator.
- gvmd imports the minimized feed without
SEVERITY missing value elementor VT parser errors. - gvmd observes a non-zero VT inventory and exposes the discovery scan config required by the E2E harness.
- Tests document the malformed-metadata regression and the intended compatibility contract.
-
cargo fmt --all -- --checkpasses. -
cargo clippy --workspace --all-targets --all-features -- -D warningspasses. - The real-OpenVASD compatibility workflow reaches and passes the direct-HTTP happy-path contract with exact evidence.
Agent: Thoth
Model: openai/gpt-5.6-sol
Thinking: high
Bot-Owner: @llunved
Implementation status (2026-11-24)
PR #696 completed every original acceptance criterion and merged the exact-source temporary scanner workaround. Real OpenVASD compatibility passed on merged main with exact provenance, gvmd imported a nonzero VT inventory, the discovery scan configuration became available, and the direct-HTTP happy path passed.
The issue remains open solely as the explicit workaround-removal tracker:
- greenbone/openvas-scanner PR #2454 is merged.
- An official community OpenVASD image containing that merge is published.
- The official image digest and contained source revision are verified.
- The temporary source checkout/build/job-local-registry override is replaced by that digest.
- Temporary build-only workflow and provenance plumbing are removed.
- Real OpenVASD compatibility passes against the official immutable image.
As of this audit, upstream PR #2454 is still open, so closure would be premature.
Agent: Thoth
Model: openai/gpt-5.6-sol
Thinking: high
Bot-Owner: @llunved
Activity
clawosiris commentedon Nov 13, 2026
Temporary pipeline workaround and removal gate
While greenbone/openvas-scanner#2454 is awaiting review and an official image, the real-OpenVASD compatibility workflow will temporarily build the scanner from exact upstream commit
d6e3cbe74ca6f1f4ff1a9d9fcafca59732a32b81using.docker/prod.Dockerfile.The workaround must remain confined to the manual/weekly real compatibility lane. It must produce and consume one immutable repository-digest reference for both
configure-openvasandopenvasd-backend, and evidence must retain the exact upstream source SHA plus the resulting image digest. The official scanner digest remains the default outside that workflow.Removal checklist
Implementation is in progress on
fix/695-build-openvasd-image; the pull request will link this issue.Agent: Thoth
Model: openai/gpt-5.6-sol
Thinking: high
Bot-Owner: @llunved
clawosiris commentedon Nov 13, 2026
The temporary pipeline workaround is now in PR #696:
d6e3cbe74ca6f1f4ff1a9d9fcafca59732a32b81The first end-to-end validation is running at https://github.com/greenbone/rust-gvm-api/actions/runs/43498586059.
Please keep this issue open after the workaround merges. It is the explicit removal tracker: revert the temporary source-build/registry path after
greenbone/openvas-scanner#2454is merged and an official community scanner image containing the fix is published and verified.Agent: Thoth
Model: openai/gpt-5.6-sol
Thinking: high
Bot-Owner: @llunved
clawosiris commentedon Nov 13, 2026
PR #696 now has a successful end-to-end real OpenVASD compatibility run on exact commit
952d509d2082cd86d7e40b4b1c24f0beb1287b1b:https://github.com/greenbone/rust-gvm-api/actions/runs/43503453776
The temporary scanner image built from upstream fix commit
d6e3cbe74ca6f1f4ff1a9d9fcafca59732a32b81; the immutable registry/provenance checks passed; gvmd/OpenVASD reached readiness; and the direct-HTTP happy-path scan contract completed successfully.Keep this issue open as the revert tracker. Remove the temporary source-build/registry path only after
greenbone/openvas-scanner#2454is merged and an official community scanner image containing the fix is published and verified.Agent: Thoth
Model: openai/gpt-5.6-sol
Thinking: high
Bot-Owner: @llunved
clawosiris commentedon Nov 13, 2026
The temporary pipeline workaround in PR #696 is fully validated.
9cc6843c9576a3e55478b24ded4d6d217150e82fpassed the full real-OpenVASD compatibility workflow: https://github.com/greenbone/rust-gvm-api/actions/runs/43507720562ce9de4ecef78c21d58817b12d43f954ea19e1698changes only Cargo Vet audit metadata; all CI, Security, Cargo Audit, Cargo Vet, and normal E2E checks pass.Keep this issue open as the revert tracker. Remove the temporary source-build/job-local-registry path only after
greenbone/openvas-scanner#2454is merged and an official community scanner image containing the fix is published and verified, then rerun compatibility against that official immutable digest.Agent: Thoth
Model: openai/gpt-5.6-sol
Thinking: high
Bot-Owner: @llunved
clawosiris commentedon Nov 14, 2026
Real OpenVASD Compatibility passed against exact merged
mainSHA3193e954dac4b98af4a159cdcd6189ae83b04360.Run: https://github.com/greenbone-hive/rust-gvm-api/actions/runs/43537208525
The direct-HTTP compatibility contract and compatibility-evidence upload both succeeded. #695 remains open until greenbone/openvas-scanner#2454 merges and an official image containing it is verified.
Agent: Thoth
Model: openai/gpt-5.6-sol
Thinking: high
Bot-Owner: @llunved