Skip to content

[BUG] Standard for image metadata omits unit for "min_disk_size" and "min_ram"  #367

Closed

Description

@anjastrunk

Image metadata standard refers to useful-image-properties for mandatory and recommended Image metadata. Two mandatory data are minimal size disk and ram- However, neither useful-image-properties nor Image metadata standard defines unit of ram and disk size. IMO this information is obligatory and MUST be added to Image property standard.

Activity

  1. added
    bug
    on Oct 24, 2023
  2. added
    SCS-VP10
    standards
    on Oct 24, 2023
  3. garloff commented on Nov 6, 2023

    @garloff
    Member

    Good catch, we are inheriting the shortcomings from upstream.
    By all means, let's write this down.
    min-disk is GiB, min-ram is MiB.
    (Note: Disk sizes tend to be measured in GB = 10^9 and not GiB = 2^30 in the disk industry,
    but OpenStack uses GiB, so we follow.)

  4. linked a pull request that will close this issueAdd units for disk and ram size of images #377on Nov 9, 2023
  5. anjastrunk commented on Nov 9, 2023

    @anjastrunk
    ContributorAuthor

    Good catch, we are inheriting the shortcomings from upstream. By all means, let's write this down. min-disk is GiB, min-ram is MiB. (Note: Disk sizes tend to be measured in GB = 10^9 and not GiB = 2^30 in the disk industry, but OpenStack uses GiB, so we follow.)

    Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCS-VP10bugstandards

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions