Hi Mac,
> I have been attempting to use Kiwi NG to build an Ubuntu image for my
> company. I have been using this config as an example to work from
>
https://github.com/OSInside/kiwi-descriptions/blob/main/ubuntu/x86_64/u
> buntu-jammy/config.xml. This example config uses the Appliance Builder
> xUbuntu_22.04. This has been working fine for the past couple of weeks,
> until this morning. This morning it returns a 404 when it is looking
> for "xUbuntu_22.04". From what I understand the url of
> "obs://Virtualization:Appliances:Builder/xUbuntu_22.04" refernces this
> repo
You are right. The Virtualization:Appliances:Builder project keeps
builds for the two latest versions of the distributions. For Ubuntu
there is 23.04 and 23.10 and 22.04 fell out of the matrix.
But this was not the main reason for us to drop the 22.04 target
this time. The main reason was that we also released a new major
version of kiwi (v10.x.x) for which we decided to let go some
compatibility settings. Also see
https://github.com/OSInside/kiwi/issues/2369
The current main code stream still runs on 22.04 and also down
to python v3.6 but we decided to not strictly be bound on these
targets to allow further development of kiwi towards newer
distributions.
I'm sorry that this hit you in your work. To unblock you and maybe
others I have created Virtualization:Appliances:Builder:Deprecated
which allows us to build the v9 kiwi version for older targets.
https://build.opensuse.org/project/show/Virtualization:Appliances:Builder:Deprecated
I updated the ubuntu-jammy description to reference this repo.
That should bring you back on the former state.
However, please note if possible you should switch to the latest
kiwi code base. The reason why the current package does not build
for Ubuntu 22.04 LTS is a too old version of poetry. If you can manage
to provide an updated poetry for 22.04 you can easily build kiwi v10
for it.
> This brings up a couple of questions for me
> 1. Is there a way to clone what I need to build an ISO from this OBS
> so that we are not reliant on the public repo at
>
https://build.opensuse.org. Mainly we need to guarantee that we can
> rebuild an ISO and if things change on the public repo as I am
> seeing this morning it can break the flow. What is the best
> solution for managing something like obs in house and would we
> clone it from
https://build.opensuse.org
I think the easiest way is if you create your own project on
build.opensuse.org
Then copy the version of kiwi which you don't want to see changed by
osc coppac Virtualization:Appliances:Builder python-kiwi YOUR-PROJECT
In your image build reference YOUR-PROJECT instead of ours and that
decouples you from the development.
> 2. Will xUbuntu_22.04 be available on
https://build.opensuse.org
> again? 22 is LTS and 23 is only a 9 month supported distribution so
> I was surprised that xUbuntu_22.04 was missing this morning.
Again sorry. As I wrote I provided Virtualization:Appliances:Builder:Deprecated
which brings it back. But I will not update this kiwi version there. v9
is a stable fix release.
> 3. I did notice that the kiwi-ng binary was updated overnight. I did a
> fresh install this morning on Ubuntu and it pulled v10.0.2. I am
> noticing that the config options set in
>
https://github.com/OSInside/kiwi-descriptions/blob/main/ubuntu/x86_
> 64/ubuntu-jammy/config.xml are no longer support by v10. Everything
> was working fine with v9.25.22 last week, along side the
> xUbuntu_22.04 appliance. Is there a plan to fix the templates or a
> guide on what config options have change from v9 to v10?
That I don't see:
kiwi-ng --version
KIWI (next generation) version 10.0.3
kiwi-ng image info --description /home/ms/Project/kiwi-descriptions/ubuntu/x86_64/ubuntu-jammy
[ INFO ]: 15:15:18 | Reading runtime config file: '/etc/kiwi.yml'
[ INFO ]: 15:15:19 | Loading XML description
[ INFO ]: 15:15:19 | Support for multiple markup descriptions available
[ INFO ]: 15:15:19 | --> loaded /home/ms/Project/kiwi-descriptions/ubuntu/x86_64/ubuntu-jammy/config.xml
[ INFO ]: 15:15:19 | --> Selected build type: iso
[ INFO ]: 15:15:19 | --> Selected profiles: Live
{
"image": "Ubuntu-22.04_appliance"
}
So I can build this with v9 and v10 given the repo setup is correct.
Do you have more details which options are not valid anymore ?
Let me know if this helps
Best regards,
Marcus
--
Public Key available via:
https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer
-------------------------------------------------------
Marcus Schäfer Brunnenweg 18
Tel:
+49 7562 905437 D-88260 Argenbühl
Germany
-------------------------------------------------------