Openstack builder connects to wrong endpoint
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- go
- 領域
- cloud, infrastructure
調査の方向性
まず、OpenStack builder の設定を再現し、リンクされている build 出力と endpoint トラフィックを確認します。builder の identity リクエストとサーバー起動リクエストを追跡し、その後 nova クライアントの動作と比較します。builder が設定された OpenStack endpoint を対象にし、サーバーのレスポンスを明確に報告できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
This issue was originally opened by @JoelFeiner as hashicorp/packer#5201. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.
I am attempting to build an image using the OpenStack provider. It ultimately fails at launching the server with the following message: "Error launching source server: Invalid request due to incorrect syntax or missing required parameters".
It is able to connect to the identity service, verify the flavor and set up the keypair (which might be a local thing).
One thing I am noticing is that tcpdump shows a lot of connections to ec2-54-235-77-197.compute-1.amazonaws.com, whereas when I launch the server with the nova client, there are none. I'm wondering if there's a hardcoded URL in Packer somewhere.
I'm unable to further debug this because Packer or the underlying library does not provide the response from the OpenStack server. From Googling, I see that this is simply not supported at the current juncture.
Packer 1.0.3
Ubuntu 17.04 64-bit
Build output: https://gist.github.com/JoelFeiner/7f7102e3324e4efc00980600217a07aa
Builder config in JSON file:
{
"type": "openstack",
"flavor": "A1.2",
"source_image": "7925b8a6-b439-4991-9adf-092a202ff16e",
"ssh_username": "root",
"networks": [ "bf7a7067-8739-4421-9a08-c940d7fd435d" ],
"image_name": "{{user `image_type`}}-{{user `image_verson`}}"
}
Environment variables set:
OS_AUTH_URL
OS_REGION_NAME
OS_IDENTITY_API_VERSION
OS_TENANT_NAME
OS_PASSWORD
OS_USERNAME
- 主要言語
- 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 日以内に返信