Steps to reproduce:
1) Add tag to a landscape-client, ex assgn tag 'täg 2) Go to scripts in the GUI page and attempt to execute script on that client 3) Script will attempt to run on client and will fail, GUI will show below error:
[Failure instance: Traceback: <type 'exceptions.TypeError'>: Environment contains a non-string value /usr/lib/python2.7/dist-packages/landscape/manager/scriptexecution.py:176:_handle_execute_script /usr/lib/python2.7/dist-packages/landscape/manager/scriptexecution.py:292:run_script /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:306:addCallback /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:295:addCallbacks --- <exception caught here> --- /usr/lib/python2.7/dist-packages/twisted/internet/defer.py:577:_runCallbacks /usr/lib/python2.7/dist-packages/landscape/manager/scriptexecution.py:290:prepare_script /usr/lib/python2.7/dist-packages/landscape/manager/scriptexecution.py:129:_run_script /usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py:336:spawnProcess /usr/lib/python2.7/dist-packages/twisted/internet/base.py:923:_checkProcessArgs ]
Above exception is generated by the client w/ LANDSCAPE_COMPUTER_TAGS w/ value being None
Steps to reproduce:
1) Add tag to a landscape-client, ex assgn tag 'täg
2) Go to scripts in the GUI page and attempt to execute script on that client
3) Script will attempt to run on client and will fail, GUI will show below error:
[Failure instance: Traceback: <type 'exceptions. TypeError' >: Environment contains a non-string value python2. 7/dist- packages/ landscape/ manager/ scriptexecution .py:176: _handle_ execute_ script python2. 7/dist- packages/ landscape/ manager/ scriptexecution .py:292: run_script python2. 7/dist- packages/ twisted/ internet/ defer.py: 306:addCallback python2. 7/dist- packages/ twisted/ internet/ defer.py: 295:addCallback s python2. 7/dist- packages/ twisted/ internet/ defer.py: 577:_runCallbac ks python2. 7/dist- packages/ landscape/ manager/ scriptexecution .py:290: prepare_ script python2. 7/dist- packages/ landscape/ manager/ scriptexecution .py:129: _run_script python2. 7/dist- packages/ twisted/ internet/ posixbase. py:336: spawnProcess python2. 7/dist- packages/ twisted/ internet/ base.py: 923:_checkProce ssArgs
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
--- <exception caught here> ---
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
]
Above exception is generated by the client w/ LANDSCAPE_ COMPUTER_ TAGS w/ value being None