openstack builder hangs when using use_blockstorage_volume if volume size is too small
まだ誰も着手していません。
評価
調査の方向性
builder/openstack/volume.go から始め、特に WaitForVolume と GetVolumeSize を確認し、use_blockstorage_volume が作成された volume より小さい volume を受け取ったときに、volume のステータスが "error" になる場合の処理を調べます。必要なサイズが作成された volume を上回るイメージでこのケースを再現します。volume がエラー状態になったときに builder が待機を停止し、無限ループしなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
This issue was originally opened by @puetzk as hashicorp/packer#6957. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
From https://github.com/hashicorp/packer/issues/6956#issuecomment-435854310
If the value determined by GetVolumeSize is actually too low, perhaps an image with no value set for MinDiskGigabytes, in a format (e.g. qcow2) where the file is considerably smaller than the minimum volume that can unpack it, the volume is created but the status shown in cinder list becomes "error". WaitForVolume doesn't seem to recognize this case, and just keeps looping (and waiting) indefinitely), since volumes.Get is succeeding (the GUID does exist and has a status to read), and "error" != "available".
- 主要言語
- Go
- スター
- 29
- フォーク
- 27
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hashicorp/packer-plugin-openstack のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
Error initializing block storage client with Openstack 2026.1対応中かも @elelaysh が 72 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
hashicorp/packer-plugin-openstack#162 · コメント 1 件 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
hashicorp/packer-plugin-openstack#151 · コメント 1 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
Response Error: No image found with ID .... code 404 Not Found title Not Found (Floating problem )オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
hashicorp/packer-plugin-openstack#130 · コメント 1 件 ·
hashicorp/packer-plugin-openstack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
multica-ai/multica#10081 ·
メンテナーはふだん 1 日以内に返信
-
csp-probe needs efqdn to probe CSP domains対応中かも @unknownhackerworld が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
projectdiscovery/httpx#2725 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
stefanpejcic/OpenPanel#1321 ·
メンテナーはふだん 1 日以内に返信
-
bug triage/pending
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信