Bug 1006730 - "unhandled internal exception: Invalid type [normal] specified." when using client.configchannel.create() API
Summary: "unhandled internal exception: Invalid type [normal] specified." when using c...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 560
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2013-09-11 08:04 UTC by Jan Hutař
Modified: 2018-04-09 09:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-09 09:12:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2013-09-11 08:04:33 UTC
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 09:05:14 UTC
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 09:12:19 UTC
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.