Investigate making cloud-init → BOSH-agent network handoff explicit via service ordering (Azure)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 30/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- azure
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Ruby
- スター
- 52
- フォーク
- 124
- 平均マージ
- 1日 2時間
- マージ済み PR(30日)
- 23
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudfoundry/bosh-linux-stemcell-builder のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
cloudfoundry/bosh-linux-stemcell-builder#802 ·
メンテナーはふだん 1 日以内に返信
-
Pin and verify tools in the OS image stemcell builder対応中かも @vighes が 3 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
cloudfoundry/bosh-linux-stemcell-builder#806 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
cloudfoundry/bosh-linux-stemcell-builder#803 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
cloudfoundry/bosh-linux-stemcell-builder#738 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
cloudfoundry/bosh-linux-stemcell-builder#676 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
cloudfoundry/bosh-linux-stemcell-builder の issue をすべて見る
似ている issue
-
Bug Ruby
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
getsentry/sentry-ruby#3211 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
internetee/registry#2984 ·
メンテナーはふだん 6 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ecosyste-ms/issues#862 ·
メンテナーはふだん 1 日以内に返信
-
Redis Lua error `@user_script:52: ERR value is not an integer or out of range` when `window_size` is configured対応中かも @mimosa が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
riscv/riscv-unified-db#2829 ·
メンテナーはふだん 1 日以内に返信