Description of problem: When we were re-provisioning RHEL6 -> RHEL6, atodorov have encountered this DeprecationWarning: 10:36:55,956 WARNING : /usr/lib/python2.6/site-packages/pykickstart/parser.py:733: DeprecationWarning: Script does not end with %end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax. warnings.warn(_("%s does not end with %%end. This syntax has been deprecated. It may be removed from future releases, which will result in a fatal error from kickstart. Please modify your kickstart file to use this updated syntax.") % _("Script"), DeprecationWarning) Version-Release number of selected component (if applicable): Satellite-5.4.0-RHEL5-re20101001.1-x86_64-embedded-oracle How reproducible: always Steps to Reproduce: 1. provision system and inspect anaconda.log Actual results: There is the above mentioned warning Expected results: There should not be any warning
Created attachment 452279 [details] KS file used for kickstarting downloaded from satellite
I saw this on my PXE upgrade from f14 to f15 TC1 as well. The installer continued luckilly
Presumably it's not the deprecation warning that's wrong but Satellite that is generating kickstarts without the relevant %end markers. The RHEL6 Migration Planning Guide says that %end is now an error, although in my experience it seems to warn rather than stop deployment.
The issue was fixed in upstream within Bug 639999. So the '%end's shall be available already in Satellite 5.5.
I have tried with two KS files from Satellite 5.6.0 and `ksvalidate` utility from package pykickstart-1.99.48-1.fc20.noarch and I do confirm it is fixed.