How to pass an empty string value for a parameter in spacewalk-api through the command line ?

Solution In Progress - Updated -

Issue

  • How to pass an empty string value for a parameter in spacewalk-api through the command line ?

  • Creation of channel via API fails with below mentioned error:

# spacewalk-api --server=<satavr> --user=<userid>--password=<pwd> channel.software.create "%session%" new_chan_label new_chan_name new_chan_summary channel-x86_64 <don't want a parentLabel> sha256
Cmd output: Fault returned from XML RPC Server, fault code -1: redstone.xmlrpc.XmlRpcFault: unhandled internal exception: User 2 does not have access to channel sha256 or the channel does not exist.

Environment

  • Red Hat Satellite 5.x
  • Spacewalk-api

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content