systemd var-lib-machines.mount wrong fs type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
High
|
Dmitriy Rabotyagov |
Bug Description
Openstack Release: Wallaby
OS Distro: Ubuntu 20.04
After rebooting infra node encounter following error:
root@ostack-
May 16 18:23:13 ostack-
May 16 18:23:13 ostack-
May 16 18:23:13 ostack-
May 16 18:23:13 ostack-
May 16 18:23:13 ostack-
# filesystem type is ext4
root@ostack-
/var/lib/
# In var-lib-
root@ostack-
# SPDX-License-
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
# This unit is required for pre-240 versions of systemd that automatically set
# up /var/lib/
# versions don't do that anymore, but let's keep minimal compatibility by
# mounting the image still, if it exists.
[Unit]
Description=Virtual Machine and Container Storage (Compatibility)
ConditionPathEx
[Mount]
What=/var/
Where=/
Tyep=btrfs
Options=loop
# Solution
Workaround is to change Type=ext4
description: | updated |
Changed in openstack-ansible: | |
status: | Triaged → Fix Released |
I think this patch is related: https:/ /review. opendev. org/c/openstack /openstack- ansible- lxc_hosts/ +/834183
However, it doesn't take into account, that the mount in topic can be already mounted by system package. I'm not sure if they have same naming in the end - if yes, it should solve issue as that would be a simple override then.
If not - some care should be taken of that.
Also something backportable should be placed to the stable branches.