rockstor / rockstor-installer

The kiwi-ng configuration used to create Rockstor 4 'Built on openSUSE' installers.
GNU General Public License v3.0
35 stars 15 forks source link

[warning] root subvolume is not explicitly defined #147

Open FroggyFlox opened 9 months ago

FroggyFlox commented 9 months ago

In current build of Leap 15.5 profile, I see the following warning:

[ WARNING ]: 00:40:17 | Implicitly creating root volume
[ WARNING ]: 00:40:17 | --> Future versions of kiwi will not do this anymore
[ WARNING ]: 00:40:17 | --> Please specify btrfs_root_is_subvolume true|false

This is with kiwi running in the boxbuild method:

$ pip show kiwi
Name: kiwi
Version: 9.25.18
Summary: KIWI - Appliance Builder (next generation)
Home-page: https://osinside.github.io/kiwi
Author: Marcus Schaefer
Author-email: ms@suse.com
License: GPLv3+
Location: <path-to>/rockstor-installer/kiwi-env/lib/python3.11/site-packages
Requires: docopt, lxml, PyYAML, requests, simplejson
Required-by: kiwi-boxed-plugin

After a brief look, it seems to be a newer option:

This seems to be something to keep an eye on as it may be required if future versions of kiwi (kiwi 10 maybe?).

phillxnet commented 9 months ago

From a quick read, this seems to be kiwi-ng adapting to accomodate a fedora layout, which does not play nicely with the openSUSE defaults we run under. So we have to take care to maintain our snapper/boot-to-snapshot capability when changing these settings as and when we are required to do so. We really don't want to 'down-grade' to fedora ways re btrfs use :) .

phillxnet commented 4 months ago

We do currently have on all profiles:

btrfs_root_is_snapshot="true"

And a snapshot is a subvolume. We can re-check this behaviour once we have a build-able config again.