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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.