default_ephemeral_format not placed correctly under [DEFAULT]

Bug #1992386 reported by Binny Raphael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
Fix Committed
Medium
Marcus Boden

Bug Description

The configuration option `default_ephemeral_format` should be placed under [DEFAULT] section in nova.conf. Instead, it is being placed under the [libvirt] section. (the `default_ephemeral_format` is not honored)

One of the issue we are seeing is that the Linux VMs created with ephemeral disk ends up with 'vfat' filesystem instead of ext4/xfs.

`
ubuntu@vm-ephemeral:~$ mount | grep vdb
/dev/vdb on /mnt type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro,x-systemd.requires=cloud-init.service,_netdev)

`

The issue is seen on Focal->Yoga release.

Binny Raphael (binnyrp)
description: updated
Revision history for this message
Felipe Reyes (freyes) wrote :

upstream documentation confirms: https://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.default_ephemeral_format

workaround:

juju config nova-compute config-flags="default_ephemeral_format=ext4"

Changed in charm-nova-compute:
importance: Undecided → Medium
status: New → Triaged
tags: added: good-first-bug
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (master)
Changed in charm-nova-compute:
status: Triaged → In Progress
Changed in charm-nova-compute:
assignee: nobody → Marcus Boden (marcusboden)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/charm-nova-compute/+/864851

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/charm-nova-compute/+/864880

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/charm-nova-compute/+/864881

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/charm-nova-compute/+/864882

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/charm-nova-compute/+/864883

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/zed)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (master)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/864676
Committed: https://opendev.org/openstack/charm-nova-compute/commit/a3da54fb4156fa93ea89baefa47c2032edb9423e
Submitter: "Zuul (22348)"
Branch: master

commit a3da54fb4156fa93ea89baefa47c2032edb9423e
Author: Marcus Boden <email address hidden>
Date: Wed Nov 16 08:25:01 2022 +0100

    Move default_ephemeral_format to [DEFAULT] section

    The default_ephemeral_format line in nova.conf was not in the [DEFAULT]
    section in the templates and has therefore been ignored ny nova-compute.
    This change moves it to the correct section for all releases.

    Closes-Bug: #1992386
    Change-Id: Idc0602f95e5378be1243926aa88dc7b5282ee844

Changed in charm-nova-compute:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/864884
Committed: https://opendev.org/openstack/charm-nova-compute/commit/029b5a29a6c86e91cd4cd4b3029a1973081e3fa8
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 029b5a29a6c86e91cd4cd4b3029a1973081e3fa8
Author: Marcus Boden <email address hidden>
Date: Thu Nov 17 12:41:45 2022 +0100

    Move default_ephemeral_format to [DEFAULT] section

    The default_ephemeral_format line in nova.conf was not in the [DEFAULT]
    section in the templates and has therefore been ignored ny nova-compute.
    This change moves it to the correct section for all releases.

    Closes-Bug: #1992386
    Change-Id: I0ac33eb040fc9f98a1bd0fe484f97eef0ad76d46

tags: added: in-stable-zed
tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/864883
Committed: https://opendev.org/openstack/charm-nova-compute/commit/93b9faff4065ca5c474187c49d70baba446a5eb2
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 93b9faff4065ca5c474187c49d70baba446a5eb2
Author: Marcus Boden <email address hidden>
Date: Thu Nov 17 11:48:06 2022 +0100

    Move default_ephemeral_format to [DEFAULT] section

    The default_ephemeral_format line in nova.conf was not in the [DEFAULT]
    section in the templates and has therefore been ignored ny nova-compute.
    This change moves it to the correct section for all releases.

    Closes-Bug: #1992386
    Change-Id: I713872f49ff4c40c78909f1879cca09f331d5c13

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/864882
Committed: https://opendev.org/openstack/charm-nova-compute/commit/7a9aef21542b3fb3216b38643737746fcf1e1179
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 7a9aef21542b3fb3216b38643737746fcf1e1179
Author: Marcus Boden <email address hidden>
Date: Thu Nov 17 11:39:18 2022 +0100

    Move default_ephemeral_format to [DEFAULT] section

    The default_ephemeral_format line in nova.conf was not in the [DEFAULT]
    section in the templates and has therefore been ignored ny nova-compute.
    This change moves it to the correct section for all releases.

    Closes-Bug: #1992386
    Change-Id: I0a338da505bd9f1dc4eaecfbbcb93c7ecbfa6960

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/864881
Committed: https://opendev.org/openstack/charm-nova-compute/commit/42893457b15aced6a088a7e48b766d1620b0f169
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 42893457b15aced6a088a7e48b766d1620b0f169
Author: Marcus Boden <email address hidden>
Date: Thu Nov 17 11:38:42 2022 +0100

    Move default_ephemeral_format to [DEFAULT] section

    The default_ephemeral_format line in nova.conf was not in the [DEFAULT]
    section in the templates and has therefore been ignored ny nova-compute.
    This change moves it to the correct section for all releases.

    Closes-Bug: #1992386
    Change-Id: Ia8d62de27ce59278722c58a2328b0301f461adbb

tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/864880
Committed: https://opendev.org/openstack/charm-nova-compute/commit/01bf1f46bf05b81098f28aad53bca8ac8a0f7dc4
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 01bf1f46bf05b81098f28aad53bca8ac8a0f7dc4
Author: Marcus Boden <email address hidden>
Date: Thu Nov 17 11:27:04 2022 +0100

    Move default_ephemeral_format to [DEFAULT] section

    The default_ephemeral_format line in nova.conf was not in the [DEFAULT]
    section in the templates and has therefore been ignored ny nova-compute.
    This change moves it to the correct section for all releases.

    Closes-Bug: #1992386
    Change-Id: I55b9c80aeb2881151d38bf07889d2e454755d9f5

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/864851
Committed: https://opendev.org/openstack/charm-nova-compute/commit/35d248f91669cf486ea095ee33e2a3ce83f15207
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 35d248f91669cf486ea095ee33e2a3ce83f15207
Author: Marcus Boden <email address hidden>
Date: Thu Nov 17 10:48:20 2022 +0100

    Move default_ephemeral_format to [DEFAULT] section

    The default_ephemeral_format line in nova.conf was not in the [DEFAULT]
    section in the templates and has therefore been ignored ny nova-compute.
    This change moves it to the correct section for all releases.

    Closes-Bug: #1992386
    Change-Id: I734e3ddf3c227a1c93beb753159ad90d2ee1b0d1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/c/openstack/charm-nova-compute/+/866186

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/train)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/866186
Committed: https://opendev.org/openstack/charm-nova-compute/commit/4bf6c8dcfeb86d1034756f06159aaa89033d843e
Submitter: "Zuul (22348)"
Branch: stable/train

commit 4bf6c8dcfeb86d1034756f06159aaa89033d843e
Author: Marcus Boden <email address hidden>
Date: Wed Nov 16 08:25:01 2022 +0100

    Move default_ephemeral_format to [DEFAULT] section

    The default_ephemeral_format line in nova.conf was not in the [DEFAULT]
    section in the templates and has therefore been ignored ny nova-compute.
    This change moves it to the correct section for all releases.

    Closes-Bug: #1992386
    Change-Id: Idc0602f95e5378be1243926aa88dc7b5282ee844
    (cherry picked from commit a3da54fb4156fa93ea89baefa47c2032edb9423e)

tags: added: in-stable-train
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.