Bug 1006730 - "unhandled internal exception: Invalid type [normal] specified." when using client.configchannel.create() API
"unhandled internal exception: Invalid type [normal] specified." when using c...
Status: CLOSED DEFERRED
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API (Show other bugs)
560
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Tomas Lestach
Red Hat Satellite QA List
:
Depends On:
Blocks: 462714
  Show dependency treegraph
 
Reported: 2013-09-11 04:04 EDT by Jan Hutař
Modified: 2018-04-09 05:12 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-09 05:12:19 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Hutař 2013-09-11 04:04:33 EDT
Description of problem:
Getting "unhandled internal exception: Invalid type [normal] specified." when using client.configchannel.create() API


Version-Release number of selected component (if applicable):
spacewalk-java-2.0.2-34.el5sat


How reproducible:
once out of many


Steps to Reproduce:
I do not have a way how to reproduce, but seen this when calling client.configchannel.create() API call


Actual results:
xmlrpclib.Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal exception: Invalid type [normal] specified. Make sure you specify one of the following types in your expression [central, central, global, local, local_override, local, local, local_override, sandbox, server_import, server_import]'>


Expected results:
Should work
Comment 3 Tomas Lestach 2013-09-11 05:05:14 EDT
Well, one thing is I have no idea, how you managed to reproduce it.

Second thing is the error message you're getting. Because if I simulate a non-existing config channel type, I'm getting:
xmlrpclib.Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal exception: Invalid type [normalp] specified. Make sure you specify one of the following types in your expression [central, global, local, local_override, normal, sandbox, server_import]'>

Note the difference in supported types.
- you have duplicates there: central, local (3 times), local_override, server_import
- and you miss : normal
(what does not correspond with the source code at all)

Note: I checked the affected machined and the content of the rhnConfigChannelType looks good:
# echo "select id, label from rhnConfigChannelType" | spacewalk-sql -i
 id |     label      
----+----------------
  1 | normal
  2 | local_override
  3 | server_import
(3 rows)
Comment 5 Tomas Lestach 2018-04-09 05:12:19 EDT
We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog.

This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED. 

Closing now to help set customer expectations as early as possible. You are welcome to re-open this bug if needed.

Note You need to log in before you can comment on or make changes to this bug.