Description of problem: When we try to create new distribution for Fedora OS, we get ISE. Version-Release number of selected component (if applicable): Satellite-5.7.0-RHEL6-re20141001.0 How reproducible: 100% Steps to Reproduce: 1. Prepare ks for Fedora > mkdir /var/satellite/rhn/kickstart/ks-fedora-x86_64 > wget -O /tmp/Fedora-20-x86_64-netinst.iso http://download.devel.redhat.com/released/F-20/GOLD/Fedora/x86_64/iso/Fedora-20-x86_64-netinst.iso > mount -o loop,uid=48,gid=48 /tmp/Fedora-20-x86_64-netinst.iso /var/satellite/rhn/kickstart/ks-fedora-x86_64 2. Prepare base channel: > spacewalk-common-channels -u admin -p xxx fedora20 3. Create Fedora distro Open page (/rhn/kickstart/TreeCreate.do) and fill in the form: Distribution Label: fedora-20-x86_64 Tree path: /var/satellite/rhn/kickstart/ks-fedora-x86_64 Base Channel: Fedora 20 (x86_64) Installer Generation: Fedora 3. Press the button "Create Kickstart Distribution" Actual results: ISE /var/log/cobbler/cobbler.log Thu_Oct_16_2014_03_30_03 Thu Oct 16 03:30:06 2014 - INFO | REMOTE new_item(distro); user(admin) Thu Oct 16 03:30:06 2014 - DEBUG | authorize; ['admin', 'new_distro', None, None, True] Thu Oct 16 03:30:06 2014 - DEBUG | REMOTE admin authorization result: True; user(?) Thu Oct 16 03:30:06 2014 - INFO | REMOTE modify_item(distro); user(admin); object_id(___NEW___distro::pt6fcAx1qA5BlFNEfVk5uuGOr6XXz92tqw==); attribute(name) Thu Oct 16 03:30:06 2014 - DEBUG | authorize; ['admin', 'modify_distro', <cobbler.item_distro.Distro instance at 0x7f67f81adb48>, 'name', True] Thu Oct 16 03:30:06 2014 - DEBUG | REMOTE admin authorization result: True; user(?) Thu Oct 16 03:30:06 2014 - INFO | REMOTE modify_item(distro); user(admin); object_id(___NEW___distro::pt6fcAx1qA5BlFNEfVk5uuGOr6XXz92tqw==); attribute(kernel) Thu Oct 16 03:30:06 2014 - DEBUG | authorize; ['admin', 'modify_distro', <cobbler.item_distro.Distro instance at 0x7f67f81adb48>, 'kernel', True] Thu Oct 16 03:30:06 2014 - DEBUG | REMOTE admin authorization result: True; user(?) Thu Oct 16 03:30:06 2014 - INFO | REMOTE modify_item(distro); user(admin); object_id(___NEW___distro::pt6fcAx1qA5BlFNEfVk5uuGOr6XXz92tqw==); attribute(initrd) Thu Oct 16 03:30:06 2014 - DEBUG | authorize; ['admin', 'modify_distro', <cobbler.item_distro.Distro instance at 0x7f67f81adb48>, 'initrd', True] Thu Oct 16 03:30:06 2014 - DEBUG | REMOTE admin authorization result: True; user(?) Thu Oct 16 03:30:06 2014 - INFO | REMOTE modify_item(distro); user(admin); object_id(___NEW___distro::pt6fcAx1qA5BlFNEfVk5uuGOr6XXz92tqw==); attribute(breed) Thu Oct 16 03:30:06 2014 - DEBUG | authorize; ['admin', 'modify_distro', <cobbler.item_distro.Distro instance at 0x7f67f81adb48>, 'breed', True] Thu Oct 16 03:30:06 2014 - DEBUG | REMOTE admin authorization result: True; user(?) Thu Oct 16 03:30:06 2014 - INFO | REMOTE modify_item(distro); user(admin); object_id(___NEW___distro::pt6fcAx1qA5BlFNEfVk5uuGOr6XXz92tqw==); attribute(os_version) Thu Oct 16 03:30:06 2014 - DEBUG | authorize; ['admin', 'modify_distro', <cobbler.item_distro.Distro instance at 0x7f67f81adb48>, 'os_version', True] Thu Oct 16 03:30:06 2014 - DEBUG | REMOTE admin authorization result: True; user(?) Thu Oct 16 03:30:06 2014 - INFO | Exception occured: <class 'cobbler.cexceptions.CX'> Thu Oct 16 03:30:06 2014 - INFO | Exception value: '--os-version for breed redhat must be one of rhel2.1, rhel3, rhel4, rhel5, rhel5.4, rhel6, rhel7, fedora5, fedora6, fedora7, fedora8, fedora9, fedora10, fedora11, fedora12, fedora13, fedora14, fedora15, fedora16, fedora17, fedora18, fedora19, fedora20, generic24, generic26, virtio26, other, given was fedora' Thu Oct 16 03:30:06 2014 - INFO | Exception Info: File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 1759, in _dispatch return method_handle(*params) File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 762, in modify_distro return self.modify_item("distro",object_id,attribute,arg,token) File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 759, in modify_item return method(arg) File "/usr/lib/python2.6/site-packages/cobbler/item_distro.py", line 174, in set_os_version return utils.set_os_version(self,os_version) File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 1245, in set_os_version raise CX(_("--os-version for breed %s must be one of %s, given was %s") % (self.breed, nicer, os_version)) /var/log/tomcat*/catalina.out 2014-10-16 03:30:06,988 [TP-Processor23] WARN org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class java.lang.RuntimeException 2014-10-16 03:30:06,993 [TP-Processor23] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back javax.servlet.ServletException: java.lang.RuntimeException: redstone.xmlrpc.XmlRpcFault: <class 'cobbler.cexceptions.CX'>:'--os-version for breed redhat must be one of rhel2.1, rhel3, rhel4, rhel5, rhel5.4, rhel6, rhel7, fedora5, fedora6, fedora7, fedora8, fedora9, fedora10, fedora11, fedora12, fedora13, fedora14, fedora15, fedora16, fedora17, fedora18, fedora19, fedora20, generic24, generic26, virtio26, other, given was fedora' at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:102) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:127) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:67) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:100) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:57) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:761) Caused by: java.lang.RuntimeException: redstone.xmlrpc.XmlRpcFault: <class 'cobbler.cexceptions.CX'>:'--os-version for breed redhat must be one of rhel2.1, rhel3, rhel4, rhel5, rhel5.4, rhel6, rhel7, fedora5, fedora6, fedora7, fedora8, fedora9, fedora10, fedora11, fedora12, fedora13, fedora14, fedora15, fedora16, fedora17, fedora18, fedora19, fedora20, generic24, generic26, virtio26, other, given was fedora' at com.redhat.rhn.manager.kickstart.tree.BaseTreeEditOperation.store(BaseTreeEditOperation.java:122) at com.redhat.rhn.manager.kickstart.tree.TreeCreateOperation.store(TreeCreateOperation.java:61) at com.redhat.rhn.frontend.action.BaseEditAction.execute(BaseEditAction.java:65) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) ... 40 more Caused by: redstone.xmlrpc.XmlRpcFault: <class 'cobbler.cexceptions.CX'>:'--os-version for breed redhat must be one of rhel2.1, rhel3, rhel4, rhel5, rhel5.4, rhel6, rhel7, fedora5, fedora6, fedora7, fedora8, fedora9, fedora10, fedora11, fedora12, fedora13, fedora14, fedora15, fedora16, fedora17, fedora18, fedora19, fedora20, generic24, generic26, virtio26, other, given was fedora' at redstone.xmlrpc.XmlRpcClient.handleResponse(XmlRpcClient.java:443) at redstone.xmlrpc.XmlRpcClient.endCall(XmlRpcClient.java:376) at redstone.xmlrpc.XmlRpcClient.invoke(XmlRpcClient.java:165) at org.cobbler.CobblerConnection.invokeMethod(CobblerConnection.java:117) at org.cobbler.CobblerConnection.invokeTokenMethod(CobblerConnection.java:150) at org.cobbler.Distro.invokeModify(Distro.java:129) at org.cobbler.CobblerObject.modify(CobblerObject.java:149) at org.cobbler.Distro.setOsVersion(Distro.java:208) at org.cobbler.Distro.create(Distro.java:65) at com.redhat.rhn.manager.kickstart.cobbler.CobblerDistroCreateCommand.store(CobblerDistroCreateCommand.java:90) at com.redhat.rhn.manager.kickstart.tree.BaseTreeEditOperation.store(BaseTreeEditOperation.java:94) ... 43 more Expected results: No ISE Additional info:
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is being moved to a Closed Current Release state. The Satellite 5.7 GA Errata: - https://rhn.redhat.com/errata/RHSA-2015-0033.html Satellite 5.7 Release Notes: - https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html Satellite Customer Portal Blog announcement for release: - https://access.redhat.com/blogs/1169563/posts/1315743 Cliff