2017-04-10 21:53:08 |
Simon Poirier |
description |
Steps:
sudo ./scripts/landscape-client -c root-client.conf > /tmp/client.log
cd landscape-server
source ./dev/setup-api
landscape-api create-repository-profile repo_prof
landscape-api associate-repository-profile repo_prof --all-computers
approve the activity in the UI
Check the logs
2017-04-10 21:24:50,962 ERROR [MainThread] ('Error occured running message handler %s with args %r %r.', 'landscape.manager.aptsources.AptSources._handle_repositories.<locals>.<lambda>()', (), {})
Additionally there will be an empty /etc/apt/sources.list.d/landscape-repo_prof.list instead of one with a comment and/or sources. |
Steps:
sudo ./scripts/landscape-client -c root-client.conf > /tmp/client.log
cd landscape-server
source ./dev/setup-api
landscape-api create-repository-profile repo_prof
landscape-api associate-repository-profile repo_prof --all-computers
approve the activity in the UI
Check the logs
2017-04-10 21:24:50,962 ERROR [MainThread] ('Error occured running message handler %s with args %r %r.', 'landscape.manager.aptsources.AptSources._handle_repositories.<locals>.<lambda>()', (), {})
TypeError: write() argument must be str, not bytes
Additionally there will be an empty /etc/apt/sources.list.d/landscape-repo_prof.list instead of one with a comment and/or sources. |
|