RH Satellite API call 'channel.software.listSubscribedSystems' fails when used with a shared channel
Issue
When using a user in a child organization to list the systems subscribed to a shared channel, I get an error message "No such channel:
#!/usr/bin/perl
use strict;
use warnings;
use Frontier::Client;
use Data::Dumper;
my $HOST = '<HOST>';
my $client = new Frontier::Client(url => "http://$HOST/rpc/api");
my $session = $client->call('auth.login', '<LOGIN>', '<PWD>');
my @t = $client->call('channel.listAllChannels', $session);
print Dumper(@t);
$client->call('channel.software.listSubscribedSystems', $session, '<SHARED CHANNEL>');
$session = $client->call('auth.logout','<LOGIN>', '<PWD>');
Fault returned from XML RPC Server, fault code -210: redstone.xmlrpc.XmlRpcFault: No such channel:
Environment
- Red Hat Satellite 5.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.