#407 Update Kmods SIG tags for c8s
Closed: Fixed 2 years ago by arrfab. Opened 2 years ago by pjgeorg.

With the possibility of #400 being implemented the kmods SIG is interested in building for el8 (and possibly el9 in the future) as well.

Normally this would not be an issue at all, but stupid me has not thought about this when requesting the initial Kmods SIG tags for c8s in #370. I.e. we currently use dist = .el8 for c8s. This will obviously cause issues once we start building for el8 with dist = .el8 as well. The usual approach to ensure NVRs are unique in this case seems to be to use dist = .el8s for c8s.

Can dist be changed to .el8s for the existing kmods8s-* tags (see #370)?
I'd like this to be changed before we release packages to avoid any future issues.

I assume the best (and consistent) solution would have been to request kmods8s-packages-{main,rebuild}-el8s as build targets instead of kmods8s-packages-{main,rebuild}-el8. And kmods8s-packages-{main,rebuild}-el8s-build instead of kmods8s-packages-{main,rebuild}-el8-build for buildroots.
Not sure these can be renamed. In case it is easier to remove the old and add new tags/build targets, feel free to do so. We have only done test builds in CBS so far. Hence there is not really anything we would loose.

I'm sorry for the inconvenience caused by this, that was my mistake.


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

2 years ago

Metadata Update from @arrfab:
- Issue assigned to arrfab

2 years ago

Old tags removed and recreated :

* Checking distribution el8s configuration...
 -> Checking kmods config...
Using default options for kmods/packages
Creating tag  : kmods8s-packages-main-candidate
Creating tag  : kmods8s-packages-main-testing
Creating tag  : kmods8s-packages-main-release
 -> creating kmods8s-packages-main-el8s
Added external repo centos8s-cr to tag kmods8s-packages-main-el8s-build (priority 5)
Added external repo centos8s-extras to tag kmods8s-packages-main-el8s-build (priority 10)
Added external repo centos8s-powertools to tag kmods8s-packages-main-el8s-build (priority 15)
Added external repo centos8s-appstream to tag kmods8s-packages-main-el8s-build (priority 20)
Added external repo centos8s-baseos to tag kmods8s-packages-main-el8s-build (priority 25)

* Checking distribution el8s configuration...
 -> Checking kmods config...
Using default options for kmods/packages
Creating tag  : kmods8s-packages-rebuild-candidate
Creating tag  : kmods8s-packages-rebuild-testing
Creating tag  : kmods8s-packages-rebuild-release
 -> creating kmods8s-packages-rebuild-el8s
Added external repo centos8s-cr to tag kmods8s-packages-rebuild-el8s-build (priority 5)
Added external repo centos8s-extras to tag kmods8s-packages-rebuild-el8s-build (priority 10)
Added external repo centos8s-powertools to tag kmods8s-packages-rebuild-el8s-build (priority 15)
Added external repo centos8s-appstream to tag kmods8s-packages-rebuild-el8s-build (priority 20)
Added external repo centos8s-baseos to tag kmods8s-packages-rebuild-el8s-build (priority 25)

Taginfo seems to also be ok :

koji taginfo ${build_tag}
Tag: kmods8s-packages-rebuild-el8s-build [2343]
Arches: x86_64 ppc64le aarch64
Groups: build, srpm-build
Tag options:
  mock.package_manager : 'dnf'
  mock.yum.module_hotfixes : 1
  rpm.macro.dist : '.el8s'
This tag is a buildroot for one or more targets
Current repo: repo#852010: 2021-08-12 12:45:28.211104+00:00
Targets that build from this tag:
  kmods8s-packages-rebuild-el8s
External repos:
    5 centos8s-cr (http://mirror.centos.org/centos/8-stream//cr/$arch/os/, merge mode: bare), arches: inherited from tag
   10 centos8s-extras (http://mirror.centos.org/centos/8-stream//extras/$arch/os/, merge mode: bare), arches: inherited from tag
   15 centos8s-powertools (http://mirror.centos.org/centos/8-stream//PowerTools/$arch/os/, merge mode: bare), arches: inherited from tag
   20 centos8s-appstream (http://mirror.centos.org/centos/8-stream//AppStream/$arch/os/, merge mode: bare), arches: inherited from tag
   25 centos8s-baseos (http://mirror.centos.org/centos/8-stream//BaseOS/$arch/os/, merge mode: bare), arches: inherited from tag
Inheritance:
  5    .... buildsys8s-release [1866]
  10   .... kmods8s-packages-rebuild-candidate [2319]

Tag: kmods8s-packages-rebuild-el8s-build [2343]
Arches: x86_64 ppc64le aarch64
Groups: build, srpm-build
Tag options:
  mock.package_manager : 'dnf'
  mock.yum.module_hotfixes : 1
  rpm.macro.dist : '.el8s'
This tag is a buildroot for one or more targets
Current repo: repo#852011: 2021-08-12 12:46:59.331577+00:00
Targets that build from this tag:
  kmods8s-packages-rebuild-el8s
External repos:
    5 centos8s-cr (http://mirror.centos.org/centos/8-stream//cr/$arch/os/, merge mode: bare), arches: inherited from tag
   10 centos8s-extras (http://mirror.centos.org/centos/8-stream//extras/$arch/os/, merge mode: bare), arches: inherited from tag
   15 centos8s-powertools (http://mirror.centos.org/centos/8-stream//PowerTools/$arch/os/, merge mode: bare), arches: inherited from tag
   20 centos8s-appstream (http://mirror.centos.org/centos/8-stream//AppStream/$arch/os/, merge mode: bare), arches: inherited from tag
   25 centos8s-baseos (http://mirror.centos.org/centos/8-stream//BaseOS/$arch/os/, merge mode: bare), arches: inherited from tag
Inheritance:
  5    .... buildsys8s-release [1866]
  10   .... kmods8s-packages-rebuild-candidate [2319]

Can you verify and submit builds to see if they are correctly getting the new .el8s dist tag ?

Everything seems to be fine. Submitted a build for each of the two targets:
https://cbs.centos.org/koji/buildinfo?buildID=33657
https://cbs.centos.org/koji/buildinfo?buildID=33658

While we're at it, may I ask you here to create the equivalent tags for non-stream c8 or shall I open a new issue for that?
I.e. creating the tags kmods8-packages-{main,rebuild}-{candidate,testing,release} and build-target kmods8-packages-{main,rebuild}-el8.

Thanks!

Done, and so closing :

* Checking distribution el8 configuration...
 -> Checking kmods config...
Using default options for kmods/packages
Creating tag  : kmods8-packages-rebuild-candidate
Creating tag  : kmods8-packages-rebuild-testing
Creating tag  : kmods8-packages-rebuild-release
 -> creating kmods8-packages-rebuild-el8
Added external repo centos8-cr to tag kmods8-packages-rebuild-el8-build (priority 5)
Added external repo centos8-extras to tag kmods8-packages-rebuild-el8-build (priority 10)
Added external repo centos8-powertools to tag kmods8-packages-rebuild-el8-build (priority 15)
Added external repo centos8-appstream to tag kmods8-packages-rebuild-el8-build (priority 20)
Added external repo centos8-baseos to tag kmods8-packages-rebuild-el8-build (priority 25)

* Checking distribution el8 configuration...
 -> Checking kmods config...
Using default options for kmods/packages
Creating tag  : kmods8-packages-main-candidate
Creating tag  : kmods8-packages-main-testing
Creating tag  : kmods8-packages-main-release
 -> creating kmods8-packages-main-el8
Added external repo centos8-cr to tag kmods8-packages-main-el8-build (priority 5)
Added external repo centos8-extras to tag kmods8-packages-main-el8-build (priority 10)
Added external repo centos8-powertools to tag kmods8-packages-main-el8-build (priority 15)
Added external repo centos8-appstream to tag kmods8-packages-main-el8-build (priority 20)
Added external repo centos8-baseos to tag kmods8-packages-main-el8-build (priority 25)

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

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
CBS Status: Backlog