@Dmitrii, thanks for the simple test. Just did a quick run through of testing cloud archive packages on bionic. All passed the test:
root@b1:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.4 LTS Release: 18.04 Codename: bionic root@b1:/usr/lib/python3/dist-packages/oslo_policy# apt policy python3-oslo.policy python3-oslo.policy: Installed: 1.38.1-0ubuntu1~cloud1 Candidate: 3.1.0-0ubuntu1.1~cloud0 Version table: 3.1.0-0ubuntu1.1~cloud0 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/ussuri/main amd64 Packages 2.3.2-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/train/main amd64 Packages 2.1.1-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/stein/main amd64 Packages *** 1.38.1-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/rocky/main amd64 Packages 100 /var/lib/dpkg/status 1.33.1-0ubuntu2 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 1.33.1-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages root@b1:/usr/lib/python3/dist-packages/oslo_policy# PYTHONPATH=`realpath tests` ; python3 -m unittest tests.test_policy.EnforcerTest.test_load_directory_after_file_update WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. . ---------------------------------------------------------------------- Ran 1 test in 0.410s OK root@b1:/usr/lib/python3/dist-packages/oslo_policy# apt policy python3-oslo.policy python3-oslo.policy: Installed: 2.1.1-0ubuntu1~cloud1 Candidate: 3.1.0-0ubuntu1.1~cloud0 Version table: 3.1.0-0ubuntu1.1~cloud0 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/ussuri/main amd64 Packages 2.3.2-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/train/main amd64 Packages *** 2.1.1-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/stein/main amd64 Packages 100 /var/lib/dpkg/status 1.38.1-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/rocky/main amd64 Packages 1.33.1-0ubuntu2 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 1.33.1-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages root@b1:/usr/lib/python3/dist-packages/oslo_policy# PYTHONPATH=`realpath tests` ; python3 -m unittest tests.test_policy.EnforcerTest.test_load_directory_after_file_update WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. . ---------------------------------------------------------------------- Ran 1 test in 0.233s OK root@b1:/usr/lib/python3/dist-packages/oslo_policy# apt policy python3-oslo.policy python3-oslo.policy: Installed: 2.3.2-0ubuntu1~cloud1 Candidate: 3.1.0-0ubuntu1.1~cloud0 Version table: 3.1.0-0ubuntu1.1~cloud0 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/ussuri/main amd64 Packages *** 2.3.2-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/train/main amd64 Packages 100 /var/lib/dpkg/status 2.1.1-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/stein/main amd64 Packages 1.38.1-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/rocky/main amd64 Packages 1.33.1-0ubuntu2 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 1.33.1-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages root@b1:/usr/lib/python3/dist-packages/oslo_policy# PYTHONPATH=`realpath tests` ; python3 -m unittest tests.test_policy.EnforcerTest.test_load_directory_after_file_update WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. . ---------------------------------------------------------------------- Ran 1 test in 0.194s OK root@b1:/usr/lib/python3/dist-packages/oslo_policy# apt policy python3-oslo.policy python3-oslo.policy: Installed: 3.1.0-0ubuntu1.1~cloud0 Candidate: 3.1.0-0ubuntu1.1~cloud0 Version table: *** 3.1.0-0ubuntu1.1~cloud0 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/ussuri/main amd64 Packages 100 /var/lib/dpkg/status 2.3.2-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/train/main amd64 Packages 2.1.1-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/stein/main amd64 Packages 1.38.1-0ubuntu1~cloud1 500 500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/rocky/main amd64 Packages 1.33.1-0ubuntu2 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 1.33.1-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages root@b1:/usr/lib/python3/dist-packages/oslo_policy# PYTHONPATH=`realpath tests` ; python3 -m unittest tests.test_policy.EnforcerTest.test_load_directory_after_file_update WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined. . ---------------------------------------------------------------------- Ran 1 test in 0.155s OK ** Tags removed: verification-rocky-needed ** Tags added: verification-rocky-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880959 Title: Rules from the policy directory files are not reapplied after changes to the primary policy file To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1880959/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs