Builder Openstack image_min_disk

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go

調査の方向性

まず、template.json と、示されている OpenStack builder の設定を使って問題を再現します。image_min_disk と image_min_ram のドキュメント化された動作を現在のオプション処理と比較し、イメージのサイズ設定とイメージの保存が意図されたセマンティクスに一致することを確認します。

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

説明

bug builder/openstack community-supported plugin

This issue was originally opened by @possani as hashicorp/packer#9549. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


Overview of the Issue

Hi, I am trying to create a new image, but I am getting the following behavior:

When specifying the image_min_disk, I would expect to see what the description says, "Minimum disk size needed to boot image, in gigabytes"; instead, I am setting the disk size.

Screenshot from 2020-07-08 09-44-05

image_min_disk and image_min_ram are not available. Instead, the current option should be named image_size.

It also takes a very long time to save the image, maybe due to the image size.

Reproduction Steps

packer build template.json

Packer version

Packer v1.6.0

Simplified Packer Buildfile
{
    "builders": [
        {
            "type": "openstack",
            "ssh_username": "ubuntu",
            "image_name": "Ubuntu-18.04-LTS-bionic-packer",
            "image_min_disk": 20,
            "source_image_name": "Ubuntu-18.04-LTS-bionic",
            "insecure": "true",
            ...
            "use_blockstorage_volume": "true"
        }
    ]
}
Operating system and Environment details

NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"

主要言語
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 を短くまとめたダイジェスト。