CentOS Bug Tracker - Buildsys
View Issue Details
0012169Buildsyscommunity buildsyspublic2016-10-28 11:032017-07-25 08:17
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Summary0012169: CBS builders fail to build images if kickstart is using new syntax
DescriptionThe builders have only pykickstart- (which is already a bump from 1.74.20-1.el6 [base] ) but they don't seem to understand new option :

see https://cbs.centos.org/koji/taskinfo?taskID=127951 :
"BuildError: Failed to parse kickstart file '/tmp/koji/tasks/7951/127951/centos7.ks' : The following problem occurred on line 71 of the kickstart file:

Unknown kickstart section: %addon"

So we should update to newer version to support those new options (and so ksvalidator working for os/imagefactory)
TagsNo tags attached.
Attached Files

2017-01-01 09:52   
We now have a C7 builder, so I tried to disable kdump in centos/7 via kickstart, by adding "%addon com_redhat_kdump --disable" to the kickstart file. [1] But when I boot the test image I created, systemctl reports kdump as enabled, I found "%addon com_redhat_kdump --enable --reserve-mb='auto'" in /root/anaconda-ks.cfg, and I see no mention of kdump in the generated kickstart file. [2] Is something stripping away that section even before it reaches the C7 builder?

[1] https://cbs.centos.org/kojifiles/work/tasks/1110/151110/centos7.ks
[2] https://cbs.centos.org/kojifiles/work/tasks/1110/151110/koji-cloudinstance7-common-el7-build-151110-base.ks
2017-04-18 11:00   
bug triage : image builders were updated to c7 so validating the kickstart now
2017-04-18 12:12   
it seems that ksvalidator is ran on kojihub (which is still c6) so it stripped what it doesn't understand before creating the task that is then caught by the c7 builder.
Waiting for a pykickstart pkg that can be bumped/built on c6
2017-07-19 12:37   
Did we fixed that ? I think we did :)
2017-07-19 13:29   
CBS ImageFactory builder was migrated to CentOS 7 so no issue anymore
2017-07-25 08:17   
Bug reopened, details at https://lists.centos.org/pipermail/centos-devel/2017-July/016021.html

Issue History
2016-10-28 11:03arrfabNew Issue
2017-01-01 09:52lpancescuNote Added: 0028256
2017-04-18 11:00arrfabStatusnew => resolved
2017-04-18 11:00arrfabResolutionopen => fixed
2017-04-18 11:00arrfabNote Added: 0029090
2017-04-18 12:08arrfabStatusresolved => confirmed
2017-04-18 12:12arrfabNote Added: 0029091
2017-07-19 12:37alphaccNote Added: 0029685
2017-07-19 13:29arrfabStatusconfirmed => resolved
2017-07-19 13:29arrfabNote Added: 0029688
2017-07-25 08:17arrfabStatusresolved => acknowledged
2017-07-25 08:17arrfabNote Added: 0029725