You have been subscribed to a public bug: Landscape can't apply Ubuntu 18.04 repository profiles.
Steps to reproduce: 1) Have the newest Ubuntu signing mirror key [C0B21F32] and your resign mirror key imported, and a registered 18.04 computer that has the tag "bionic-test". 2) Create a small repository: $ landscape-api create-distribution ubuntu $ landscape-api create-series --pockets security --components restricted --architectures amd64 --mirror-gpg-key ubuntu-new-mirror-key --gpg-key lds-repo-sign-key --mirror-uri http://archive.ubuntu.com/ubuntu/ --mirror-series bionic bionic-repo ubuntu 3) Initiate the sync: $ landscape-api sync-mirror-pocket security bionic-repo ubuntu 4) Create a repository profile: $ landscape-api create-repository-profile --description "This profile is for Bionic-security-restricted" bio-secu-restricted-profile 5) Associate the repository profile to the computer with the "bionic-test" tag: $ landscape-api associate-repository-profile --tags bionic-test bio-secu-restricted-profile 6) Add the security pocket to the repository profile: $ landscape-api add-pockets-to-repository-profile bio-secu-restricted-profile security bionic-repo ubuntu The activity fails with "TypeError: a bytes-like object is required, not 'str'", and the landscape-bio-secu-restricted-profile.list file on the client is empty. ** Affects: landscape-client (Ubuntu) Importance: High Assignee: Simon Poirier (simpoir) Status: Fix Committed ** Tags: lds-squad -- Applying Bionic repository profile doesn't work https://bugs.launchpad.net/bugs/1771443 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
