Misleading error message on validate when identity_endpoint is not set.

オープン
#71 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
go
領域
cloud

調査の方向性

まず、簡略化した Packer の buildfile と報告された Packer v1.8.2 のセットアップで検証エラーを再現します。不足している認証入力を報告する OpenStack プラグインの検証パスを追跡します。エラーが auth_url ではなく、設定された identity_endpoint パラメーターを特定し、既存の検証エラーも引き続き適切に報告されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.

Overview of the Issue

The parameter that is to be set is named identity_endpoint, but the error message is Missing input for argument [auth_url].

Reproduction Steps

packer validate .

Plugin and Packer version

packer v1.8.2

Simplified Packer Buildfile
source "openstack" "otc_packer_image" {
  }
  
build {
    sources = ["source.openstack.otc_packer_image"]
}
Operating system and Environment details

ubuntu 22.04

Log Fragments and crash.log files

Screen output:

Error: 5 error(s) occurred:

* Missing input for argument [auth_url]
* An image_name must be specified
* An ssh_username must be specified
  Note: some builders used to default ssh_username to "root".
* Either a source_image, a source_image_name, an external_source_image_url or source_image_filter must be specified
* A flavor must be specified

  on test.pkr.hcl line 8:
  (source code not available)
主要言語
Go
スター
29
フォーク
27
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hashicorp/packer-plugin-openstack のほかの issue

hashicorp/packer-plugin-openstack の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。