Bug 1578005

Summary: Space between "@" and "Base" causes kickstart upload failures
Product: Red Hat Satellite 5 Reporter: Taft Sanders <tasander>
Component: ProvisioningAssignee: Jan Dobes <jdobes>
Status: CLOSED WONTFIX QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 580CC: cmarinea, rdrazny, tasander, tlestach
Target Milestone: ---Keywords: Regression, Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-26 05:50:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Taft Sanders 2018-05-14 15:17:22 UTC
Description of problem:
From the kickstart profile, the ability to add "Package Groups" prefills with "@ Base". Currently, when provisioning with this we get the following error:


redstone.xmlrpc.XmlRpcFault: unhandled internal exception: a different object with the same identifier value was already associated with the session: [com.redhat.rhn.domain.kickstart.KickstartPackage#{ 21, 1, @ Base }]

When removing the space between the "@" and "Base" = "@Base" provisioning works correctly.

Version-Release number of selected component (if applicable):
Satellite 5.8

How reproducible:
Every time

Steps to Reproduce:
1. Create kickstart profile
2. Check Software >> Package Groups and observe "@ Base"
3. Provision and fail

Actual results:
Provisioning is interrupted with error stating no package group "@ Base"

Expected results:
Correct package group correctly named, provisioning success

Additional info:
When trying to remove the space manually and updating the following is observed for package groups:

@ Base
@Base

When checking the radio button for "Don't install @Base package group" both will be removed and neither can be added back. This behavior is expected.

Comment 1 Tomas Lestach 2018-05-14 15:44:28 UTC
During what action action do you get the redstone.xmlrpc.XmlRpcFault?
With what error message fails the provisioning?

Comment 2 Taft Sanders 2018-05-14 17:09:46 UTC
Forgive me for misunderstanding the issue. It appears that this error is present when uploading a kickstart into the Satellite via the command "spacecmd kickstart_importjson" and not when provisioning a new client with the kickstart file.

Upon removing the space between the "@" and "Base" the Satellite 5.8 is able to upload the kickstart file without error.