Working around problems with a CentOS 6 kickstart upgrade


Each time I go to deploy a new release of Centos or Fedora I encounter a new “feature” or “change” that breaks configurations that previously worked. I recently encountered several problems upgrading several hosts to FEDORA 16, and this afternooon I encountered another issue while attempting to upgrade several Centos 5 servers to Centos 6.

The issue with the CentOS upgrade revolves around changes to the software installation groups. Groups that worked perfectly fine with CentOS 5 no longer work with CentOS 6. This results in the installer spitting out “This group does not exist” errors when it parses the “%packages” section in your kickstart.cfg:

Groups

So what exactly changed? In CentOS 5.7 we had the following groups available to the installer:

$ yum grouplist

Installed Groups:
Administration Tools
Dialup Networking Support
GNOME Software Development
Legacy Network Server
Mail Server
Network Servers
Server Configuration Tools
System Tools
Web Server
Windows File Server
Yum Utilities
Available Groups:
Author: Matty
Base
Beagle
Cluster Storage
Clustering
DNS Name Server
Development Libraries
Development Tools
Editors
Emacs
Engineering and Scientific
FTP Server
FreeNX and NX
GNOME Desktop Environment
Games and Entertainment
Graphical Internet
Graphics
Horde
Java
Java Development
KDE (K Desktop Environment)
KDE Software Development
KVM
Legacy Software Development
Legacy Software Support
Mono
MySQL Database
News Server
Office/Productivity
OpenFabrics Enterprise Distribution
PostgreSQL Database
Printing Support
Ruby
Sound and Video
Text-based Internet
Tomboy
Virtualization
X Software Development
X Window System
XFCE-4.4

And in CentOS 6 this list was revised and expanded to the following groups:

$ yum grouplist

Installed Groups:
Base
E-mail server
Graphical Administration Tools
Hardware monitoring utilities
Legacy UNIX compatibility
Networking Tools
Optional packages
Performance Tools
Perl Support
Available Groups:
Additional Development
Afrikaans Support
Albanian Support
Amazigh Support
Arabic Support
Armenian Support
Assamese Support
Azerbaijani Support
Backup Client
Backup Server
Basque Support
Belarusian Support
Bengali Support
Bhutanese Support
Brazilian Portuguese Support
Breton Support
Bulgarian Support
CIFS file server
Catalan Support
Chhattisgarhi Support
Chichewa Support
Chinese Support
Compatibility libraries
Console internet tools
Coptic Support
Croatian Support
Czech Support
Danish Support
Debugging Tools
Desktop
Desktop Debugging and Performance Tools
Desktop Platform
Desktop Platform Development
Development tools
Dial-up Networking Support
Directory Client
Directory Server
Dutch Support
Eclipse
Emacs
English (UK) Support
Esperanto Support
Estonian Support
Ethiopic Support
FCoE Storage Client
FTP server
Faroese Support
Fijian Support
Filipino Support
Finnish Support
Fonts
French Support
Frisian Support
Friulian Support
Gaelic Support
Galician Support
General Purpose Desktop
Georgian Support
German Support
Graphics Creation Tools
Greek Support
Gujarati Support
Hebrew Support
High Availability
High Availability Management
Hiligaynon Support
Hindi Support
Hungarian Support
Icelandic Support
Indonesian Support
Infiniband Support
Input Methods
Interlingua Support
Internet Applications
Internet Browser
Inuktitut Support
Irish Support
Italian Support
Japanese Support
Java Platform
KDE Desktop
Kannada Support
Kashmiri Support
Kashubian Support
Kazakh Support
Khmer Support
Kinyarwanda Support
Konkani Support
Korean Support
Kurdish Support
Lao Support
Large Systems Performance
Latin Support
Latvian Support
Legacy X Window System compatibility
Lithuanian Support
Load Balancer
Low Saxon Support
Luxembourgish Support
Macedonian Support
Mainframe Access
Maithili Support
Malagasy Support
Malay Support
Malayalam Support
Maltese Support
Manx Support
Maori Support
Marathi Support
Messaging Client Support
Messaging Server Support
Mongolian Support
MySQL Database client
MySQL Database server
Myanmar (Burmese) Support
NFS file server
Nepali Support
Network Infrastructure Server
Network Storage Server
Network file system client
Northern Sotho Support
Norwegian Support
Occitan Support
Office Suite and Productivity
Oriya Support
PHP Support
Persian Support
Polish Support
Portuguese Support
PostgreSQL Database client
PostgreSQL Database server
Print Server
Printing client
Punjabi Support
Remote Desktop Clients
Resilient Storage
Romanian Support
Russian Support
SNMP Support
Sanskrit Support
Sardinian Support
Scalable Filesystems
Scientific support
Security Tools
Serbian Support
Server Platform
Server Platform Development
Sindhi Support
Sinhala Support
Slovak Support
Slovenian Support
Smart card support
Somali Support
Southern Ndebele Support
Southern Sotho Support
Spanish Support
Storage Availability Tools
Swahili Support
Swati Support
Swedish Support
System Management
System administration tools
Tagalog Support
Tajik Support
Tamil Support
TeX support
Technical Writing
Telugu Support
Tetum Support
Thai Support
Tibetan Support
Tsonga Support
Tswana Support
TurboGears application framework
Turkish Support
Turkmen Support
Ukrainian Support
Upper Sorbian Support
Urdu Support
Uzbek Support
Venda Support
Vietnamese Support
Virtualization
Virtualization Client
Virtualization Platform
Virtualization Tools
Walloon Support
Web Server
Web Servlet Engine
Web-Based Enterprise Management
Welsh Support
X Window System
Xhosa Support
Zulu Support
iSCSI Storage Client

So as you can see various groups were removed, some were renamed and others were added. I’ve come to expect problems like this with every CentOS and Fedora upgrade, since there appears to be little to no thought given to compatibility between releases. So with that said, my applications just finished compiling so it’s time to take CentOS 6 for a ride. :)

This article was posted by Matty on 2011-11-26 16:07:00 -0400 -0400