Bug 1222243

Summary: kiwi-templates-Minimal: needs kiwi schemaversion update
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ana Guerrero <ana.guerrero>
Component: OtherAssignee: Fabian Vogt <fvogt>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: bwiedemann, dcermak, marcus.schaefer, marcus.schaefer, rbrown
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ana Guerrero 2024-04-02 14:29:39 UTC
kiwi-templates-Minimal is using an old kiwi schemaversion (6.1) this is blocking an update of python-kiwi https://build.opensuse.org/request/show/1162956

Please update to the lastest schema (at least 8) and address the following issues:
[   16s] [ INFO    ]: 14:14:28 | Schematron validation failed:
[   16s] [ INFO    ]: 14:14:28 | --> btrfs_quota_groups attribute is only available for the following image types: oem
[   16s] [ INFO    ]: 14:14:28 | --> btrfs_root_is_snapshot attribute is only available for the following image types: oem
[   16s] [ INFO    ]: 14:14:28 | --> efipartsize attribute is only available for the following image types: oem
[   16s] [ INFO    ]: 14:14:28 | --> editbootinstall attribute is only available for the following image types: oem
[   16s] [ INFO    ]: 14:14:28 | --> filesystem attribute is only available for the following image types: oem pxe kis iso
[   16s] [ INFO    ]: 14:14:28 | --> firmware attribute is only available for the following image types: oem pxe iso
[   16s] [ INFO    ]: 14:14:28 | --> bootpartition attribute is only available for the following image types: oem
[   16s] [ INFO    ]: 14:14:28 | --> format attribute is only available for the following image types: oem
[   16s] [ INFO    ]: 14:14:28 | --> initrd_system attribute is only available for the following image types: oem pxe kis
Comment 1 Richard Brown 2024-04-03 11:43:42 UTC
You should be able to use kiwi to produce the new schema required

```
kiwi-ng image info --description /path/to/osc/checkout --print-xml
```
Comment 2 Fabian Vogt 2024-04-03 14:05:34 UTC
Does it have to be 8 or can it also be some 7.x for compatibility with kiwi in 15.x?

For livecd-openSUSE I updated the schemaversion recently to test it with kiwi 10 and they worked with schemaversion="7.4" as well, but here the message says specifically "the lastest schema (at least 8)".
Comment 3 Ana Guerrero 2024-04-03 14:17:57 UTC
It'd be nice if we can update to the last version, but whatever that works with https://build.opensuse.org/request/show/1162956 is fine for now.
Comment 4 Marcus Schäfer 2024-04-03 15:32:28 UTC
> Does it have to be 8 or can it also be some 7.x for compatibility with kiwi in 15.x?

It has to be >= 7.4

For kiwi v10 we set the entry level to schema version v74


> For livecd-openSUSE I updated the schemaversion recently to test it with kiwi 10 and they worked with schemaversion="7.4" as well,

yep that's all fine
Comment 5 Marcus Schäfer 2024-04-03 15:33:23 UTC
JFI: There is also an open PR https://github.com/OSInside/kiwi/pull/2523 to allow the upgrade from older schemas in easier way for our users
Comment 6 Bernhard Wiedemann 2024-04-09 14:28:05 UTC
https://build.opensuse.org/request/show/1166461
Comment 7 Ana Guerrero 2024-04-22 12:30:46 UTC
This is fixed now