#638 cbs image-build for CentOS Stream 9 fails
Closed: Fixed 2 years ago by sbonazzo. Opened 3 years ago by sbonazzo.

Trying to build an image for oVirt Node based on CentOS Stream 9.
I'm using the code from https://gerrit.ovirt.org/c/ovirt-node-ng-image/+/118412

I triggered a scratch build here: https://cbs.centos.org/koji/taskinfo?taskID=2672832 and it failed on anaconda due to oz generated parameters now being obsolete.
Screenshot of the failure:

screenshot.png

Is there another way to build images for CentOS Stream 9? If not, any suggestion on how to get oz generating a compatible output?


Metadata Update from @zlopez:
- Issue tagged with: centos-stream

3 years ago

Is this ticket related to #708?

in #708 I'm building on centos stream 8. Here I'm building on centos stream 9 and reported error is different

Metadata Update from @zlopez:
- Issue assigned to arrfab

2 years ago

@sbonazzo we had a quick look and based on the screenshot it seems it's due to OZ missing the inst.ks (and was using ks=) so it was "hot-patched" (through ansible kojid role that has it now) and I kicked a job (resubmit) : let's see how that will go : https://cbs.centos.org/koji/taskinfo?taskID=2800597

Metadata Update from @arrfab:
- Issue tagged with: cbs, medium-gain, medium-trouble

2 years ago

it failed but because your ks seems to contain reference to outside resources, like https://mirrors.centos.org, unreachable on koji hosts, so this time it started the install.
I'll let you verify at your side but error reported in this ticket is now gone

Metadata Update from @arrfab:
- Issue priority set to: Waiting on Reporter (was: Needs Review)

2 years ago

it failed but because your ks seems to contain reference to outside resources, like https://mirrors.centos.org, unreachable on koji hosts, so this time it started the install.
I'll let you verify at your side but error reported in this ticket is now gone

Is there any internal repo I can use while building in koji?

mirror.stream.centos.org has an internal mirror so using normal path would work (same for mirror.centos.org for centos 8s) . All koji repositories are pointing to these internal mirrors to init buildroots btw ;-)

@sbonazzo tempted to close this ticket at the error in cbs is now gone, what do you think ?

@arrfab ok, closing. I'll open another one if I get stuck.

Metadata Update from @sbonazzo:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Log in to comment on this ticket.

Metadata
Boards 1
CBS Status: Backlog
Attachments 1
Attached 3 years ago View Comment