Bug 1435332

Summary: softwarechannel_setorgaccesstree does not work ('list' object has no attribute 'read')
Product: Red Hat Satellite 5 Reporter: Lukáš Hellebrandt <lhellebr>
Component: ServerAssignee: Gennadii Altukhov <galtukho>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 580CC: galtukho, lhellebr, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacecmd-2.5.0-11-sat Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:10:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1358815    

Description Lukáš Hellebrandt 2017-03-23 14:45:29 UTC
Description of problem:
Running softwarechannel_setorgaccesstree leads to the following error:

ERROR: 'list' object has no attribute 'read'

How reproducible:
Deterministic

Steps to Reproduce:
# spacecmd -- softwarechannel_setorgaccesstree testchan -e
ERROR: 'list' object has no attribute 'read'

Actual results:
Error

Expected results:
No error and correctly set channel access

Additional info:
This is a new function in 5.8 so no regression

Comment 6 Lukáš Hellebrandt 2017-03-28 09:57:57 UTC
Verified with spacecmd-2.5.0-11.

The call now doesn't throw exception and does what it is supposed to do.