Comment 0 for bug 1681582

Revision history for this message
Simon Poirier (simpoir) wrote :

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.