Investigate making cloud-init → BOSH-agent network handoff explicit via service ordering (Azure)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 30/100
- Tipo di issue
- Refactoring
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- azure
- Ambito
- infrastructure
Direzione di ricerca
Start with the unit file stemcell_builder/stages/bosh_go_agent/assets/bosh-agent.service, which currently has only After=network.target, and compare it with the Azure firstboot blocker at stemcell_builder/stages/system_azure_init/assets/etc/systemd/system/cloud-config.service.d/firstboot-blocker.conf. Work out whether ordering after cloud-final.service is safe on stemcells without cloud-init, which the issue asks about. Done means a documented ordering decision with the reasoning, and ideally a boot check on an Azure stemcell.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
PR cloudfoundry/bosh-agent#495 fixed an Azure-specific file-ordering collision between cloud-init/netplan's networkd profile and bosh-agent's profile by prefixing the BOSH file with 09-. During review, @s4heid suggested investigating whether the ownership contract between cloud-init and bosh-agent should be made more explicit in the service startup order.
Area for investigation
The current bosh-agent.service unit only declares After=network.target. There is no explicit dependency that ensures cloud-init has fully completed before bosh-agent applies its network configuration. If cloud-init runs again after bosh-agent (e.g. on certain Azure VM events), it could overwrite the networkd state bosh-agent set up.
bosh-agent.service lives at: stemcell_builder/stages/bosh_go_agent/assets/bosh-agent.service
The Azure init stage already uses a similar pattern for blocking cloud-config: stemcell_builder/stages/system_azure_init/assets/etc/systemd/system/cloud-config.service.d/firstboot-blocker.conf
It is worth investigating:
- Whether adding
After=cloud-final.servicetobosh-agent.serviceis safe and sufficient, or whether stronger constraints are needed. - What the impact would be on IaaS providers where cloud-init is absent.
- Whether this interacts with the existing firstboot-blocker mechanism on Azure.
Related to: https://github.com/cloudfoundry/bosh-agent/issues/500
- Lingua principale
- Ruby
- Stelle
- 52
- Fork
- 124
- Merge medio
- 1g 2h
- PR unite (30g)
- 23
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 cloudfoundry/bosh-linux-stemcell-builder
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
cloudfoundry/bosh-linux-stemcell-builder#802 ·
I maintainer di solito rispondono entro 1 giorno
-
Pin and verify tools in the OS image stemcell builderForse già presa @vighes l’ha presa 3 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
cloudfoundry/bosh-linux-stemcell-builder#806 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
cloudfoundry/bosh-linux-stemcell-builder#803 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
cloudfoundry/bosh-linux-stemcell-builder#738 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
cloudfoundry/bosh-linux-stemcell-builder#676 · 4 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di cloudfoundry/bosh-linux-stemcell-builder
Issue simili
-
Bug Ruby
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
getsentry/sentry-ruby#3211 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
internetee/registry#2984 ·
I maintainer di solito rispondono entro 6 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ecosyste-ms/issues#862 ·
I maintainer di solito rispondono entro 1 giorno
-
Redis Lua error `@user_script:52: ERR value is not an integer or out of range` when `window_size` is configuredForse già presa @mimosa l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
riscv/riscv-unified-db#2829 ·
I maintainer di solito rispondono entro 1 giorno