Activity log for bug #1930586

Date Who What changed Old value New value Message
2021-06-02 13:15:37 Wenjun Wang bug added bug
2021-06-02 13:27:44 Wenjun Wang description **Bug Report** What happened: error logs in the horizon log reported by the oslo-policy module, ==> /var/log/kolla/horizon/horizon.log <== [Fri May 28 13:07:42.174630 2021] [wsgi:error] Failed to open the policy file for identity /etc/opes/keystone.yami: [Errno 2] No such file or directory the similar logs repeate of cinder.yaml, nova.yaml, glance.yaml, heat.yaml. This will caused the user can see the admin panels even though they don not have admin role. What you expected to happen: No error logs in the horizon log files, and the member can not see the admin dashboard after the deployment. How to reproduce it: 1. change the main configs in globals.yaml as followed: kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" 2. kolla-ansible -i all-in-one deploy 3. login the dashboard with admin credentails 4. create a new project test 5. create a new user tester 6. assign the member role for tester to the test project 7. login the dashboard with the tester credentails **Environment**: * OS: Ubuntu 20.04 * Kernel: 5.4.0-73 * Docker version: 20.10.2 * Kolla-Ansible version: 12.0.0.0rc1 * Docker image Install type: binary * Docker image distribution: ubuntu * Are you using official images from Docker Hub or self built? official images * Share your inventory file, globals.yml and other configuration files if relevant kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" I fixed this by copy the default_policies manully. # enter the horizon container docker exec -it horizon bash # copy the default policy files in the horizon container cp -r /usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/ /etc/openstack-dashboard/ # exit the container exit # restart the horizon container to apply the changes docker restart horizon **Bug Report** What happened:   error logs in the horizon log reported by the oslo-policy module, ==> /var/log/kolla/horizon/horizon.log <== [Fri May 28 13:07:42.174630 2021] [wsgi:error] Failed to open the policy file for identity /etc/opes/keystone.yami: [Errno 2] No such file or directory the similar logs repeate of cinder.yaml, nova.yaml, glance.yaml, heat.yaml. This will caused the user can see the admin panels even though they don not have admin role. What you expected to happen:   No error logs in the horizon log files, and the member can not see the admin dashboard after the deployment. How to reproduce it: 1. change the main configs in globals.yaml as followed: kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" 2. kolla-ansible -i all-in-one deploy 3. login the dashboard with admin credentails 4. create a new project test 5. create a new user tester 6. assign the member role for tester to the test project 7. login the dashboard with the tester credentails **Environment**: * OS: Ubuntu 20.04 * Kernel: 5.4.0-73 * Docker version: 20.10.2 * Kolla-Ansible version: 12.0.0.0rc1 * Docker image Install type: binary * Docker image distribution: ubuntu * Are you using official images from Docker Hub or self built? official images * Share your inventory file, globals.yml and other configuration files if relevant kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" I solved this problem by manually copying the default policy. # enter the horizon container docker exec -it horizon bash # copy the default policy files in the horizon container cp -r /usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/ /etc/openstack-dashboard/ # exit the container exit # restart the horizon container to apply the changes docker restart horizon
2021-06-02 13:29:00 Wenjun Wang description **Bug Report** What happened:   error logs in the horizon log reported by the oslo-policy module, ==> /var/log/kolla/horizon/horizon.log <== [Fri May 28 13:07:42.174630 2021] [wsgi:error] Failed to open the policy file for identity /etc/opes/keystone.yami: [Errno 2] No such file or directory the similar logs repeate of cinder.yaml, nova.yaml, glance.yaml, heat.yaml. This will caused the user can see the admin panels even though they don not have admin role. What you expected to happen:   No error logs in the horizon log files, and the member can not see the admin dashboard after the deployment. How to reproduce it: 1. change the main configs in globals.yaml as followed: kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" 2. kolla-ansible -i all-in-one deploy 3. login the dashboard with admin credentails 4. create a new project test 5. create a new user tester 6. assign the member role for tester to the test project 7. login the dashboard with the tester credentails **Environment**: * OS: Ubuntu 20.04 * Kernel: 5.4.0-73 * Docker version: 20.10.2 * Kolla-Ansible version: 12.0.0.0rc1 * Docker image Install type: binary * Docker image distribution: ubuntu * Are you using official images from Docker Hub or self built? official images * Share your inventory file, globals.yml and other configuration files if relevant kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" I solved this problem by manually copying the default policy. # enter the horizon container docker exec -it horizon bash # copy the default policy files in the horizon container cp -r /usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/ /etc/openstack-dashboard/ # exit the container exit # restart the horizon container to apply the changes docker restart horizon **Bug Report** What happened:   error logs in the horizon log reported by the oslo-policy module, ==> /var/log/kolla/horizon/horizon.log <== [Fri May 28 13:07:42.174630 2021] [wsgi:error] Failed to open the policy file for identity /etc/opes/keystone.yami: [Errno 2] No such file or directory the similar logs repeate for cinder.yaml, nova.yaml, glance.yaml, heat.yaml. This will caused the user can see the admin panels even though they don not have admin role. What you expected to happen:   No error logs in the horizon log files, and the member can not see the admin dashboard after the deployment. How to reproduce it: 1. change the main configs in globals.yaml as followed: kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" 2. kolla-ansible -i all-in-one deploy 3. login the dashboard with admin credentails 4. create a new project test 5. create a new user tester 6. assign the member role for tester to the test project 7. login the dashboard with the tester credentails **Environment**: * OS: Ubuntu 20.04 * Kernel: 5.4.0-73 * Docker version: 20.10.2 * Kolla-Ansible version: 12.0.0.0rc1 * Docker image Install type: binary * Docker image distribution: ubuntu * Are you using official images from Docker Hub or self built? official images * Share your inventory file, globals.yml and other configuration files if relevant kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" I solved this problem by manually copying the default policy. # enter the horizon container docker exec -it horizon bash # copy the default policy files in the horizon container cp -r /usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/ /etc/openstack-dashboard/ # exit the container exit # restart the horizon container to apply the changes docker restart horizon
2021-06-02 13:29:13 Wenjun Wang description **Bug Report** What happened:   error logs in the horizon log reported by the oslo-policy module, ==> /var/log/kolla/horizon/horizon.log <== [Fri May 28 13:07:42.174630 2021] [wsgi:error] Failed to open the policy file for identity /etc/opes/keystone.yami: [Errno 2] No such file or directory the similar logs repeate for cinder.yaml, nova.yaml, glance.yaml, heat.yaml. This will caused the user can see the admin panels even though they don not have admin role. What you expected to happen:   No error logs in the horizon log files, and the member can not see the admin dashboard after the deployment. How to reproduce it: 1. change the main configs in globals.yaml as followed: kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" 2. kolla-ansible -i all-in-one deploy 3. login the dashboard with admin credentails 4. create a new project test 5. create a new user tester 6. assign the member role for tester to the test project 7. login the dashboard with the tester credentails **Environment**: * OS: Ubuntu 20.04 * Kernel: 5.4.0-73 * Docker version: 20.10.2 * Kolla-Ansible version: 12.0.0.0rc1 * Docker image Install type: binary * Docker image distribution: ubuntu * Are you using official images from Docker Hub or self built? official images * Share your inventory file, globals.yml and other configuration files if relevant kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" I solved this problem by manually copying the default policy. # enter the horizon container docker exec -it horizon bash # copy the default policy files in the horizon container cp -r /usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/ /etc/openstack-dashboard/ # exit the container exit # restart the horizon container to apply the changes docker restart horizon **Bug Report** What happened:   error logs in the horizon log reported by the oslo-policy module, ==> /var/log/kolla/horizon/horizon.log <== [Fri May 28 13:07:42.174630 2021] [wsgi:error] Failed to open the policy file for identity /etc/opes/keystone.yami: [Errno 2] No such file or directory the similar logs repeate for cinder.yaml, nova.yaml, glance.yaml, heat.yaml. This will cause the user can see the admin panels even though they don not have admin role. What you expected to happen:   No error logs in the horizon log files, and the member can not see the admin dashboard after the deployment. How to reproduce it: 1. change the main configs in globals.yaml as followed: kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" 2. kolla-ansible -i all-in-one deploy 3. login the dashboard with admin credentails 4. create a new project test 5. create a new user tester 6. assign the member role for tester to the test project 7. login the dashboard with the tester credentails **Environment**: * OS: Ubuntu 20.04 * Kernel: 5.4.0-73 * Docker version: 20.10.2 * Kolla-Ansible version: 12.0.0.0rc1 * Docker image Install type: binary * Docker image distribution: ubuntu * Are you using official images from Docker Hub or self built? official images * Share your inventory file, globals.yml and other configuration files if relevant kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" I solved this problem by manually copying the default policy. # enter the horizon container docker exec -it horizon bash # copy the default policy files in the horizon container cp -r /usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/ /etc/openstack-dashboard/ # exit the container exit # restart the horizon container to apply the changes docker restart horizon
2021-06-02 13:29:27 Wenjun Wang description **Bug Report** What happened:   error logs in the horizon log reported by the oslo-policy module, ==> /var/log/kolla/horizon/horizon.log <== [Fri May 28 13:07:42.174630 2021] [wsgi:error] Failed to open the policy file for identity /etc/opes/keystone.yami: [Errno 2] No such file or directory the similar logs repeate for cinder.yaml, nova.yaml, glance.yaml, heat.yaml. This will cause the user can see the admin panels even though they don not have admin role. What you expected to happen:   No error logs in the horizon log files, and the member can not see the admin dashboard after the deployment. How to reproduce it: 1. change the main configs in globals.yaml as followed: kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" 2. kolla-ansible -i all-in-one deploy 3. login the dashboard with admin credentails 4. create a new project test 5. create a new user tester 6. assign the member role for tester to the test project 7. login the dashboard with the tester credentails **Environment**: * OS: Ubuntu 20.04 * Kernel: 5.4.0-73 * Docker version: 20.10.2 * Kolla-Ansible version: 12.0.0.0rc1 * Docker image Install type: binary * Docker image distribution: ubuntu * Are you using official images from Docker Hub or self built? official images * Share your inventory file, globals.yml and other configuration files if relevant kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" I solved this problem by manually copying the default policy. # enter the horizon container docker exec -it horizon bash # copy the default policy files in the horizon container cp -r /usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/ /etc/openstack-dashboard/ # exit the container exit # restart the horizon container to apply the changes docker restart horizon **Bug Report** What happened:   error logs in the horizon log reported by the oslo-policy module, ==> /var/log/kolla/horizon/horizon.log <== [Fri May 28 13:07:42.174630 2021] [wsgi:error] Failed to open the policy file for identity /etc/opes/keystone.yami: [Errno 2] No such file or directory the similar logs repeate for cinder.yaml, nova.yaml, glance.yaml, heat.yaml. This will cause the user can see the admin panels even though they do not have admin role. What you expected to happen:   No error logs in the horizon log files, and the member can not see the admin dashboard after the deployment. How to reproduce it: 1. change the main configs in globals.yaml as followed: kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" 2. kolla-ansible -i all-in-one deploy 3. login the dashboard with admin credentails 4. create a new project test 5. create a new user tester 6. assign the member role for tester to the test project 7. login the dashboard with the tester credentails **Environment**: * OS: Ubuntu 20.04 * Kernel: 5.4.0-73 * Docker version: 20.10.2 * Kolla-Ansible version: 12.0.0.0rc1 * Docker image Install type: binary * Docker image distribution: ubuntu * Are you using official images from Docker Hub or self built? official images * Share your inventory file, globals.yml and other configuration files if relevant kolla_base_distro: "ubuntu" kolla_install_type: "binary" openstack_release: "wallaby" I solved this problem by manually copying the default policy. # enter the horizon container docker exec -it horizon bash # copy the default policy files in the horizon container cp -r /usr/share/openstack-dashboard/openstack_dashboard/conf/default_policies/ /etc/openstack-dashboard/ # exit the container exit # restart the horizon container to apply the changes docker restart horizon
2021-06-03 09:12:14 Mark Goddard kolla-ansible: importance Undecided High
2021-06-03 09:12:20 Mark Goddard nominated for series kolla-ansible/xena
2021-06-03 09:12:20 Mark Goddard bug task added kolla-ansible/xena
2021-06-03 09:12:20 Mark Goddard nominated for series kolla-ansible/wallaby
2021-06-03 09:12:20 Mark Goddard bug task added kolla-ansible/wallaby
2021-06-03 09:12:28 Mark Goddard kolla-ansible/wallaby: importance Undecided High
2021-06-07 11:11:42 Radosław Piliszek kolla-ansible/xena: status New In Progress
2021-06-07 11:11:44 Radosław Piliszek kolla-ansible/wallaby: status New Triaged
2021-06-08 07:39:15 Mark Goddard kolla-ansible/wallaby: status Triaged Fix Committed
2021-06-08 07:39:18 Mark Goddard kolla-ansible/xena: status In Progress Fix Released