Migration staging reuses unrelated Script Projects for uploaded modules
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
Read the migration inventory, staging, and cutover entry points and their tests; the issue does not name specific files. Trace how uploaded modules are matched to Script Projects, then check the Manual activation and failed validation cases described here. Done when inventory reports a blocking conflict for an unrelated Project with the proposed key and staging and cutover refuse to use it.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Plugin Version
v0.2.0
NetBox Version
v4.7.6
Python Version
3.12
Steps to Reproduce
- Upload a built-in Custom Script module, such as
provision.py. - Navigate to Scripts > Migration, run Run inventory, and note the proposed Project key for the uploaded module.
- Create an unrelated Script Project using the same key and the Manual activation policy. Upload different source to the Project without activating it and wait for validation to complete.
- Run Run inventory again, followed by Stage Projects.
- Inspect the existing Project and the staging Job's results.
Expected Behavior
For uploaded modules, migration staging should only reuse Script Projects created for the corresponding module by the current migration.
If an unrelated Project already uses the proposed key, inventory should report a blocking finding, and staging and cutover should refuse to use that Project.
Observed Behavior
Inventory does not report a conflict, and staging reuses the unrelated Project, adding the built-in module to its source.
If the staged revision fails validation, cutover can still proceed using an existing valid revision of that Project. Activation and reference repointing can consequently select a different Script implementation than the one being migrated.
- Lingua principale
- Python
- Stelle
- 9
- Fork
- 0
- Merge medio
- 18h 59m
- PR unite (30g)
- 93
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di netbox-community/netbox-scripts
-
app: scripts Bucket: KTLO status: backlog type: housekeeping
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
netbox-community/netbox-scripts#281 ·
I maintainer di solito rispondono entro 1 giorno
-
app: scripts Bucket: Improve complexity: low status: backlog type: feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
netbox-community/netbox-scripts#244 ·
I maintainer di solito rispondono entro 1 giorno
-
Correct the documentation of a Project's current revisionForse già presa @pheus l’ha presa oggi. Apertaapp: scripts Bucket: KTLO status: accepted type: documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
netbox-community/netbox-scripts#233 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
app: scripts complexity: medium status: backlog type: feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
netbox-community/netbox-scripts#229 ·
I maintainer di solito rispondono entro 1 giorno
-
app: scripts status: backlog type: housekeeping
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
netbox-community/netbox-scripts#228 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di netbox-community/netbox-scripts
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
plone/plone.observability#114 ·
I maintainer di solito rispondono entro 1 giorno
-
area:docs type:docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
jejjohnson/gauss_flows#246 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openvax/varcode#824 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Add SAS as a cable typeApertanetbox status: needs triage type: feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
netbox-community/netbox#23868 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
emeryberger/CSrankings#15757 ·
I maintainer di solito rispondono entro 9 giorni