Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'], chrootPath='/var/lib/mock/dlrn-centos9-dalmatian-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1038gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.src.rpm Child return code was: 0 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'], chrootPath='/var/lib/mock/dlrn-centos9-dalmatian-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1038gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'], chrootPath='/var/lib/mock/dlrn-centos9-dalmatian-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1038gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cxfav7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tacker-11.1.0.dev38 + /usr/bin/gzip -dc /builddir/build/SOURCES/tacker-11.1.0.dev38-0.20240905153607.7ba267a.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tacker-11.1.0.dev38 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'openstack-tacker-11.1.0 base' + sed -i '/^[[:space:]]*-c{env:.*_CONSTRAINTS_FILE.*/d' tox.ini + sed -i 's/^deps = -c{env:.*_CONSTRAINTS_FILE.*/deps =/' tox.ini + sed -i '/^minversion.*/d' tox.ini + sed -i '/^requires.*virtualenv.*/d' tox.ini + for pkg in doc8 bandit pre-commit hacking flake8-import-order bashate python-blazarclient os-api-ref + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^doc8.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^doc8.*/d' test-requirements.txt + for pkg in doc8 bandit pre-commit hacking flake8-import-order bashate python-blazarclient os-api-ref + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^bandit.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^bandit.*/d' test-requirements.txt + for pkg in doc8 bandit pre-commit hacking flake8-import-order bashate python-blazarclient os-api-ref + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^pre-commit.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^pre-commit.*/d' test-requirements.txt + for pkg in doc8 bandit pre-commit hacking flake8-import-order bashate python-blazarclient os-api-ref + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^hacking.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^hacking.*/d' test-requirements.txt + for pkg in doc8 bandit pre-commit hacking flake8-import-order bashate python-blazarclient os-api-ref + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^flake8-import-order.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^flake8-import-order.*/d' test-requirements.txt + for pkg in doc8 bandit pre-commit hacking flake8-import-order bashate python-blazarclient os-api-ref + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^bashate.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^bashate.*/d' test-requirements.txt + for pkg in doc8 bandit pre-commit hacking flake8-import-order bashate python-blazarclient os-api-ref + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^python-blazarclient.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^python-blazarclient.*/d' test-requirements.txt + for pkg in doc8 bandit pre-commit hacking flake8-import-order bashate python-blazarclient os-api-ref + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f doc/requirements.txt ']' + sed -i '/^os-api-ref.*/d' doc/requirements.txt + for reqfile in doc/requirements.txt test-requirements.txt + '[' -f test-requirements.txt ']' + sed -i '/^os-api-ref.*/d' test-requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.D2uBpF + umask 022 + cd /builddir/build/BUILD + cd tacker-11.1.0.dev38 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + RPM_TOXENV=py39,docs + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/tacker-11.1.0.dev38/pyproject-wheeldir --output /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-buildrequires -t -e py39,docs Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'], chrootPath='/var/lib/mock/dlrn-centos9-dalmatian-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1038gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.C7giqQ + umask 022 + cd /builddir/build/BUILD + cd tacker-11.1.0.dev38 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + RPM_TOXENV=py39,docs + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/tacker-11.1.0.dev38/pyproject-wheeldir --output /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-buildrequires -t -e py39,docs Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 6.0.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement not satisfied: tox-current-env >= 0.0.6 Exiting dependency generation pass: tox itself + cat /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'], chrootPath='/var/lib/mock/dlrn-centos9-dalmatian-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1038gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.1VSAO9 + umask 022 + cd /builddir/build/BUILD + cd tacker-11.1.0.dev38 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + RPM_TOXENV=py39,docs + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/tacker-11.1.0.dev38/pyproject-wheeldir --output /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-buildrequires -t -e py39,docs Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 6.0.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.8) ___________________________________ summary ____________________________________ py39: commands succeeded docs: commands succeeded congratulations :) Handling pbr>=5.5.0 from tox --print-deps-only: py39,docs Requirement satisfied: pbr>=5.5.0 (installed: pbr 6.0.0) Handling Paste>=2.0.2 from tox --print-deps-only: py39,docs Requirement not satisfied: Paste>=2.0.2 Handling PasteDeploy>=1.5.0 from tox --print-deps-only: py39,docs Requirement not satisfied: PasteDeploy>=1.5.0 Handling Routes>=2.3.1 from tox --print-deps-only: py39,docs Requirement not satisfied: Routes>=2.3.1 Handling amqp>=2.4.0 from tox --print-deps-only: py39,docs Requirement not satisfied: amqp>=2.4.0 Handling eventlet>=0.30.1 from tox --print-deps-only: py39,docs Requirement satisfied: eventlet>=0.30.1 (installed: eventlet 0.36.1) Handling requests>=2.25.1 from tox --print-deps-only: py39,docs Requirement satisfied: requests>=2.25.1 (installed: requests 2.32.3) Handling jsonschema>=3.2.0 from tox --print-deps-only: py39,docs Requirement not satisfied: jsonschema>=3.2.0 Handling keystonemiddleware>=4.17.0 from tox --print-deps-only: py39,docs Requirement not satisfied: keystonemiddleware>=4.17.0 Handling kombu>=4.3.0 from tox --print-deps-only: py39,docs Requirement not satisfied: kombu>=4.3.0 Handling netaddr>=0.7.18 from tox --print-deps-only: py39,docs Requirement not satisfied: netaddr>=0.7.18 Handling SQLAlchemy>=1.3.11 from tox --print-deps-only: py39,docs Requirement satisfied: SQLAlchemy>=1.3.11 (installed: SQLAlchemy 2.0.31) Handling WebOb>=1.7.1 from tox --print-deps-only: py39,docs Requirement not satisfied: WebOb>=1.7.1 Handling alembic>=0.9.6 from tox --print-deps-only: py39,docs Requirement not satisfied: alembic>=0.9.6 Handling stevedore>=3.3.0 from tox --print-deps-only: py39,docs Requirement not satisfied: stevedore>=3.3.0 Handling oslo.concurrency>=3.26.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.concurrency>=3.26.0 Handling oslo.config>=6.8.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.config>=6.8.0 Handling oslo.context>=2.22.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.context>=2.22.0 Handling oslo.db>=5.0.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.db>=5.0.0 Handling oslo.log>=3.36.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.log>=3.36.0 Handling oslo.messaging>=14.2.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.messaging>=14.2.0 Handling oslo.middleware>=3.31.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.middleware>=3.31.0 Handling oslo.policy>=3.6.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.policy>=3.6.0 Handling oslo.privsep>=2.4.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.privsep>=2.4.0 Handling oslo.reports>=1.18.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.reports>=1.18.0 Handling oslo.rootwrap>=5.8.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.rootwrap>=5.8.0 Handling oslo.serialization!=2.19.1,>=2.18.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.serialization!=2.19.1,>=2.18.0 Handling oslo.service>=2.5.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.service>=2.5.0 Handling oslo.upgradecheck>=1.3.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.upgradecheck>=1.3.0 Handling oslo.utils>=4.8.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.utils>=4.8.0 Handling oslo.versionedobjects>=1.33.3 from tox --print-deps-only: py39,docs Requirement not satisfied: oslo.versionedobjects>=1.33.3 Handling openstacksdk>=0.44.0 from tox --print-deps-only: py39,docs Requirement not satisfied: openstacksdk>=0.44.0 Handling python-barbicanclient>=4.5.2 from tox --print-deps-only: py39,docs Requirement not satisfied: python-barbicanclient>=4.5.2 Handling python-heatclient>=1.10.0 from tox --print-deps-only: py39,docs Requirement not satisfied: python-heatclient>=1.10.0 Handling python-keystoneclient>=3.8.0 from tox --print-deps-only: py39,docs Requirement not satisfied: python-keystoneclient>=3.8.0 Handling python-neutronclient>=6.7.0 from tox --print-deps-only: py39,docs Requirement not satisfied: python-neutronclient>=6.7.0 Handling python-novaclient>=9.1.0 from tox --print-deps-only: py39,docs Requirement not satisfied: python-novaclient>=9.1.0 Handling python-tackerclient>=1.11.0 from tox --print-deps-only: py39,docs Requirement not satisfied: python-tackerclient>=1.11.0 Handling rfc3986>=1.2.0 from tox --print-deps-only: py39,docs Requirement not satisfied: rfc3986>=1.2.0 Handling cryptography>=2.7 from tox --print-deps-only: py39,docs Requirement not satisfied: cryptography>=2.7 Handling paramiko>=2.7.1 from tox --print-deps-only: py39,docs Requirement not satisfied: paramiko>=2.7.1 Handling pyroute2>=0.4.21;sys_platform!='win32' from tox --print-deps-only: py39,docs Requirement not satisfied: pyroute2>=0.4.21;sys_platform!='win32' Handling castellan>=0.16.0 from tox --print-deps-only: py39,docs Requirement not satisfied: castellan>=0.16.0 Handling kubernetes>=18.20.0 from tox --print-deps-only: py39,docs Requirement not satisfied: kubernetes>=18.20.0 Handling setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0 (installed: setuptools 65.5.1) Handling tooz>=1.58.0 from tox --print-deps-only: py39,docs Requirement not satisfied: tooz>=1.58.0 Handling PyYAML>=5.4.1 from tox --print-deps-only: py39,docs Requirement not satisfied: PyYAML>=5.4.1 Handling PyMySQL>=0.10.1 from tox --print-deps-only: py39,docs Requirement not satisfied: PyMySQL>=0.10.1 Handling PyJWT>=2.4.0 from tox --print-deps-only: py39,docs Requirement not satisfied: PyJWT>=2.4.0 Handling glance-store>=2.4.0 from tox --print-deps-only: py39,docs Requirement not satisfied: glance-store>=2.4.0 Handling heat-translator>=2.3.0 from tox --print-deps-only: py39,docs Requirement not satisfied: heat-translator>=2.3.0 Handling tosca-parser>=2.3.0 from tox --print-deps-only: py39,docs Requirement not satisfied: tosca-parser>=2.3.0 Handling coverage!=4.4,>=4.0 from tox --print-deps-only: py39,docs Requirement not satisfied: coverage!=4.4,>=4.0 Handling ddt>=1.0.1 from tox --print-deps-only: py39,docs Requirement not satisfied: ddt>=1.0.1 Handling fixtures>=3.0.0 from tox --print-deps-only: py39,docs Requirement not satisfied: fixtures>=3.0.0 Handling python-subunit>=1.0.0 from tox --print-deps-only: py39,docs Requirement not satisfied: python-subunit>=1.0.0 Handling python-tackerclient>=0.8.0 from tox --print-deps-only: py39,docs Requirement not satisfied: python-tackerclient>=0.8.0 Handling python-cinderclient>=8.0.0 from tox --print-deps-only: py39,docs Requirement not satisfied: python-cinderclient>=8.0.0 Handling oslotest>=3.2.0 from tox --print-deps-only: py39,docs Requirement not satisfied: oslotest>=3.2.0 Handling stestr>=2.0.0 from tox --print-deps-only: py39,docs Requirement not satisfied: stestr>=2.0.0 Handling tempest>=22.0.0 from tox --print-deps-only: py39,docs Requirement not satisfied: tempest>=22.0.0 Handling testtools>=2.2.0 from tox --print-deps-only: py39,docs Requirement not satisfied: testtools>=2.2.0 Handling WebTest>=2.0.27 from tox --print-deps-only: py39,docs Requirement not satisfied: WebTest>=2.0.27 Handling python-barbicanclient>=4.5.2 from tox --print-deps-only: py39,docs Requirement not satisfied: python-barbicanclient>=4.5.2 Handling requests-mock>=1.2.0 from tox --print-deps-only: py39,docs Requirement not satisfied: requests-mock>=1.2.0 Handling PyMySQL>=0.10.1 from tox --print-deps-only: py39,docs Requirement not satisfied: PyMySQL>=0.10.1 Handling freezegun>=1.2.2 from tox --print-deps-only: py39,docs Requirement not satisfied: freezegun>=1.2.2 Handling PyJWT>=2.4.0 from tox --print-deps-only: py39,docs Requirement not satisfied: PyJWT>=2.4.0 Handling sphinx>=2.0.0,!=2.1.0 from tox --print-deps-only: py39,docs Requirement satisfied: sphinx>=2.0.0,!=2.1.0 (installed: sphinx 3.4.3) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py39,docs Requirement not satisfied: sphinxcontrib-apidoc>=0.2.0 Handling openstackdocstheme>=2.2.1 from tox --print-deps-only: py39,docs Requirement not satisfied: openstackdocstheme>=2.2.1 Handling reno>=3.1.0 from tox --print-deps-only: py39,docs Requirement not satisfied: reno>=3.1.0 /usr/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running dist_info writing tacker.egg-info/PKG-INFO writing dependency_links to tacker.egg-info/dependency_links.txt writing entry points to tacker.egg-info/entry_points.txt writing requirements to tacker.egg-info/requires.txt writing top-level names to tacker.egg-info/top_level.txt writing pbr to tacker.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'tacker.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/tacker-11.1.0.dev38/tacker-11.1.0.dev38.dist-info' adding license file "LICENSE" (matched pattern "LICEN[CS]E*") adding license file "AUTHORS" (matched pattern "AUTHORS*") Handling pbr (>=5.5.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: pbr (>=5.5.0) (installed: pbr 6.0.0) Handling Paste (>=2.0.2) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: Paste (>=2.0.2) Handling PasteDeploy (>=1.5.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: PasteDeploy (>=1.5.0) Handling Routes (>=2.3.1) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: Routes (>=2.3.1) Handling amqp (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: amqp (>=2.4.0) Handling eventlet (>=0.30.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: eventlet (>=0.30.1) (installed: eventlet 0.36.1) Handling requests (>=2.25.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: requests (>=2.25.1) (installed: requests 2.32.3) Handling jsonschema (>=3.2.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: jsonschema (>=3.2.0) Handling keystonemiddleware (>=4.17.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: keystonemiddleware (>=4.17.0) Handling kombu (>=4.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: kombu (>=4.3.0) Handling netaddr (>=0.7.18) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: netaddr (>=0.7.18) Handling SQLAlchemy (>=1.3.11) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: SQLAlchemy (>=1.3.11) (installed: SQLAlchemy 2.0.31) Handling WebOb (>=1.7.1) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: WebOb (>=1.7.1) Handling alembic (>=0.9.6) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: alembic (>=0.9.6) Handling stevedore (>=3.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: stevedore (>=3.3.0) Handling oslo.concurrency (>=3.26.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.concurrency (>=3.26.0) Handling oslo.config (>=6.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.config (>=6.8.0) Handling oslo.context (>=2.22.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.context (>=2.22.0) Handling oslo.db (>=5.0.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.db (>=5.0.0) Handling oslo.log (>=3.36.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.log (>=3.36.0) Handling oslo.messaging (>=14.2.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.messaging (>=14.2.0) Handling oslo.middleware (>=3.31.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.middleware (>=3.31.0) Handling oslo.policy (>=3.6.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.policy (>=3.6.0) Handling oslo.privsep (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.privsep (>=2.4.0) Handling oslo.reports (>=1.18.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.reports (>=1.18.0) Handling oslo.rootwrap (>=5.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.rootwrap (>=5.8.0) Handling oslo.serialization (!=2.19.1,>=2.18.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.serialization (!=2.19.1,>=2.18.0) Handling oslo.service (>=2.5.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.service (>=2.5.0) Handling oslo.upgradecheck (>=1.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.upgradecheck (>=1.3.0) Handling oslo.utils (>=4.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.utils (>=4.8.0) Handling oslo.versionedobjects (>=1.33.3) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: oslo.versionedobjects (>=1.33.3) Handling openstacksdk (>=0.44.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: openstacksdk (>=0.44.0) Handling python-barbicanclient (>=4.5.2) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: python-barbicanclient (>=4.5.2) Handling python-heatclient (>=1.10.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: python-heatclient (>=1.10.0) Handling python-keystoneclient (>=3.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: python-keystoneclient (>=3.8.0) Handling python-neutronclient (>=6.7.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: python-neutronclient (>=6.7.0) Handling python-novaclient (>=9.1.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: python-novaclient (>=9.1.0) Handling python-tackerclient (>=1.11.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: python-tackerclient (>=1.11.0) Handling rfc3986 (>=1.2.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: rfc3986 (>=1.2.0) Handling cryptography (>=2.7) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: cryptography (>=2.7) Handling paramiko (>=2.7.1) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: paramiko (>=2.7.1) Handling pyroute2 (>=0.4.21) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: pyroute2 (>=0.4.21) Handling castellan (>=0.16.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: castellan (>=0.16.0) Handling kubernetes (>=18.20.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: kubernetes (>=18.20.0) Handling setuptools (!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: setuptools (!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0) (installed: setuptools 65.5.1) Handling tooz (>=1.58.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: tooz (>=1.58.0) Handling PyYAML (>=5.4.1) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: PyYAML (>=5.4.1) Handling PyMySQL (>=0.10.1) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: PyMySQL (>=0.10.1) Handling PyJWT (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: PyJWT (>=2.4.0) Handling glance-store (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: glance-store (>=2.4.0) Handling heat-translator (>=2.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: heat-translator (>=2.3.0) Handling tosca-parser (>=2.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement not satisfied: tosca-parser (>=2.3.0) + cat /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-buildrequires + rm -rfv tacker-11.1.0.dev38.dist-info/ removed 'tacker-11.1.0.dev38.dist-info/LICENSE' removed 'tacker-11.1.0.dev38.dist-info/AUTHORS' removed 'tacker-11.1.0.dev38.dist-info/METADATA' removed 'tacker-11.1.0.dev38.dist-info/entry_points.txt' removed 'tacker-11.1.0.dev38.dist-info/pbr.json' removed 'tacker-11.1.0.dev38.dist-info/top_level.txt' removed directory 'tacker-11.1.0.dev38.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'], chrootPath='/var/lib/mock/dlrn-centos9-dalmatian-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1038gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --target x86_64 --nodeps /builddir/build/SPECS/openstack-tacker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0LtuPP + umask 022 + cd /builddir/build/BUILD + cd tacker-11.1.0.dev38 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + RPM_TOXENV=py39,docs + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/tacker-11.1.0.dev38/pyproject-wheeldir --output /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-buildrequires -t -e py39,docs Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 6.0.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.8) ___________________________________ summary ____________________________________ py39: commands succeeded docs: commands succeeded congratulations :) Handling pbr>=5.5.0 from tox --print-deps-only: py39,docs Requirement satisfied: pbr>=5.5.0 (installed: pbr 6.0.0) Handling Paste>=2.0.2 from tox --print-deps-only: py39,docs Requirement satisfied: Paste>=2.0.2 (installed: Paste 3.10.1) Handling PasteDeploy>=1.5.0 from tox --print-deps-only: py39,docs Requirement satisfied: PasteDeploy>=1.5.0 (installed: PasteDeploy 3.1.0) Handling Routes>=2.3.1 from tox --print-deps-only: py39,docs Requirement satisfied: Routes>=2.3.1 (installed: Routes 2.5.1) Handling amqp>=2.4.0 from tox --print-deps-only: py39,docs Requirement satisfied: amqp>=2.4.0 (installed: amqp 5.2.0) Handling eventlet>=0.30.1 from tox --print-deps-only: py39,docs Requirement satisfied: eventlet>=0.30.1 (installed: eventlet 0.36.1) Handling requests>=2.25.1 from tox --print-deps-only: py39,docs Requirement satisfied: requests>=2.25.1 (installed: requests 2.32.3) Handling jsonschema>=3.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: jsonschema>=3.2.0 (installed: jsonschema 4.16.0) Handling keystonemiddleware>=4.17.0 from tox --print-deps-only: py39,docs Requirement satisfied: keystonemiddleware>=4.17.0 (installed: keystonemiddleware 10.7.1) Handling kombu>=4.3.0 from tox --print-deps-only: py39,docs Requirement satisfied: kombu>=4.3.0 (installed: kombu 5.3.7) Handling netaddr>=0.7.18 from tox --print-deps-only: py39,docs Requirement satisfied: netaddr>=0.7.18 (installed: netaddr 0.10.1) Handling SQLAlchemy>=1.3.11 from tox --print-deps-only: py39,docs Requirement satisfied: SQLAlchemy>=1.3.11 (installed: SQLAlchemy 2.0.31) Handling WebOb>=1.7.1 from tox --print-deps-only: py39,docs Requirement satisfied: WebOb>=1.7.1 (installed: WebOb 1.8.8) Handling alembic>=0.9.6 from tox --print-deps-only: py39,docs Requirement satisfied: alembic>=0.9.6 (installed: alembic 1.13.2) Handling stevedore>=3.3.0 from tox --print-deps-only: py39,docs Requirement satisfied: stevedore>=3.3.0 (installed: stevedore 5.3.0) Handling oslo.concurrency>=3.26.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.concurrency>=3.26.0 (installed: oslo.concurrency 6.1.0) Handling oslo.config>=6.8.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.config>=6.8.0 (installed: oslo.config 9.6.0) Handling oslo.context>=2.22.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.context>=2.22.0 (installed: oslo.context 5.6.0) Handling oslo.db>=5.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.db>=5.0.0 (installed: oslo.db 16.0.0) Handling oslo.log>=3.36.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.log>=3.36.0 (installed: oslo.log 6.1.2) Handling oslo.messaging>=14.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.messaging>=14.2.0 (installed: oslo.messaging 14.9.0) Handling oslo.middleware>=3.31.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.middleware>=3.31.0 (installed: oslo.middleware 6.2.0) Handling oslo.policy>=3.6.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.policy>=3.6.0 (installed: oslo.policy 4.4.0) Handling oslo.privsep>=2.4.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.privsep>=2.4.0 (installed: oslo.privsep 3.4.0) Handling oslo.reports>=1.18.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.reports>=1.18.0 (installed: oslo.reports 3.4.0) Handling oslo.rootwrap>=5.8.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.rootwrap>=5.8.0 (installed: oslo.rootwrap 7.3.0) Handling oslo.serialization!=2.19.1,>=2.18.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.serialization!=2.19.1,>=2.18.0 (installed: oslo.serialization 5.5.0) Handling oslo.service>=2.5.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.service>=2.5.0 (installed: oslo.service 3.5.0) Handling oslo.upgradecheck>=1.3.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.upgradecheck>=1.3.0 (installed: oslo.upgradecheck 2.4.0) Handling oslo.utils>=4.8.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.utils>=4.8.0 (installed: oslo.utils 7.3.0) Handling oslo.versionedobjects>=1.33.3 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.versionedobjects>=1.33.3 (installed: oslo.versionedobjects 3.4.0) Handling openstacksdk>=0.44.0 from tox --print-deps-only: py39,docs Requirement satisfied: openstacksdk>=0.44.0 (installed: openstacksdk 3.3.0) Handling python-barbicanclient>=4.5.2 from tox --print-deps-only: py39,docs Requirement satisfied: python-barbicanclient>=4.5.2 (installed: python-barbicanclient 7.0.0) Handling python-heatclient>=1.10.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-heatclient>=1.10.0 (installed: python-heatclient 4.0.0) Handling python-keystoneclient>=3.8.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-keystoneclient>=3.8.0 (installed: python-keystoneclient 5.5.0) Handling python-neutronclient>=6.7.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-neutronclient>=6.7.0 (installed: python-neutronclient 11.3.1) Handling python-novaclient>=9.1.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-novaclient>=9.1.0 (installed: python-novaclient 18.7.0) Handling python-tackerclient>=1.11.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-tackerclient>=1.11.0 (installed: python-tackerclient 2.1.0) Handling rfc3986>=1.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: rfc3986>=1.2.0 (installed: rfc3986 1.5.0) Handling cryptography>=2.7 from tox --print-deps-only: py39,docs Requirement satisfied: cryptography>=2.7 (installed: cryptography 36.0.1) Handling paramiko>=2.7.1 from tox --print-deps-only: py39,docs Requirement satisfied: paramiko>=2.7.1 (installed: paramiko 3.4.1) Handling pyroute2>=0.4.21;sys_platform!='win32' from tox --print-deps-only: py39,docs Requirement satisfied: pyroute2>=0.4.21;sys_platform!='win32' (installed: pyroute2 0.7.12) Handling castellan>=0.16.0 from tox --print-deps-only: py39,docs Requirement satisfied: castellan>=0.16.0 (installed: castellan 5.1.1) Handling kubernetes>=18.20.0 from tox --print-deps-only: py39,docs Requirement satisfied: kubernetes>=18.20.0 (installed: kubernetes 30.1.0) Handling setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0 (installed: setuptools 65.5.1) Handling tooz>=1.58.0 from tox --print-deps-only: py39,docs Requirement satisfied: tooz>=1.58.0 (installed: tooz 6.3.0) Handling PyYAML>=5.4.1 from tox --print-deps-only: py39,docs Requirement satisfied: PyYAML>=5.4.1 (installed: PyYAML 5.4.1) Handling PyMySQL>=0.10.1 from tox --print-deps-only: py39,docs Requirement satisfied: PyMySQL>=0.10.1 (installed: PyMySQL 0.10.1) Handling PyJWT>=2.4.0 from tox --print-deps-only: py39,docs Requirement satisfied: PyJWT>=2.4.0 (installed: PyJWT 2.8.0) Handling glance-store>=2.4.0 from tox --print-deps-only: py39,docs Requirement satisfied: glance-store>=2.4.0 (installed: glance-store 4.8.1) Handling heat-translator>=2.3.0 from tox --print-deps-only: py39,docs Requirement satisfied: heat-translator>=2.3.0 (installed: heat-translator 3.1.0) Handling tosca-parser>=2.3.0 from tox --print-deps-only: py39,docs Requirement satisfied: tosca-parser>=2.3.0 (installed: tosca-parser 2.9.1) Handling coverage!=4.4,>=4.0 from tox --print-deps-only: py39,docs Requirement satisfied: coverage!=4.4,>=4.0 (installed: coverage 7.3.2) Handling ddt>=1.0.1 from tox --print-deps-only: py39,docs Requirement satisfied: ddt>=1.0.1 (installed: ddt 1.6.0) Handling fixtures>=3.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: fixtures>=3.0.0 (installed: fixtures 4.0.1) Handling python-subunit>=1.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-subunit>=1.0.0 (installed: python-subunit 1.4.0) Handling python-tackerclient>=0.8.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-tackerclient>=0.8.0 (installed: python-tackerclient 2.1.0) Handling python-cinderclient>=8.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-cinderclient>=8.0.0 (installed: python-cinderclient 9.6.0) Handling oslotest>=3.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslotest>=3.2.0 (installed: oslotest 5.0.0) Handling stestr>=2.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: stestr>=2.0.0 (installed: stestr 4.1.0) Handling tempest>=22.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: tempest>=22.0.0 (installed: tempest 39.0.1.dev66) Handling testtools>=2.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: testtools>=2.2.0 (installed: testtools 2.7.1) Handling WebTest>=2.0.27 from tox --print-deps-only: py39,docs Requirement satisfied: WebTest>=2.0.27 (installed: WebTest 3.0.0) Handling python-barbicanclient>=4.5.2 from tox --print-deps-only: py39,docs Requirement satisfied: python-barbicanclient>=4.5.2 (installed: python-barbicanclient 7.0.0) Handling requests-mock>=1.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: requests-mock>=1.2.0 (installed: requests-mock 1.10.0) Handling PyMySQL>=0.10.1 from tox --print-deps-only: py39,docs Requirement satisfied: PyMySQL>=0.10.1 (installed: PyMySQL 0.10.1) Handling freezegun>=1.2.2 from tox --print-deps-only: py39,docs Requirement satisfied: freezegun>=1.2.2 (installed: freezegun 1.2.2) Handling PyJWT>=2.4.0 from tox --print-deps-only: py39,docs Requirement satisfied: PyJWT>=2.4.0 (installed: PyJWT 2.8.0) Handling sphinx>=2.0.0,!=2.1.0 from tox --print-deps-only: py39,docs Requirement satisfied: sphinx>=2.0.0,!=2.1.0 (installed: sphinx 3.4.3) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: sphinxcontrib-apidoc>=0.2.0 (installed: sphinxcontrib-apidoc 0.3.0) Handling openstackdocstheme>=2.2.1 from tox --print-deps-only: py39,docs Requirement satisfied: openstackdocstheme>=2.2.1 (installed: openstackdocstheme 3.0.0) Handling reno>=3.1.0 from tox --print-deps-only: py39,docs Requirement satisfied: reno>=3.1.0 (installed: reno 4.1.0) /usr/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running dist_info writing tacker.egg-info/PKG-INFO writing dependency_links to tacker.egg-info/dependency_links.txt writing entry points to tacker.egg-info/entry_points.txt writing requirements to tacker.egg-info/requires.txt writing top-level names to tacker.egg-info/top_level.txt writing pbr to tacker.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'tacker.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/tacker-11.1.0.dev38/tacker-11.1.0.dev38.dist-info' adding license file "LICENSE" (matched pattern "LICEN[CS]E*") adding license file "AUTHORS" (matched pattern "AUTHORS*") Handling pbr (>=5.5.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: pbr (>=5.5.0) (installed: pbr 6.0.0) Handling Paste (>=2.0.2) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: Paste (>=2.0.2) (installed: Paste 3.10.1) Handling PasteDeploy (>=1.5.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: PasteDeploy (>=1.5.0) (installed: PasteDeploy 3.1.0) Handling Routes (>=2.3.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: Routes (>=2.3.1) (installed: Routes 2.5.1) Handling amqp (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: amqp (>=2.4.0) (installed: amqp 5.2.0) Handling eventlet (>=0.30.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: eventlet (>=0.30.1) (installed: eventlet 0.36.1) Handling requests (>=2.25.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: requests (>=2.25.1) (installed: requests 2.32.3) Handling jsonschema (>=3.2.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: jsonschema (>=3.2.0) (installed: jsonschema 4.16.0) Handling keystonemiddleware (>=4.17.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: keystonemiddleware (>=4.17.0) (installed: keystonemiddleware 10.7.1) Handling kombu (>=4.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: kombu (>=4.3.0) (installed: kombu 5.3.7) Handling netaddr (>=0.7.18) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: netaddr (>=0.7.18) (installed: netaddr 0.10.1) Handling SQLAlchemy (>=1.3.11) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: SQLAlchemy (>=1.3.11) (installed: SQLAlchemy 2.0.31) Handling WebOb (>=1.7.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: WebOb (>=1.7.1) (installed: WebOb 1.8.8) Handling alembic (>=0.9.6) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: alembic (>=0.9.6) (installed: alembic 1.13.2) Handling stevedore (>=3.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: stevedore (>=3.3.0) (installed: stevedore 5.3.0) Handling oslo.concurrency (>=3.26.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.concurrency (>=3.26.0) (installed: oslo.concurrency 6.1.0) Handling oslo.config (>=6.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.config (>=6.8.0) (installed: oslo.config 9.6.0) Handling oslo.context (>=2.22.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.context (>=2.22.0) (installed: oslo.context 5.6.0) Handling oslo.db (>=5.0.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.db (>=5.0.0) (installed: oslo.db 16.0.0) Handling oslo.log (>=3.36.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.log (>=3.36.0) (installed: oslo.log 6.1.2) Handling oslo.messaging (>=14.2.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.messaging (>=14.2.0) (installed: oslo.messaging 14.9.0) Handling oslo.middleware (>=3.31.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.middleware (>=3.31.0) (installed: oslo.middleware 6.2.0) Handling oslo.policy (>=3.6.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.policy (>=3.6.0) (installed: oslo.policy 4.4.0) Handling oslo.privsep (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.privsep (>=2.4.0) (installed: oslo.privsep 3.4.0) Handling oslo.reports (>=1.18.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.reports (>=1.18.0) (installed: oslo.reports 3.4.0) Handling oslo.rootwrap (>=5.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.rootwrap (>=5.8.0) (installed: oslo.rootwrap 7.3.0) Handling oslo.serialization (!=2.19.1,>=2.18.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.serialization (!=2.19.1,>=2.18.0) (installed: oslo.serialization 5.5.0) Handling oslo.service (>=2.5.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.service (>=2.5.0) (installed: oslo.service 3.5.0) Handling oslo.upgradecheck (>=1.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.upgradecheck (>=1.3.0) (installed: oslo.upgradecheck 2.4.0) Handling oslo.utils (>=4.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.utils (>=4.8.0) (installed: oslo.utils 7.3.0) Handling oslo.versionedobjects (>=1.33.3) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.versionedobjects (>=1.33.3) (installed: oslo.versionedobjects 3.4.0) Handling openstacksdk (>=0.44.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: openstacksdk (>=0.44.0) (installed: openstacksdk 3.3.0) Handling python-barbicanclient (>=4.5.2) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-barbicanclient (>=4.5.2) (installed: python-barbicanclient 7.0.0) Handling python-heatclient (>=1.10.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-heatclient (>=1.10.0) (installed: python-heatclient 4.0.0) Handling python-keystoneclient (>=3.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-keystoneclient (>=3.8.0) (installed: python-keystoneclient 5.5.0) Handling python-neutronclient (>=6.7.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-neutronclient (>=6.7.0) (installed: python-neutronclient 11.3.1) Handling python-novaclient (>=9.1.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-novaclient (>=9.1.0) (installed: python-novaclient 18.7.0) Handling python-tackerclient (>=1.11.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-tackerclient (>=1.11.0) (installed: python-tackerclient 2.1.0) Handling rfc3986 (>=1.2.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: rfc3986 (>=1.2.0) (installed: rfc3986 1.5.0) Handling cryptography (>=2.7) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: cryptography (>=2.7) (installed: cryptography 36.0.1) Handling paramiko (>=2.7.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: paramiko (>=2.7.1) (installed: paramiko 3.4.1) Handling pyroute2 (>=0.4.21) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: pyroute2 (>=0.4.21) (installed: pyroute2 0.7.12) Handling castellan (>=0.16.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: castellan (>=0.16.0) (installed: castellan 5.1.1) Handling kubernetes (>=18.20.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: kubernetes (>=18.20.0) (installed: kubernetes 30.1.0) Handling setuptools (!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: setuptools (!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0) (installed: setuptools 65.5.1) Handling tooz (>=1.58.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: tooz (>=1.58.0) (installed: tooz 6.3.0) Handling PyYAML (>=5.4.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: PyYAML (>=5.4.1) (installed: PyYAML 5.4.1) Handling PyMySQL (>=0.10.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: PyMySQL (>=0.10.1) (installed: PyMySQL 0.10.1) Handling PyJWT (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: PyJWT (>=2.4.0) (installed: PyJWT 2.8.0) Handling glance-store (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: glance-store (>=2.4.0) (installed: glance-store 4.8.1) Handling heat-translator (>=2.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: heat-translator (>=2.3.0) (installed: heat-translator 3.1.0) Handling tosca-parser (>=2.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: tosca-parser (>=2.3.0) (installed: tosca-parser 2.9.1) + cat /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-buildrequires + rm -rfv tacker-11.1.0.dev38.dist-info/ removed 'tacker-11.1.0.dev38.dist-info/AUTHORS' removed 'tacker-11.1.0.dev38.dist-info/LICENSE' removed 'tacker-11.1.0.dev38.dist-info/METADATA' removed 'tacker-11.1.0.dev38.dist-info/top_level.txt' removed 'tacker-11.1.0.dev38.dist-info/pbr.json' removed 'tacker-11.1.0.dev38.dist-info/entry_points.txt' removed directory 'tacker-11.1.0.dev38.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 /builddir/build/SPECS/openstack-tacker.spec'], chrootPath='/var/lib/mock/dlrn-centos9-dalmatian-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1038gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 /builddir/build/SPECS/openstack-tacker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.b9V2sx + umask 022 + cd /builddir/build/BUILD + cd tacker-11.1.0.dev38 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + RPM_TOXENV=py39,docs + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/tacker-11.1.0.dev38/pyproject-wheeldir --output /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-buildrequires -t -e py39,docs Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (installed: pbr 6.0.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.8) ___________________________________ summary ____________________________________ py39: commands succeeded docs: commands succeeded congratulations :) Handling pbr>=5.5.0 from tox --print-deps-only: py39,docs Requirement satisfied: pbr>=5.5.0 (installed: pbr 6.0.0) Handling Paste>=2.0.2 from tox --print-deps-only: py39,docs Requirement satisfied: Paste>=2.0.2 (installed: Paste 3.10.1) Handling PasteDeploy>=1.5.0 from tox --print-deps-only: py39,docs Requirement satisfied: PasteDeploy>=1.5.0 (installed: PasteDeploy 3.1.0) Handling Routes>=2.3.1 from tox --print-deps-only: py39,docs Requirement satisfied: Routes>=2.3.1 (installed: Routes 2.5.1) Handling amqp>=2.4.0 from tox --print-deps-only: py39,docs Requirement satisfied: amqp>=2.4.0 (installed: amqp 5.2.0) Handling eventlet>=0.30.1 from tox --print-deps-only: py39,docs Requirement satisfied: eventlet>=0.30.1 (installed: eventlet 0.36.1) Handling requests>=2.25.1 from tox --print-deps-only: py39,docs Requirement satisfied: requests>=2.25.1 (installed: requests 2.32.3) Handling jsonschema>=3.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: jsonschema>=3.2.0 (installed: jsonschema 4.16.0) Handling keystonemiddleware>=4.17.0 from tox --print-deps-only: py39,docs Requirement satisfied: keystonemiddleware>=4.17.0 (installed: keystonemiddleware 10.7.1) Handling kombu>=4.3.0 from tox --print-deps-only: py39,docs Requirement satisfied: kombu>=4.3.0 (installed: kombu 5.3.7) Handling netaddr>=0.7.18 from tox --print-deps-only: py39,docs Requirement satisfied: netaddr>=0.7.18 (installed: netaddr 0.10.1) Handling SQLAlchemy>=1.3.11 from tox --print-deps-only: py39,docs Requirement satisfied: SQLAlchemy>=1.3.11 (installed: SQLAlchemy 2.0.31) Handling WebOb>=1.7.1 from tox --print-deps-only: py39,docs Requirement satisfied: WebOb>=1.7.1 (installed: WebOb 1.8.8) Handling alembic>=0.9.6 from tox --print-deps-only: py39,docs Requirement satisfied: alembic>=0.9.6 (installed: alembic 1.13.2) Handling stevedore>=3.3.0 from tox --print-deps-only: py39,docs Requirement satisfied: stevedore>=3.3.0 (installed: stevedore 5.3.0) Handling oslo.concurrency>=3.26.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.concurrency>=3.26.0 (installed: oslo.concurrency 6.1.0) Handling oslo.config>=6.8.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.config>=6.8.0 (installed: oslo.config 9.6.0) Handling oslo.context>=2.22.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.context>=2.22.0 (installed: oslo.context 5.6.0) Handling oslo.db>=5.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.db>=5.0.0 (installed: oslo.db 16.0.0) Handling oslo.log>=3.36.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.log>=3.36.0 (installed: oslo.log 6.1.2) Handling oslo.messaging>=14.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.messaging>=14.2.0 (installed: oslo.messaging 14.9.0) Handling oslo.middleware>=3.31.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.middleware>=3.31.0 (installed: oslo.middleware 6.2.0) Handling oslo.policy>=3.6.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.policy>=3.6.0 (installed: oslo.policy 4.4.0) Handling oslo.privsep>=2.4.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.privsep>=2.4.0 (installed: oslo.privsep 3.4.0) Handling oslo.reports>=1.18.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.reports>=1.18.0 (installed: oslo.reports 3.4.0) Handling oslo.rootwrap>=5.8.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.rootwrap>=5.8.0 (installed: oslo.rootwrap 7.3.0) Handling oslo.serialization!=2.19.1,>=2.18.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.serialization!=2.19.1,>=2.18.0 (installed: oslo.serialization 5.5.0) Handling oslo.service>=2.5.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.service>=2.5.0 (installed: oslo.service 3.5.0) Handling oslo.upgradecheck>=1.3.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.upgradecheck>=1.3.0 (installed: oslo.upgradecheck 2.4.0) Handling oslo.utils>=4.8.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.utils>=4.8.0 (installed: oslo.utils 7.3.0) Handling oslo.versionedobjects>=1.33.3 from tox --print-deps-only: py39,docs Requirement satisfied: oslo.versionedobjects>=1.33.3 (installed: oslo.versionedobjects 3.4.0) Handling openstacksdk>=0.44.0 from tox --print-deps-only: py39,docs Requirement satisfied: openstacksdk>=0.44.0 (installed: openstacksdk 3.3.0) Handling python-barbicanclient>=4.5.2 from tox --print-deps-only: py39,docs Requirement satisfied: python-barbicanclient>=4.5.2 (installed: python-barbicanclient 7.0.0) Handling python-heatclient>=1.10.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-heatclient>=1.10.0 (installed: python-heatclient 4.0.0) Handling python-keystoneclient>=3.8.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-keystoneclient>=3.8.0 (installed: python-keystoneclient 5.5.0) Handling python-neutronclient>=6.7.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-neutronclient>=6.7.0 (installed: python-neutronclient 11.3.1) Handling python-novaclient>=9.1.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-novaclient>=9.1.0 (installed: python-novaclient 18.7.0) Handling python-tackerclient>=1.11.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-tackerclient>=1.11.0 (installed: python-tackerclient 2.1.0) Handling rfc3986>=1.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: rfc3986>=1.2.0 (installed: rfc3986 1.5.0) Handling cryptography>=2.7 from tox --print-deps-only: py39,docs Requirement satisfied: cryptography>=2.7 (installed: cryptography 36.0.1) Handling paramiko>=2.7.1 from tox --print-deps-only: py39,docs Requirement satisfied: paramiko>=2.7.1 (installed: paramiko 3.4.1) Handling pyroute2>=0.4.21;sys_platform!='win32' from tox --print-deps-only: py39,docs Requirement satisfied: pyroute2>=0.4.21;sys_platform!='win32' (installed: pyroute2 0.7.12) Handling castellan>=0.16.0 from tox --print-deps-only: py39,docs Requirement satisfied: castellan>=0.16.0 (installed: castellan 5.1.1) Handling kubernetes>=18.20.0 from tox --print-deps-only: py39,docs Requirement satisfied: kubernetes>=18.20.0 (installed: kubernetes 30.1.0) Handling setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0 (installed: setuptools 65.5.1) Handling tooz>=1.58.0 from tox --print-deps-only: py39,docs Requirement satisfied: tooz>=1.58.0 (installed: tooz 6.3.0) Handling PyYAML>=5.4.1 from tox --print-deps-only: py39,docs Requirement satisfied: PyYAML>=5.4.1 (installed: PyYAML 5.4.1) Handling PyMySQL>=0.10.1 from tox --print-deps-only: py39,docs Requirement satisfied: PyMySQL>=0.10.1 (installed: PyMySQL 0.10.1) Handling PyJWT>=2.4.0 from tox --print-deps-only: py39,docs Requirement satisfied: PyJWT>=2.4.0 (installed: PyJWT 2.8.0) Handling glance-store>=2.4.0 from tox --print-deps-only: py39,docs Requirement satisfied: glance-store>=2.4.0 (installed: glance-store 4.8.1) Handling heat-translator>=2.3.0 from tox --print-deps-only: py39,docs Requirement satisfied: heat-translator>=2.3.0 (installed: heat-translator 3.1.0) Handling tosca-parser>=2.3.0 from tox --print-deps-only: py39,docs Requirement satisfied: tosca-parser>=2.3.0 (installed: tosca-parser 2.9.1) Handling coverage!=4.4,>=4.0 from tox --print-deps-only: py39,docs Requirement satisfied: coverage!=4.4,>=4.0 (installed: coverage 7.3.2) Handling ddt>=1.0.1 from tox --print-deps-only: py39,docs Requirement satisfied: ddt>=1.0.1 (installed: ddt 1.6.0) Handling fixtures>=3.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: fixtures>=3.0.0 (installed: fixtures 4.0.1) Handling python-subunit>=1.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-subunit>=1.0.0 (installed: python-subunit 1.4.0) Handling python-tackerclient>=0.8.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-tackerclient>=0.8.0 (installed: python-tackerclient 2.1.0) Handling python-cinderclient>=8.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: python-cinderclient>=8.0.0 (installed: python-cinderclient 9.6.0) Handling oslotest>=3.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: oslotest>=3.2.0 (installed: oslotest 5.0.0) Handling stestr>=2.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: stestr>=2.0.0 (installed: stestr 4.1.0) Handling tempest>=22.0.0 from tox --print-deps-only: py39,docs Requirement satisfied: tempest>=22.0.0 (installed: tempest 39.0.1.dev66) Handling testtools>=2.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: testtools>=2.2.0 (installed: testtools 2.7.1) Handling WebTest>=2.0.27 from tox --print-deps-only: py39,docs Requirement satisfied: WebTest>=2.0.27 (installed: WebTest 3.0.0) Handling python-barbicanclient>=4.5.2 from tox --print-deps-only: py39,docs Requirement satisfied: python-barbicanclient>=4.5.2 (installed: python-barbicanclient 7.0.0) Handling requests-mock>=1.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: requests-mock>=1.2.0 (installed: requests-mock 1.10.0) Handling PyMySQL>=0.10.1 from tox --print-deps-only: py39,docs Requirement satisfied: PyMySQL>=0.10.1 (installed: PyMySQL 0.10.1) Handling freezegun>=1.2.2 from tox --print-deps-only: py39,docs Requirement satisfied: freezegun>=1.2.2 (installed: freezegun 1.2.2) Handling PyJWT>=2.4.0 from tox --print-deps-only: py39,docs Requirement satisfied: PyJWT>=2.4.0 (installed: PyJWT 2.8.0) Handling sphinx>=2.0.0,!=2.1.0 from tox --print-deps-only: py39,docs Requirement satisfied: sphinx>=2.0.0,!=2.1.0 (installed: sphinx 3.4.3) Handling sphinxcontrib-apidoc>=0.2.0 from tox --print-deps-only: py39,docs Requirement satisfied: sphinxcontrib-apidoc>=0.2.0 (installed: sphinxcontrib-apidoc 0.3.0) Handling openstackdocstheme>=2.2.1 from tox --print-deps-only: py39,docs Requirement satisfied: openstackdocstheme>=2.2.1 (installed: openstackdocstheme 3.0.0) Handling reno>=3.1.0 from tox --print-deps-only: py39,docs Requirement satisfied: reno>=3.1.0 (installed: reno 4.1.0) /usr/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running dist_info writing tacker.egg-info/PKG-INFO writing dependency_links to tacker.egg-info/dependency_links.txt writing entry points to tacker.egg-info/entry_points.txt writing requirements to tacker.egg-info/requires.txt writing top-level names to tacker.egg-info/top_level.txt writing pbr to tacker.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'tacker.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/tacker-11.1.0.dev38/tacker-11.1.0.dev38.dist-info' adding license file "LICENSE" (matched pattern "LICEN[CS]E*") adding license file "AUTHORS" (matched pattern "AUTHORS*") Handling pbr (>=5.5.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: pbr (>=5.5.0) (installed: pbr 6.0.0) Handling Paste (>=2.0.2) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: Paste (>=2.0.2) (installed: Paste 3.10.1) Handling PasteDeploy (>=1.5.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: PasteDeploy (>=1.5.0) (installed: PasteDeploy 3.1.0) Handling Routes (>=2.3.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: Routes (>=2.3.1) (installed: Routes 2.5.1) Handling amqp (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: amqp (>=2.4.0) (installed: amqp 5.2.0) Handling eventlet (>=0.30.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: eventlet (>=0.30.1) (installed: eventlet 0.36.1) Handling requests (>=2.25.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: requests (>=2.25.1) (installed: requests 2.32.3) Handling jsonschema (>=3.2.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: jsonschema (>=3.2.0) (installed: jsonschema 4.16.0) Handling keystonemiddleware (>=4.17.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: keystonemiddleware (>=4.17.0) (installed: keystonemiddleware 10.7.1) Handling kombu (>=4.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: kombu (>=4.3.0) (installed: kombu 5.3.7) Handling netaddr (>=0.7.18) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: netaddr (>=0.7.18) (installed: netaddr 0.10.1) Handling SQLAlchemy (>=1.3.11) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: SQLAlchemy (>=1.3.11) (installed: SQLAlchemy 2.0.31) Handling WebOb (>=1.7.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: WebOb (>=1.7.1) (installed: WebOb 1.8.8) Handling alembic (>=0.9.6) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: alembic (>=0.9.6) (installed: alembic 1.13.2) Handling stevedore (>=3.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: stevedore (>=3.3.0) (installed: stevedore 5.3.0) Handling oslo.concurrency (>=3.26.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.concurrency (>=3.26.0) (installed: oslo.concurrency 6.1.0) Handling oslo.config (>=6.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.config (>=6.8.0) (installed: oslo.config 9.6.0) Handling oslo.context (>=2.22.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.context (>=2.22.0) (installed: oslo.context 5.6.0) Handling oslo.db (>=5.0.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.db (>=5.0.0) (installed: oslo.db 16.0.0) Handling oslo.log (>=3.36.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.log (>=3.36.0) (installed: oslo.log 6.1.2) Handling oslo.messaging (>=14.2.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.messaging (>=14.2.0) (installed: oslo.messaging 14.9.0) Handling oslo.middleware (>=3.31.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.middleware (>=3.31.0) (installed: oslo.middleware 6.2.0) Handling oslo.policy (>=3.6.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.policy (>=3.6.0) (installed: oslo.policy 4.4.0) Handling oslo.privsep (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.privsep (>=2.4.0) (installed: oslo.privsep 3.4.0) Handling oslo.reports (>=1.18.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.reports (>=1.18.0) (installed: oslo.reports 3.4.0) Handling oslo.rootwrap (>=5.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.rootwrap (>=5.8.0) (installed: oslo.rootwrap 7.3.0) Handling oslo.serialization (!=2.19.1,>=2.18.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.serialization (!=2.19.1,>=2.18.0) (installed: oslo.serialization 5.5.0) Handling oslo.service (>=2.5.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.service (>=2.5.0) (installed: oslo.service 3.5.0) Handling oslo.upgradecheck (>=1.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.upgradecheck (>=1.3.0) (installed: oslo.upgradecheck 2.4.0) Handling oslo.utils (>=4.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.utils (>=4.8.0) (installed: oslo.utils 7.3.0) Handling oslo.versionedobjects (>=1.33.3) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: oslo.versionedobjects (>=1.33.3) (installed: oslo.versionedobjects 3.4.0) Handling openstacksdk (>=0.44.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: openstacksdk (>=0.44.0) (installed: openstacksdk 3.3.0) Handling python-barbicanclient (>=4.5.2) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-barbicanclient (>=4.5.2) (installed: python-barbicanclient 7.0.0) Handling python-heatclient (>=1.10.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-heatclient (>=1.10.0) (installed: python-heatclient 4.0.0) Handling python-keystoneclient (>=3.8.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-keystoneclient (>=3.8.0) (installed: python-keystoneclient 5.5.0) Handling python-neutronclient (>=6.7.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-neutronclient (>=6.7.0) (installed: python-neutronclient 11.3.1) Handling python-novaclient (>=9.1.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-novaclient (>=9.1.0) (installed: python-novaclient 18.7.0) Handling python-tackerclient (>=1.11.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: python-tackerclient (>=1.11.0) (installed: python-tackerclient 2.1.0) Handling rfc3986 (>=1.2.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: rfc3986 (>=1.2.0) (installed: rfc3986 1.5.0) Handling cryptography (>=2.7) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: cryptography (>=2.7) (installed: cryptography 36.0.1) Handling paramiko (>=2.7.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: paramiko (>=2.7.1) (installed: paramiko 3.4.1) Handling pyroute2 (>=0.4.21) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: pyroute2 (>=0.4.21) (installed: pyroute2 0.7.12) Handling castellan (>=0.16.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: castellan (>=0.16.0) (installed: castellan 5.1.1) Handling kubernetes (>=18.20.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: kubernetes (>=18.20.0) (installed: kubernetes 30.1.0) Handling setuptools (!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: setuptools (!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0) (installed: setuptools 65.5.1) Handling tooz (>=1.58.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: tooz (>=1.58.0) (installed: tooz 6.3.0) Handling PyYAML (>=5.4.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: PyYAML (>=5.4.1) (installed: PyYAML 5.4.1) Handling PyMySQL (>=0.10.1) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: PyMySQL (>=0.10.1) (installed: PyMySQL 0.10.1) Handling PyJWT (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: PyJWT (>=2.4.0) (installed: PyJWT 2.8.0) Handling glance-store (>=2.4.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: glance-store (>=2.4.0) (installed: glance-store 4.8.1) Handling heat-translator (>=2.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: heat-translator (>=2.3.0) (installed: heat-translator 3.1.0) Handling tosca-parser (>=2.3.0) from hook generated metadata: Requires-Dist (tacker) Requirement satisfied: tosca-parser (>=2.3.0) (installed: tosca-parser 2.9.1) + cat /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-buildrequires + rm -rfv tacker-11.1.0.dev38.dist-info/ removed 'tacker-11.1.0.dev38.dist-info/AUTHORS' removed 'tacker-11.1.0.dev38.dist-info/LICENSE' removed 'tacker-11.1.0.dev38.dist-info/METADATA' removed 'tacker-11.1.0.dev38.dist-info/entry_points.txt' removed 'tacker-11.1.0.dev38.dist-info/pbr.json' removed 'tacker-11.1.0.dev38.dist-info/top_level.txt' removed directory 'tacker-11.1.0.dev38.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IV5jj1 + umask 022 + cd /builddir/build/BUILD + cd tacker-11.1.0.dev38 + mkdir -p /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/tacker-11.1.0.dev38/pyproject-wheeldir Processing /builddir/build/BUILD/tacker-11.1.0.dev38 Preparing metadata (pyproject.toml): started Running command /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/tmpztkos58v /usr/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running dist_info creating /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/pip-modern-metadata-9ov950uh/tacker.egg-info writing /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/pip-modern-metadata-9ov950uh/tacker.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/pip-modern-metadata-9ov950uh/tacker.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/pip-modern-metadata-9ov950uh/tacker.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/pip-modern-metadata-9ov950uh/tacker.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/pip-modern-metadata-9ov950uh/tacker.egg-info/top_level.txt writing pbr to /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/pip-modern-metadata-9ov950uh/tacker.egg-info/pbr.json [pbr] Processing SOURCES.txt writing manifest file '/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/pip-modern-metadata-9ov950uh/tacker.egg-info/SOURCES.txt' [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file '/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/pip-modern-metadata-9ov950uh/tacker.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/pip-modern-metadata-9ov950uh/tacker-11.1.0.dev38.dist-info' adding license file "LICENSE" (matched pattern "LICEN[CS]E*") adding license file "AUTHORS" (matched pattern "AUTHORS*") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: tacker Building wheel for tacker (pyproject.toml): started Running command /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/tmpkfesv4v1 /usr/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/tacker creating build/lib/tacker/tests creating build/lib/tacker/tests/unit creating build/lib/tacker/tests/unit/sol_refactored creating build/lib/tacker/tests/unit/sol_refactored/conductor copying tacker/tests/unit/sol_refactored/conductor/test_vnfpm_driver_v2.py -> build/lib/tacker/tests/unit/sol_refactored/conductor copying tacker/tests/unit/sol_refactored/conductor/test_vnflcm_driver_v2.py -> build/lib/tacker/tests/unit/sol_refactored/conductor copying tacker/tests/unit/sol_refactored/conductor/test_vnffm_driver_v1.py -> build/lib/tacker/tests/unit/sol_refactored/conductor copying tacker/tests/unit/sol_refactored/conductor/test_server_notification.py -> build/lib/tacker/tests/unit/sol_refactored/conductor copying tacker/tests/unit/sol_refactored/conductor/test_prometheus_plugin.py -> build/lib/tacker/tests/unit/sol_refactored/conductor copying tacker/tests/unit/sol_refactored/conductor/test_conductor_v2.py -> build/lib/tacker/tests/unit/sol_refactored/conductor copying tacker/tests/unit/sol_refactored/conductor/__init__.py -> build/lib/tacker/tests/unit/sol_refactored/conductor creating build/lib/tacker/tests/functional creating build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant copying tacker/tests/functional/sol_kubernetes_multi_tenant/__init__.py -> build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant creating build/lib/tacker/keymgr copying tacker/keymgr/key_manager.py -> build/lib/tacker/keymgr copying tacker/keymgr/exception.py -> build/lib/tacker/keymgr copying tacker/keymgr/barbican_key_manager.py -> build/lib/tacker/keymgr copying tacker/keymgr/__init__.py -> build/lib/tacker/keymgr creating build/lib/tacker/tests/unit/vnfm creating build/lib/tacker/tests/unit/vnfm/infra_drivers copying tacker/tests/unit/vnfm/infra_drivers/__init__.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers creating build/lib/tacker/services copying tacker/services/service_base.py -> build/lib/tacker/services copying tacker/services/__init__.py -> build/lib/tacker/services creating build/lib/tacker/tests/functional/sol_https_v2 copying tacker/tests/functional/sol_https_v2/test_vnfpm_https_basic.py -> build/lib/tacker/tests/functional/sol_https_v2 copying tacker/tests/functional/sol_https_v2/test_vnflcm_https_basic.py -> build/lib/tacker/tests/functional/sol_https_v2 copying tacker/tests/functional/sol_https_v2/test_vnffm_https_basic.py -> build/lib/tacker/tests/functional/sol_https_v2 copying tacker/tests/functional/sol_https_v2/paramgen.py -> build/lib/tacker/tests/functional/sol_https_v2 copying tacker/tests/functional/sol_https_v2/__init__.py -> build/lib/tacker/tests/functional/sol_https_v2 creating build/lib/tacker/tests/functional/sol_separated_nfvo copying tacker/tests/functional/sol_separated_nfvo/__init__.py -> build/lib/tacker/tests/functional/sol_separated_nfvo copying tacker/wsgi.py -> build/lib/tacker copying tacker/version.py -> build/lib/tacker copying tacker/service.py -> build/lib/tacker copying tacker/policy.py -> build/lib/tacker copying tacker/manager.py -> build/lib/tacker copying tacker/context.py -> build/lib/tacker copying tacker/auth.py -> build/lib/tacker copying tacker/_i18n.py -> build/lib/tacker copying tacker/__init__.py -> build/lib/tacker creating build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack copying tacker/tests/unit/vnfm/infra_drivers/openstack/test_update_template.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack copying tacker/tests/unit/vnfm/infra_drivers/openstack/test_openstack_driver.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack copying tacker/tests/unit/vnfm/infra_drivers/openstack/test_openstack.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack copying tacker/tests/unit/vnfm/infra_drivers/openstack/test_etsi_translate_template.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack copying tacker/tests/unit/vnfm/infra_drivers/openstack/__init__.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack creating build/lib/tacker/vnfm creating build/lib/tacker/vnfm/infra_drivers creating build/lib/tacker/vnfm/infra_drivers/kubernetes creating build/lib/tacker/vnfm/infra_drivers/kubernetes/k8s copying tacker/vnfm/infra_drivers/kubernetes/k8s/translate_outputs.py -> build/lib/tacker/vnfm/infra_drivers/kubernetes/k8s copying tacker/vnfm/infra_drivers/kubernetes/k8s/__init__.py -> build/lib/tacker/vnfm/infra_drivers/kubernetes/k8s creating build/lib/tacker/tests/unit/sol_refactored/infra_drivers creating build/lib/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes copying tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/test_kubernetes.py -> build/lib/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes copying tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/test_helm.py -> build/lib/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes copying tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/fakes.py -> build/lib/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes copying tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/__init__.py -> build/lib/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes creating build/lib/tacker/tests/functional/sol_v2_az_retry copying tacker/tests/functional/sol_v2_az_retry/test_az_retry.py -> build/lib/tacker/tests/functional/sol_v2_az_retry copying tacker/tests/functional/sol_v2_az_retry/__init__.py -> build/lib/tacker/tests/functional/sol_v2_az_retry creating build/lib/tacker/plugins copying tacker/plugins/__init__.py -> build/lib/tacker/plugins creating build/lib/tacker/nfvo creating build/lib/tacker/nfvo/drivers creating build/lib/tacker/nfvo/drivers/vim copying tacker/nfvo/drivers/vim/openstack_driver.py -> build/lib/tacker/nfvo/drivers/vim copying tacker/nfvo/drivers/vim/kubernetes_driver.py -> build/lib/tacker/nfvo/drivers/vim copying tacker/nfvo/drivers/vim/abstract_vim_driver.py -> build/lib/tacker/nfvo/drivers/vim copying tacker/nfvo/drivers/vim/__init__.py -> build/lib/tacker/nfvo/drivers/vim creating build/lib/tacker/privileged copying tacker/privileged/linux_cmd.py -> build/lib/tacker/privileged copying tacker/privileged/__init__.py -> build/lib/tacker/privileged creating build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_utils.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_translate_outputs.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver_helm.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/fakes.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/__init__.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes creating build/lib/tacker/api creating build/lib/tacker/api/v1 copying tacker/api/v1/router.py -> build/lib/tacker/api/v1 copying tacker/api/v1/resource_helper.py -> build/lib/tacker/api/v1 copying tacker/api/v1/resource.py -> build/lib/tacker/api/v1 copying tacker/api/v1/base.py -> build/lib/tacker/api/v1 copying tacker/api/v1/attributes.py -> build/lib/tacker/api/v1 copying tacker/api/v1/__init__.py -> build/lib/tacker/api/v1 creating build/lib/tacker/api/schemas copying tacker/api/schemas/vnf_packages.py -> build/lib/tacker/api/schemas copying tacker/api/schemas/vnf_lcm.py -> build/lib/tacker/api/schemas copying tacker/api/schemas/__init__.py -> build/lib/tacker/api/schemas creating build/lib/tacker/db creating build/lib/tacker/db/common_services copying tacker/db/common_services/common_services_db_plugin.py -> build/lib/tacker/db/common_services copying tacker/db/common_services/common_services_db.py -> build/lib/tacker/db/common_services copying tacker/db/common_services/__init__.py -> build/lib/tacker/db/common_services creating build/lib/tacker/vnfm/infra_drivers/openstack copying tacker/vnfm/infra_drivers/openstack/update_template.py -> build/lib/tacker/vnfm/infra_drivers/openstack copying tacker/vnfm/infra_drivers/openstack/translate_template.py -> build/lib/tacker/vnfm/infra_drivers/openstack copying tacker/vnfm/infra_drivers/openstack/openstack.py -> build/lib/tacker/vnfm/infra_drivers/openstack copying tacker/vnfm/infra_drivers/openstack/heat_client.py -> build/lib/tacker/vnfm/infra_drivers/openstack copying tacker/vnfm/infra_drivers/openstack/glance_client.py -> build/lib/tacker/vnfm/infra_drivers/openstack copying tacker/vnfm/infra_drivers/openstack/constants.py -> build/lib/tacker/vnfm/infra_drivers/openstack copying tacker/vnfm/infra_drivers/openstack/__init__.py -> build/lib/tacker/vnfm/infra_drivers/openstack creating build/lib/tacker/tests/unit/tests copying tacker/tests/unit/tests/test_post_mortem_debug.py -> build/lib/tacker/tests/unit/tests copying tacker/tests/unit/tests/__init__.py -> build/lib/tacker/tests/unit/tests creating build/lib/tacker/tests/functional/common copying tacker/tests/functional/common/logging_utils.py -> build/lib/tacker/tests/functional/common copying tacker/tests/functional/common/fake_server.py -> build/lib/tacker/tests/functional/common copying tacker/tests/functional/common/fake_grant_server.py -> build/lib/tacker/tests/functional/common copying tacker/tests/functional/common/__init__.py -> build/lib/tacker/tests/functional/common creating build/lib/tacker/db/migration creating build/lib/tacker/db/migration/alembic_migrations copying tacker/db/migration/alembic_migrations/env.py -> build/lib/tacker/db/migration/alembic_migrations copying tacker/db/migration/alembic_migrations/__init__.py -> build/lib/tacker/db/migration/alembic_migrations creating build/lib/tacker/tests/functional/sol_multi_tenant copying tacker/tests/functional/sol_multi_tenant/__init__.py -> build/lib/tacker/tests/functional/sol_multi_tenant copying tacker/vnfm/infra_drivers/scale_driver.py -> build/lib/tacker/vnfm/infra_drivers copying tacker/vnfm/infra_drivers/noop.py -> build/lib/tacker/vnfm/infra_drivers copying tacker/vnfm/infra_drivers/abstract_driver.py -> build/lib/tacker/vnfm/infra_drivers copying tacker/vnfm/infra_drivers/__init__.py -> build/lib/tacker/vnfm/infra_drivers creating build/lib/tacker/tests/unit/nfvo creating build/lib/tacker/tests/unit/nfvo/drivers creating build/lib/tacker/tests/unit/nfvo/drivers/vim copying tacker/tests/unit/nfvo/drivers/vim/test_openstack_driver.py -> build/lib/tacker/tests/unit/nfvo/drivers/vim copying tacker/tests/unit/nfvo/drivers/vim/test_kubernetes_driver.py -> build/lib/tacker/tests/unit/nfvo/drivers/vim copying tacker/tests/unit/nfvo/drivers/vim/__init__.py -> build/lib/tacker/tests/unit/nfvo/drivers/vim creating build/lib/tacker/glance_store copying tacker/glance_store/store.py -> build/lib/tacker/glance_store copying tacker/glance_store/__init__.py -> build/lib/tacker/glance_store copying tacker/vnfm/infra_drivers/kubernetes/utils.py -> build/lib/tacker/vnfm/infra_drivers/kubernetes copying tacker/vnfm/infra_drivers/kubernetes/kubernetes_driver.py -> build/lib/tacker/vnfm/infra_drivers/kubernetes copying tacker/vnfm/infra_drivers/kubernetes/__init__.py -> build/lib/tacker/vnfm/infra_drivers/kubernetes creating build/lib/tacker/hacking copying tacker/hacking/checks.py -> build/lib/tacker/hacking copying tacker/hacking/__init__.py -> build/lib/tacker/hacking creating build/lib/tacker/tests/functional/sol_kubernetes creating build/lib/tacker/tests/functional/sol_kubernetes/vnflcm copying tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_scale.py -> build/lib/tacker/tests/functional/sol_kubernetes/vnflcm copying tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_multi_ns.py -> build/lib/tacker/tests/functional/sol_kubernetes/vnflcm copying tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_helm.py -> build/lib/tacker/tests/functional/sol_kubernetes/vnflcm copying tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_heal.py -> build/lib/tacker/tests/functional/sol_kubernetes/vnflcm copying tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_container_update.py -> build/lib/tacker/tests/functional/sol_kubernetes/vnflcm copying tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes.py -> build/lib/tacker/tests/functional/sol_kubernetes/vnflcm copying tacker/tests/functional/sol_kubernetes/vnflcm/base.py -> build/lib/tacker/tests/functional/sol_kubernetes/vnflcm copying tacker/tests/functional/sol_kubernetes/vnflcm/__init__.py -> build/lib/tacker/tests/functional/sol_kubernetes/vnflcm creating build/lib/tacker/tests/functional/sol_enhanced_policy creating build/lib/tacker/tests/functional/sol_enhanced_policy/sol copying tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnflcm_apis_v2.py -> build/lib/tacker/tests/functional/sol_enhanced_policy/sol copying tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnflcm_apis_v1.py -> build/lib/tacker/tests/functional/sol_enhanced_policy/sol copying tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnf_package_apis.py -> build/lib/tacker/tests/functional/sol_enhanced_policy/sol copying tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vim_apis_openstack.py -> build/lib/tacker/tests/functional/sol_enhanced_policy/sol copying tacker/tests/functional/sol_enhanced_policy/sol/__init__.py -> build/lib/tacker/tests/functional/sol_enhanced_policy/sol creating build/lib/tacker/api/vnflcm copying tacker/api/vnflcm/__init__.py -> build/lib/tacker/api/vnflcm creating build/lib/tacker/tests/unit/keymgr copying tacker/tests/unit/keymgr/test_barbican_key_manager.py -> build/lib/tacker/tests/unit/keymgr copying tacker/tests/unit/keymgr/__init__.py -> build/lib/tacker/tests/unit/keymgr creating build/lib/tacker/tests/unit/agent copying tacker/tests/unit/agent/__init__.py -> build/lib/tacker/tests/unit/agent creating build/lib/tacker/api/validation copying tacker/api/validation/validators.py -> build/lib/tacker/api/validation copying tacker/api/validation/parameter_types.py -> build/lib/tacker/api/validation copying tacker/api/validation/__init__.py -> build/lib/tacker/api/validation creating build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth copying tacker/tests/functional/sol_kubernetes_oidc_auth/test_vim.py -> build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth copying tacker/tests/functional/sol_kubernetes_oidc_auth/__init__.py -> build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth copying tacker/nfvo/nfvo_plugin.py -> build/lib/tacker/nfvo copying tacker/nfvo/__init__.py -> build/lib/tacker/nfvo creating build/lib/tacker/tests/functional/sol_v2_common copying tacker/tests/functional/sol_v2_common/utils.py -> build/lib/tacker/tests/functional/sol_v2_common copying tacker/tests/functional/sol_v2_common/test_vnflcm_basic_common.py -> build/lib/tacker/tests/functional/sol_v2_common copying tacker/tests/functional/sol_v2_common/paramgen.py -> build/lib/tacker/tests/functional/sol_v2_common copying tacker/tests/functional/sol_v2_common/base_v2.py -> build/lib/tacker/tests/functional/sol_v2_common copying tacker/tests/functional/sol_v2_common/__init__.py -> build/lib/tacker/tests/functional/sol_v2_common copying tacker/vnfm/vim_client.py -> build/lib/tacker/vnfm copying tacker/vnfm/plugin.py -> build/lib/tacker/vnfm copying tacker/vnfm/nfvo_client.py -> build/lib/tacker/vnfm copying tacker/vnfm/keystone.py -> build/lib/tacker/vnfm copying tacker/vnfm/__init__.py -> build/lib/tacker/vnfm creating build/lib/tacker/plugins/common copying tacker/plugins/common/constants.py -> build/lib/tacker/plugins/common copying tacker/plugins/common/__init__.py -> build/lib/tacker/plugins/common creating build/lib/tacker/plugins/common_services copying tacker/plugins/common_services/common_services_plugin.py -> build/lib/tacker/plugins/common_services copying tacker/plugins/common_services/__init__.py -> build/lib/tacker/plugins/common_services copying tacker/tests/unit/sol_refactored/infra_drivers/__init__.py -> build/lib/tacker/tests/unit/sol_refactored/infra_drivers creating build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1 copying tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1/test_kubernetes_oidc_auth.py -> build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1 copying tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1/__init__.py -> build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1 creating build/lib/tacker/tests/unit/api creating build/lib/tacker/tests/unit/api/v2 copying tacker/tests/unit/api/v2/test_api_v2.py -> build/lib/tacker/tests/unit/api/v2 copying tacker/tests/unit/api/v2/__init__.py -> build/lib/tacker/tests/unit/api/v2 copying tacker/db/migration/purge_tables.py -> build/lib/tacker/db/migration copying tacker/db/migration/migrate_to_v2.py -> build/lib/tacker/db/migration copying tacker/db/migration/cli.py -> build/lib/tacker/db/migration copying tacker/db/migration/__init__.py -> build/lib/tacker/db/migration creating build/lib/tacker/agent creating build/lib/tacker/agent/linux copying tacker/agent/linux/utils.py -> build/lib/tacker/agent/linux copying tacker/agent/linux/__init__.py -> build/lib/tacker/agent/linux creating build/lib/tacker/tests/functional/sol copying tacker/tests/functional/sol/__init__.py -> build/lib/tacker/tests/functional/sol creating build/lib/tacker/tests/compliance creating build/lib/tacker/tests/compliance/sol002 copying tacker/tests/compliance/sol002/test_vnflcm.py -> build/lib/tacker/tests/compliance/sol002 copying tacker/tests/compliance/sol002/base.py -> build/lib/tacker/tests/compliance/sol002 copying tacker/tests/compliance/sol002/__init__.py -> build/lib/tacker/tests/compliance/sol002 copying tacker/tests/uuidsentinel.py -> build/lib/tacker/tests copying tacker/tests/utils.py -> build/lib/tacker/tests copying tacker/tests/tools.py -> build/lib/tacker/tests copying tacker/tests/post_mortem_debug.py -> build/lib/tacker/tests copying tacker/tests/fake_notifier.py -> build/lib/tacker/tests copying tacker/tests/constants.py -> build/lib/tacker/tests copying tacker/tests/base.py -> build/lib/tacker/tests copying tacker/tests/__init__.py -> build/lib/tacker/tests creating build/lib/tacker/tests/compliance/sol005 copying tacker/tests/compliance/sol005/test_vnfpkgm.py -> build/lib/tacker/tests/compliance/sol005 copying tacker/tests/compliance/sol005/base.py -> build/lib/tacker/tests/compliance/sol005 copying tacker/tests/compliance/sol005/__init__.py -> build/lib/tacker/tests/compliance/sol005 creating build/lib/tacker/tests/unit/extensions copying tacker/tests/unit/extensions/v2attributes.py -> build/lib/tacker/tests/unit/extensions copying tacker/tests/unit/extensions/test_extension_extended_attribute.py -> build/lib/tacker/tests/unit/extensions copying tacker/tests/unit/extensions/test_common_services.py -> build/lib/tacker/tests/unit/extensions copying tacker/tests/unit/extensions/foxinsocks.py -> build/lib/tacker/tests/unit/extensions copying tacker/tests/unit/extensions/extensionattribute.py -> build/lib/tacker/tests/unit/extensions copying tacker/tests/unit/extensions/extendedattribute.py -> build/lib/tacker/tests/unit/extensions copying tacker/tests/unit/extensions/__init__.py -> build/lib/tacker/tests/unit/extensions creating build/lib/tacker/tests/unit/sol_refactored/objects copying tacker/tests/unit/sol_refactored/objects/test_vnf_lcm_op_occ_v2.py -> build/lib/tacker/tests/unit/sol_refactored/objects copying tacker/tests/unit/sol_refactored/objects/test_vnf_instance_v2.py -> build/lib/tacker/tests/unit/sol_refactored/objects copying tacker/tests/unit/sol_refactored/objects/test_threshold_v2.py -> build/lib/tacker/tests/unit/sol_refactored/objects copying tacker/tests/unit/sol_refactored/objects/test_pm_job_v2.py -> build/lib/tacker/tests/unit/sol_refactored/objects copying tacker/tests/unit/sol_refactored/objects/test_lccn_subscription_v2.py -> build/lib/tacker/tests/unit/sol_refactored/objects copying tacker/tests/unit/sol_refactored/objects/test_grant.py -> build/lib/tacker/tests/unit/sol_refactored/objects copying tacker/tests/unit/sol_refactored/objects/test_fm_subscription.py -> build/lib/tacker/tests/unit/sol_refactored/objects copying tacker/tests/unit/sol_refactored/objects/test_base.py -> build/lib/tacker/tests/unit/sol_refactored/objects copying tacker/tests/unit/sol_refactored/objects/__init__.py -> build/lib/tacker/tests/unit/sol_refactored/objects copying tacker/tests/functional/sol_enhanced_policy/base.py -> build/lib/tacker/tests/functional/sol_enhanced_policy copying tacker/tests/functional/sol_enhanced_policy/__init__.py -> build/lib/tacker/tests/functional/sol_enhanced_policy creating build/lib/tacker/tests/functional/sol_separated_nfvo_v2 copying tacker/tests/functional/sol_separated_nfvo_v2/test_nfvo_separate_v2.py -> build/lib/tacker/tests/functional/sol_separated_nfvo_v2 copying tacker/tests/functional/sol_separated_nfvo_v2/fake_vnfpkgm_v2.py -> build/lib/tacker/tests/functional/sol_separated_nfvo_v2 copying tacker/tests/functional/sol_separated_nfvo_v2/fake_grant_v2.py -> build/lib/tacker/tests/functional/sol_separated_nfvo_v2 copying tacker/tests/functional/sol_separated_nfvo_v2/__init__.py -> build/lib/tacker/tests/functional/sol_separated_nfvo_v2 creating build/lib/tacker/tests/unit/glance_store copying tacker/tests/unit/glance_store/test_store.py -> build/lib/tacker/tests/unit/glance_store copying tacker/tests/unit/glance_store/__init__.py -> build/lib/tacker/tests/unit/glance_store copying tacker/tests/unit/api/test_extensions.py -> build/lib/tacker/tests/unit/api copying tacker/tests/unit/api/test_api_common.py -> build/lib/tacker/tests/unit/api copying tacker/tests/unit/api/__init__.py -> build/lib/tacker/tests/unit/api copying tacker/tests/unit/nfvo/drivers/__init__.py -> build/lib/tacker/tests/unit/nfvo/drivers copying tacker/tests/functional/sol_kubernetes/__init__.py -> build/lib/tacker/tests/functional/sol_kubernetes creating build/lib/tacker/tests/functional/sol_terraform_v2 copying tacker/tests/functional/sol_terraform_v2/test_terraform.py -> build/lib/tacker/tests/functional/sol_terraform_v2 copying tacker/tests/functional/sol_terraform_v2/paramgen.py -> build/lib/tacker/tests/functional/sol_terraform_v2 copying tacker/tests/functional/sol_terraform_v2/base_v2.py -> build/lib/tacker/tests/functional/sol_terraform_v2 copying tacker/tests/functional/sol_terraform_v2/__init__.py -> build/lib/tacker/tests/functional/sol_terraform_v2 creating build/lib/tacker/tests/unit/vnflcm creating build/lib/tacker/tests/unit/vnflcm/vnflcm_driver copying tacker/tests/unit/vnflcm/vnflcm_driver/__init__.py -> build/lib/tacker/tests/unit/vnflcm/vnflcm_driver creating build/lib/tacker/api/vnflcm/v1 copying tacker/api/vnflcm/v1/sync_resource.py -> build/lib/tacker/api/vnflcm/v1 copying tacker/api/vnflcm/v1/router.py -> build/lib/tacker/api/vnflcm/v1 copying tacker/api/vnflcm/v1/controller.py -> build/lib/tacker/api/vnflcm/v1 copying tacker/api/vnflcm/v1/__init__.py -> build/lib/tacker/api/vnflcm/v1 creating build/lib/tacker/cmd creating build/lib/tacker/cmd/eventlet copying tacker/cmd/eventlet/tacker_server.py -> build/lib/tacker/cmd/eventlet copying tacker/cmd/eventlet/conductor.py -> build/lib/tacker/cmd/eventlet copying tacker/cmd/eventlet/__init__.py -> build/lib/tacker/cmd/eventlet creating build/lib/tacker/tests/unit/sol_refactored/controller copying tacker/tests/unit/sol_refactored/controller/test_vnfpm_view.py -> build/lib/tacker/tests/unit/sol_refactored/controller copying tacker/tests/unit/sol_refactored/controller/test_vnfpm_v2.py -> build/lib/tacker/tests/unit/sol_refactored/controller copying tacker/tests/unit/sol_refactored/controller/test_vnflcm_view.py -> build/lib/tacker/tests/unit/sol_refactored/controller copying tacker/tests/unit/sol_refactored/controller/test_vnflcm_v2.py -> build/lib/tacker/tests/unit/sol_refactored/controller copying tacker/tests/unit/sol_refactored/controller/test_vnffm_v1.py -> build/lib/tacker/tests/unit/sol_refactored/controller copying tacker/tests/unit/sol_refactored/controller/test_server_notification.py -> build/lib/tacker/tests/unit/sol_refactored/controller copying tacker/tests/unit/sol_refactored/controller/test_prometheus_plugin.py -> build/lib/tacker/tests/unit/sol_refactored/controller copying tacker/tests/unit/sol_refactored/controller/__init__.py -> build/lib/tacker/tests/unit/sol_refactored/controller creating build/lib/tacker/tests/unit/sol_refactored/api copying tacker/tests/unit/sol_refactored/api/test_wsgi.py -> build/lib/tacker/tests/unit/sol_refactored/api copying tacker/tests/unit/sol_refactored/api/test_validator.py -> build/lib/tacker/tests/unit/sol_refactored/api copying tacker/tests/unit/sol_refactored/api/test_api_version.py -> build/lib/tacker/tests/unit/sol_refactored/api copying tacker/tests/unit/sol_refactored/api/__init__.py -> build/lib/tacker/tests/unit/sol_refactored/api copying tacker/tests/compliance/base.py -> build/lib/tacker/tests/compliance copying tacker/tests/compliance/__init__.py -> build/lib/tacker/tests/compliance creating build/lib/tacker/tests/compliance/sol003 copying tacker/tests/compliance/sol003/test_vnflcm.py -> build/lib/tacker/tests/compliance/sol003 copying tacker/tests/compliance/sol003/base.py -> build/lib/tacker/tests/compliance/sol003 copying tacker/tests/compliance/sol003/__init__.py -> build/lib/tacker/tests/compliance/sol003 creating build/lib/tacker/conf copying tacker/conf/vnf_package.py -> build/lib/tacker/conf copying tacker/conf/vnf_lcm.py -> build/lib/tacker/conf copying tacker/conf/policy.py -> build/lib/tacker/conf copying tacker/conf/opts.py -> build/lib/tacker/conf copying tacker/conf/coordination.py -> build/lib/tacker/conf copying tacker/conf/conductor.py -> build/lib/tacker/conf copying tacker/conf/__init__.py -> build/lib/tacker/conf creating build/lib/tacker/policies copying tacker/policies/vnf_package.py -> build/lib/tacker/policies copying tacker/policies/vnf_lcm.py -> build/lib/tacker/policies copying tacker/policies/base.py -> build/lib/tacker/policies copying tacker/policies/__init__.py -> build/lib/tacker/policies creating build/lib/tacker/tests/functional/sol/vnfpkgm copying tacker/tests/functional/sol/vnfpkgm/test_vnf_package.py -> build/lib/tacker/tests/functional/sol/vnfpkgm copying tacker/tests/functional/sol/vnfpkgm/__init__.py -> build/lib/tacker/tests/functional/sol/vnfpkgm creating build/lib/tacker/tests/unit/api/v1 copying tacker/tests/unit/api/v1/test_vnf_instance.py -> build/lib/tacker/tests/unit/api/v1 copying tacker/tests/unit/api/v1/test_vim.py -> build/lib/tacker/tests/unit/api/v1 copying tacker/tests/unit/api/v1/test_router.py -> build/lib/tacker/tests/unit/api/v1 copying tacker/tests/unit/api/v1/test_resource_helper.py -> build/lib/tacker/tests/unit/api/v1 copying tacker/tests/unit/api/v1/test_resource.py -> build/lib/tacker/tests/unit/api/v1 copying tacker/tests/unit/api/v1/test_attributes.py -> build/lib/tacker/tests/unit/api/v1 copying tacker/tests/unit/api/v1/fakes.py -> build/lib/tacker/tests/unit/api/v1 copying tacker/tests/unit/api/v1/__init__.py -> build/lib/tacker/tests/unit/api/v1 creating build/lib/tacker/tests/unit/vnfm/lcm_user_data creating build/lib/tacker/tests/unit/vnfm/lcm_user_data/utils copying tacker/tests/unit/vnfm/lcm_user_data/utils/test_utils.py -> build/lib/tacker/tests/unit/vnfm/lcm_user_data/utils copying tacker/tests/unit/vnfm/lcm_user_data/utils/__init__.py -> build/lib/tacker/tests/unit/vnfm/lcm_user_data/utils copying tacker/cmd/status.py -> build/lib/tacker/cmd copying tacker/cmd/__init__.py -> build/lib/tacker/cmd creating build/lib/tacker/tests/unit/sol_refactored/mgmt_drivers copying tacker/tests/unit/sol_refactored/mgmt_drivers/test_server_notification.py -> build/lib/tacker/tests/unit/sol_refactored/mgmt_drivers copying tacker/tests/unit/sol_refactored/mgmt_drivers/test_container_update_mgmt.py -> build/lib/tacker/tests/unit/sol_refactored/mgmt_drivers copying tacker/tests/unit/sol_refactored/mgmt_drivers/fakes.py -> build/lib/tacker/tests/unit/sol_refactored/mgmt_drivers copying tacker/tests/unit/sol_refactored/mgmt_drivers/__init__.py -> build/lib/tacker/tests/unit/sol_refactored/mgmt_drivers creating build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2 copying tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2/test_kubernetes_oidc_auth.py -> build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2 copying tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2/base_v2.py -> build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2 copying tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2/__init__.py -> build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2 creating build/lib/tacker/tests/common copying tacker/tests/common/__init__.py -> build/lib/tacker/tests/common copying tacker/tests/functional/keystone.py -> build/lib/tacker/tests/functional copying tacker/tests/functional/base_v2.py -> build/lib/tacker/tests/functional copying tacker/tests/functional/base.py -> build/lib/tacker/tests/functional copying tacker/tests/functional/__init__.py -> build/lib/tacker/tests/functional creating build/lib/tacker/api/vnfpkgm creating build/lib/tacker/api/vnfpkgm/v1 copying tacker/api/vnfpkgm/v1/router.py -> build/lib/tacker/api/vnfpkgm/v1 copying tacker/api/vnfpkgm/v1/controller.py -> build/lib/tacker/api/vnfpkgm/v1 copying tacker/api/vnfpkgm/v1/__init__.py -> build/lib/tacker/api/vnfpkgm/v1 copying tacker/tests/unit/vnflcm/test_vnflcm_driver.py -> build/lib/tacker/tests/unit/vnflcm copying tacker/tests/unit/vnflcm/test_utils.py -> build/lib/tacker/tests/unit/vnflcm copying tacker/tests/unit/vnflcm/test_sync_resource.py -> build/lib/tacker/tests/unit/vnflcm copying tacker/tests/unit/vnflcm/test_load_vnf_interfaces.py -> build/lib/tacker/tests/unit/vnflcm copying tacker/tests/unit/vnflcm/test_controller.py -> build/lib/tacker/tests/unit/vnflcm copying tacker/tests/unit/vnflcm/fakes.py -> build/lib/tacker/tests/unit/vnflcm copying tacker/tests/unit/vnflcm/__init__.py -> build/lib/tacker/tests/unit/vnflcm creating build/lib/tacker/tests/unit/sol_refactored/infra_drivers/terraform copying tacker/tests/unit/sol_refactored/infra_drivers/terraform/test_terraform.py -> build/lib/tacker/tests/unit/sol_refactored/infra_drivers/terraform copying tacker/tests/unit/sol_refactored/infra_drivers/terraform/__init__.py -> build/lib/tacker/tests/unit/sol_refactored/infra_drivers/terraform creating build/lib/tacker/tests/unit/vnfm/mgmt_drivers copying tacker/tests/unit/vnfm/mgmt_drivers/test_container_update_mgmt.py -> build/lib/tacker/tests/unit/vnfm/mgmt_drivers copying tacker/tests/unit/vnfm/mgmt_drivers/fakes.py -> build/lib/tacker/tests/unit/vnfm/mgmt_drivers copying tacker/tests/unit/vnfm/mgmt_drivers/__init__.py -> build/lib/tacker/tests/unit/vnfm/mgmt_drivers copying tacker/agent/__init__.py -> build/lib/tacker/agent copying tacker/tests/unit/vnfm/test_vim_client.py -> build/lib/tacker/tests/unit/vnfm copying tacker/tests/unit/vnfm/test_plugin.py -> build/lib/tacker/tests/unit/vnfm copying tacker/tests/unit/vnfm/test_nfvo_client.py -> build/lib/tacker/tests/unit/vnfm copying tacker/tests/unit/vnfm/__init__.py -> build/lib/tacker/tests/unit/vnfm copying tacker/api/vnfpkgm/__init__.py -> build/lib/tacker/api/vnfpkgm creating build/lib/tacker/objects copying tacker/objects/vnfd_attribute.py -> build/lib/tacker/objects copying tacker/objects/vnfd.py -> build/lib/tacker/objects copying tacker/objects/vnf_software_image.py -> build/lib/tacker/objects copying tacker/objects/vnf_resources.py -> build/lib/tacker/objects copying tacker/objects/vnf_package_vnfd.py -> build/lib/tacker/objects copying tacker/objects/vnf_package.py -> build/lib/tacker/objects copying tacker/objects/vnf_lcm_subscriptions.py -> build/lib/tacker/objects copying tacker/objects/vnf_lcm_op_occs.py -> build/lib/tacker/objects copying tacker/objects/vnf_instantiated_info.py -> build/lib/tacker/objects copying tacker/objects/vnf_instance.py -> build/lib/tacker/objects copying tacker/objects/vnf_deployment_flavour.py -> build/lib/tacker/objects copying tacker/objects/vnf_artifact.py -> build/lib/tacker/objects copying tacker/objects/vnf.py -> build/lib/tacker/objects copying tacker/objects/vim_connection.py -> build/lib/tacker/objects copying tacker/objects/terminate_vnf_req.py -> build/lib/tacker/objects copying tacker/objects/scale_vnf_request.py -> build/lib/tacker/objects copying tacker/objects/instantiate_vnf_req.py -> build/lib/tacker/objects copying tacker/objects/heal_vnf_request.py -> build/lib/tacker/objects copying tacker/objects/grant_request.py -> build/lib/tacker/objects copying tacker/objects/grant.py -> build/lib/tacker/objects copying tacker/objects/fields.py -> build/lib/tacker/objects copying tacker/objects/common.py -> build/lib/tacker/objects copying tacker/objects/change_ext_conn_req.py -> build/lib/tacker/objects copying tacker/objects/cancel_mode.py -> build/lib/tacker/objects copying tacker/objects/base.py -> build/lib/tacker/objects copying tacker/objects/__init__.py -> build/lib/tacker/objects copying tacker/db/types.py -> build/lib/tacker/db copying tacker/db/sqlalchemyutils.py -> build/lib/tacker/db copying tacker/db/models_v1.py -> build/lib/tacker/db copying tacker/db/model_base.py -> build/lib/tacker/db copying tacker/db/db_base.py -> build/lib/tacker/db copying tacker/db/api.py -> build/lib/tacker/db copying tacker/db/__init__.py -> build/lib/tacker/db copying tacker/nfvo/drivers/__init__.py -> build/lib/tacker/nfvo/drivers creating build/lib/tacker/tests/functional/sol/legacy_nfvo copying tacker/tests/functional/sol/legacy_nfvo/test_vim.py -> build/lib/tacker/tests/functional/sol/legacy_nfvo copying tacker/tests/functional/sol/legacy_nfvo/__init__.py -> build/lib/tacker/tests/functional/sol/legacy_nfvo creating build/lib/tacker/conductor copying tacker/conductor/conductor_server.py -> build/lib/tacker/conductor copying tacker/conductor/__init__.py -> build/lib/tacker/conductor creating build/lib/tacker/tests/unit/sol_refactored/infra_drivers/openstack copying tacker/tests/unit/sol_refactored/infra_drivers/openstack/test_userdata_default.py -> build/lib/tacker/tests/unit/sol_refactored/infra_drivers/openstack copying tacker/tests/unit/sol_refactored/infra_drivers/openstack/test_openstack.py -> build/lib/tacker/tests/unit/sol_refactored/infra_drivers/openstack copying tacker/tests/unit/sol_refactored/infra_drivers/openstack/__init__.py -> build/lib/tacker/tests/unit/sol_refactored/infra_drivers/openstack creating build/lib/tacker/conductor/conductorrpc copying tacker/conductor/conductorrpc/vnf_pkgm_rpc.py -> build/lib/tacker/conductor/conductorrpc copying tacker/conductor/conductorrpc/vnf_lcm_rpc.py -> build/lib/tacker/conductor/conductorrpc copying tacker/conductor/conductorrpc/__init__.py -> build/lib/tacker/conductor/conductorrpc creating build/lib/tacker/tests/unit/sol_refactored/nfvo copying tacker/tests/unit/sol_refactored/nfvo/test_nfvo_client.py -> build/lib/tacker/tests/unit/sol_refactored/nfvo copying tacker/tests/unit/sol_refactored/nfvo/test_local_nfvo.py -> build/lib/tacker/tests/unit/sol_refactored/nfvo copying tacker/tests/unit/sol_refactored/nfvo/__init__.py -> build/lib/tacker/tests/unit/sol_refactored/nfvo creating build/lib/tacker/tests/unit/conductor creating build/lib/tacker/tests/unit/conductor/conductorrpc copying tacker/tests/unit/conductor/conductorrpc/test_vnf_pkgm_rpc.py -> build/lib/tacker/tests/unit/conductor/conductorrpc copying tacker/tests/unit/conductor/conductorrpc/test_vnf_lcm_rpc.py -> build/lib/tacker/tests/unit/conductor/conductorrpc copying tacker/tests/unit/conductor/conductorrpc/__init__.py -> build/lib/tacker/tests/unit/conductor/conductorrpc creating build/lib/tacker/tosca copying tacker/tosca/utils.py -> build/lib/tacker/tosca copying tacker/tosca/__init__.py -> build/lib/tacker/tosca creating build/lib/tacker/db/migration/models copying tacker/db/migration/models/head.py -> build/lib/tacker/db/migration/models copying tacker/db/migration/models/__init__.py -> build/lib/tacker/db/migration/models creating build/lib/tacker/tests/unit/cmd copying tacker/tests/unit/cmd/test_status.py -> build/lib/tacker/tests/unit/cmd copying tacker/tests/unit/cmd/__init__.py -> build/lib/tacker/tests/unit/cmd creating build/lib/tacker/vnflcm copying tacker/vnflcm/vnflcm_driver.py -> build/lib/tacker/vnflcm copying tacker/vnflcm/utils.py -> build/lib/tacker/vnflcm copying tacker/vnflcm/abstract_driver.py -> build/lib/tacker/vnflcm copying tacker/vnflcm/__init__.py -> build/lib/tacker/vnflcm copying tacker/tests/unit/vnfm/lcm_user_data/__init__.py -> build/lib/tacker/tests/unit/vnfm/lcm_user_data creating build/lib/tacker/api/views copying tacker/api/views/vnf_subscriptions.py -> build/lib/tacker/api/views copying tacker/api/views/vnf_packages.py -> build/lib/tacker/api/views copying tacker/api/views/vnf_lcm_op_occs.py -> build/lib/tacker/api/views copying tacker/api/views/vnf_lcm.py -> build/lib/tacker/api/views copying tacker/api/views/versions.py -> build/lib/tacker/api/views copying tacker/api/views/__init__.py -> build/lib/tacker/api/views creating build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm copying tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/test_kubernetes_multi_tenant.py -> build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm copying tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/fake_vnflcm.py -> build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm copying tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/base.py -> build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm copying tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/__init__.py -> build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm creating build/lib/tacker/tests/unit/common copying tacker/tests/unit/common/test_utils.py -> build/lib/tacker/tests/unit/common copying tacker/tests/unit/common/test_store.py -> build/lib/tacker/tests/unit/common copying tacker/tests/unit/common/test_oidc_utils.py -> build/lib/tacker/tests/unit/common copying tacker/tests/unit/common/test_log.py -> build/lib/tacker/tests/unit/common copying tacker/tests/unit/common/test_ext_oauth2_auth.py -> build/lib/tacker/tests/unit/common copying tacker/tests/unit/common/test_csar_utils.py -> build/lib/tacker/tests/unit/common copying tacker/tests/unit/common/test_crypt_utils.py -> build/lib/tacker/tests/unit/common copying tacker/tests/unit/common/test_config.py -> build/lib/tacker/tests/unit/common copying tacker/tests/unit/common/fakes.py -> build/lib/tacker/tests/unit/common copying tacker/tests/unit/common/__init__.py -> build/lib/tacker/tests/unit/common creating build/lib/tacker/tests/unit/agent/linux copying tacker/tests/unit/agent/linux/test_utils.py -> build/lib/tacker/tests/unit/agent/linux copying tacker/tests/unit/agent/linux/__init__.py -> build/lib/tacker/tests/unit/agent/linux copying tacker/tests/unit/sol_refactored/__init__.py -> build/lib/tacker/tests/unit/sol_refactored creating build/lib/tacker/db/vnfm copying tacker/db/vnfm/vnfm_db.py -> build/lib/tacker/db/vnfm copying tacker/db/vnfm/__init__.py -> build/lib/tacker/db/vnfm creating build/lib/tacker/tests/unit/policies copying tacker/tests/unit/policies/test_vnf_package.py -> build/lib/tacker/tests/unit/policies copying tacker/tests/unit/policies/test_vnf_lcm.py -> build/lib/tacker/tests/unit/policies copying tacker/tests/unit/policies/base.py -> build/lib/tacker/tests/unit/policies copying tacker/tests/unit/policies/__init__.py -> build/lib/tacker/tests/unit/policies creating build/lib/tacker/tests/functional/sol_encrypt_cred_v2 copying tacker/tests/functional/sol_encrypt_cred_v2/test_encrypt_credentials.py -> build/lib/tacker/tests/functional/sol_encrypt_cred_v2 copying tacker/tests/functional/sol_encrypt_cred_v2/paramgen.py -> build/lib/tacker/tests/functional/sol_encrypt_cred_v2 copying tacker/tests/functional/sol_encrypt_cred_v2/__init__.py -> build/lib/tacker/tests/functional/sol_encrypt_cred_v2 creating build/lib/tacker/tests/unit/db creating build/lib/tacker/tests/unit/db/common_services copying tacker/tests/unit/db/common_services/test_common_services_db_plugin.py -> build/lib/tacker/tests/unit/db/common_services copying tacker/tests/unit/db/common_services/__init__.py -> build/lib/tacker/tests/unit/db/common_services copying tacker/api/versions.py -> build/lib/tacker/api copying tacker/api/extensions.py -> build/lib/tacker/api copying tacker/api/api_common.py -> build/lib/tacker/api copying tacker/api/__init__.py -> build/lib/tacker/api creating build/lib/tacker/common copying tacker/common/utils.py -> build/lib/tacker/common copying tacker/common/topics.py -> build/lib/tacker/common copying tacker/common/test_lib.py -> build/lib/tacker/common copying tacker/common/safe_utils.py -> build/lib/tacker/common copying tacker/common/rpc.py -> build/lib/tacker/common copying tacker/common/oidc_utils.py -> build/lib/tacker/common copying tacker/common/log.py -> build/lib/tacker/common copying tacker/common/ext_oauth2_auth.py -> build/lib/tacker/common copying tacker/common/exceptions.py -> build/lib/tacker/common copying tacker/common/eventlet_utils.py -> build/lib/tacker/common copying tacker/common/driver_manager.py -> build/lib/tacker/common copying tacker/common/csar_utils.py -> build/lib/tacker/common copying tacker/common/crypt_utils.py -> build/lib/tacker/common copying tacker/common/coordination.py -> build/lib/tacker/common copying tacker/common/constants.py -> build/lib/tacker/common copying tacker/common/config.py -> build/lib/tacker/common copying tacker/common/cmd_executer.py -> build/lib/tacker/common copying tacker/common/clients.py -> build/lib/tacker/common copying tacker/common/__init__.py -> build/lib/tacker/common creating build/lib/tacker/vnfm/lcm_user_data copying tacker/vnfm/lcm_user_data/utils.py -> build/lib/tacker/vnfm/lcm_user_data copying tacker/vnfm/lcm_user_data/constants.py -> build/lib/tacker/vnfm/lcm_user_data copying tacker/vnfm/lcm_user_data/abstract_user_data.py -> build/lib/tacker/vnfm/lcm_user_data copying tacker/vnfm/lcm_user_data/__init__.py -> build/lib/tacker/vnfm/lcm_user_data creating build/lib/tacker/tests/unit/vnfpkgm copying tacker/tests/unit/vnfpkgm/test_controller.py -> build/lib/tacker/tests/unit/vnfpkgm copying tacker/tests/unit/vnfpkgm/fakes.py -> build/lib/tacker/tests/unit/vnfpkgm copying tacker/tests/unit/vnfpkgm/__init__.py -> build/lib/tacker/tests/unit/vnfpkgm creating build/lib/tacker/tests/functional/sol/vnflcm copying tacker/tests/functional/sol/vnflcm/test_vnflcm_noop.py -> build/lib/tacker/tests/functional/sol/vnflcm copying tacker/tests/functional/sol/vnflcm/test_vnf_instance_with_user_data.py -> build/lib/tacker/tests/functional/sol/vnflcm copying tacker/tests/functional/sol/vnflcm/test_vnf_instance.py -> build/lib/tacker/tests/functional/sol/vnflcm copying tacker/tests/functional/sol/vnflcm/fake_vnfpkgm.py -> build/lib/tacker/tests/functional/sol/vnflcm copying tacker/tests/functional/sol/vnflcm/fake_vnflcm.py -> build/lib/tacker/tests/functional/sol/vnflcm copying tacker/tests/functional/sol/vnflcm/base.py -> build/lib/tacker/tests/functional/sol/vnflcm copying tacker/tests/functional/sol/vnflcm/__init__.py -> build/lib/tacker/tests/functional/sol/vnflcm copying tacker/tests/unit/testlib_api.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/test_wsgi.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/test_privsep.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/test_policy.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/test_context.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/test_auth.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/fixtures.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/fake_request.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/fake_auth.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/extension_stubs.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/database_stubs.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/base.py -> build/lib/tacker/tests/unit copying tacker/tests/unit/__init__.py -> build/lib/tacker/tests/unit creating build/lib/tacker/tests/functional/sol_separated_nfvo/vnflcm copying tacker/tests/functional/sol_separated_nfvo/vnflcm/test_vnf_instance_with_user_data_nfvo_separate.py -> build/lib/tacker/tests/functional/sol_separated_nfvo/vnflcm copying tacker/tests/functional/sol_separated_nfvo/vnflcm/fake_vnfpkgm.py -> build/lib/tacker/tests/functional/sol_separated_nfvo/vnflcm copying tacker/tests/functional/sol_separated_nfvo/vnflcm/fake_grant.py -> build/lib/tacker/tests/functional/sol_separated_nfvo/vnflcm copying tacker/tests/functional/sol_separated_nfvo/vnflcm/__init__.py -> build/lib/tacker/tests/functional/sol_separated_nfvo/vnflcm creating build/lib/tacker/tests/functional/sol_multi_tenant/vnflcm copying tacker/tests/functional/sol_multi_tenant/vnflcm/test_vnf_lcm_with_multi_tenant.py -> build/lib/tacker/tests/functional/sol_multi_tenant/vnflcm copying tacker/tests/functional/sol_multi_tenant/vnflcm/fake_vnflcm.py -> build/lib/tacker/tests/functional/sol_multi_tenant/vnflcm copying tacker/tests/functional/sol_multi_tenant/vnflcm/base.py -> build/lib/tacker/tests/functional/sol_multi_tenant/vnflcm copying tacker/tests/functional/sol_multi_tenant/vnflcm/__init__.py -> build/lib/tacker/tests/functional/sol_multi_tenant/vnflcm copying tacker/tests/unit/nfvo/test_nfvo_plugin.py -> build/lib/tacker/tests/unit/nfvo copying tacker/tests/unit/nfvo/__init__.py -> build/lib/tacker/tests/unit/nfvo creating build/lib/tacker/common/container copying tacker/common/container/kubernetes_utils.py -> build/lib/tacker/common/container copying tacker/common/container/__init__.py -> build/lib/tacker/common/container creating build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vnfd_attribute.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vnfd.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vnf_software_images.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vnf_resource.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vnf_package_vnfd.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vnf_package.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vnf_lcm_subscriptions.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vnf_lcm_op_occs.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vnf_instantiated_info.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vnf_instance.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vnf_deployment_flavour.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_vim_connection.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_terminate_vnf_request.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_instantiate_vnf_req.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_grant.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_fields.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/test_change_ext_conn_req.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/fakes.py -> build/lib/tacker/tests/unit/objects copying tacker/tests/unit/objects/__init__.py -> build/lib/tacker/tests/unit/objects creating build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_vnfd_utils.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_vnf_instance_utils.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_vim_utils.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_subscription_utils.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_server_notification.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_prometheus_plugin.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_pm_threshold_utils.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_pm_job_utils.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_oidc_utils.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_lcm_op_occ_utils.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_fm_subscription_utils.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_fm_alarm_utils.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_coordinate.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_coord_client.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/test_common_script_utils.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/fakes_for_fm.py -> build/lib/tacker/tests/unit/sol_refactored/common copying tacker/tests/unit/sol_refactored/common/__init__.py -> build/lib/tacker/tests/unit/sol_refactored/common creating build/lib/tacker/tests/functional/sol_v2_individual_vnfc_mgmt copying tacker/tests/functional/sol_v2_individual_vnfc_mgmt/test_individual_vnfc_mgmt_basic.py -> build/lib/tacker/tests/functional/sol_v2_individual_vnfc_mgmt copying tacker/tests/functional/sol_v2_individual_vnfc_mgmt/__init__.py -> build/lib/tacker/tests/functional/sol_v2_individual_vnfc_mgmt creating build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data copying tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/fixture_data_utils.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data copying tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/client.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data copying tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/__init__.py -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data copying tacker/tests/unit/conductor/test_conductor_server.py -> build/lib/tacker/tests/unit/conductor copying tacker/tests/unit/conductor/fakes.py -> build/lib/tacker/tests/unit/conductor copying tacker/tests/unit/conductor/__init__.py -> build/lib/tacker/tests/unit/conductor creating build/lib/tacker/vnfm/mgmt_drivers copying tacker/vnfm/mgmt_drivers/vnflcm_noop.py -> build/lib/tacker/vnfm/mgmt_drivers copying tacker/vnfm/mgmt_drivers/vnflcm_abstract_driver.py -> build/lib/tacker/vnfm/mgmt_drivers copying tacker/vnfm/mgmt_drivers/constants.py -> build/lib/tacker/vnfm/mgmt_drivers copying tacker/vnfm/mgmt_drivers/__init__.py -> build/lib/tacker/vnfm/mgmt_drivers copying tacker/tests/unit/db/utils.py -> build/lib/tacker/tests/unit/db copying tacker/tests/unit/db/test_vnf_resource.py -> build/lib/tacker/tests/unit/db copying tacker/tests/unit/db/test_vnf_package_vnfd.py -> build/lib/tacker/tests/unit/db copying tacker/tests/unit/db/test_vnf_package.py -> build/lib/tacker/tests/unit/db copying tacker/tests/unit/db/test_vnf_instance.py -> build/lib/tacker/tests/unit/db copying tacker/tests/unit/db/test_vnf_artifact.py -> build/lib/tacker/tests/unit/db copying tacker/tests/unit/db/test_db_purge_delete.py -> build/lib/tacker/tests/unit/db copying tacker/tests/unit/db/test_db_migration_to_v2.py -> build/lib/tacker/tests/unit/db copying tacker/tests/unit/db/test_db_migration.py -> build/lib/tacker/tests/unit/db copying tacker/tests/unit/db/base.py -> build/lib/tacker/tests/unit/db copying tacker/tests/unit/db/__init__.py -> build/lib/tacker/tests/unit/db creating build/lib/tacker/tests/unit/common/container copying tacker/tests/unit/common/container/test_kubernetes_utils.py -> build/lib/tacker/tests/unit/common/container copying tacker/tests/unit/common/container/__init__.py -> build/lib/tacker/tests/unit/common/container creating build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/test_vnfpm_threshold_basic.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/test_vnfpm_basic.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/test_vnflcm_basic.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/test_vnffm_basic.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/test_threshold_prometheus_plugin.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/test_prom_auto_scale_heal.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/test_kubernetes_container_update.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/test_helm.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/test_change_vnfpkg.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/paramgen.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/base_v2.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 copying tacker/tests/functional/sol_kubernetes_v2/__init__.py -> build/lib/tacker/tests/functional/sol_kubernetes_v2 creating build/lib/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes copying tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/test_policy_vim_apis_kubernetes.py -> build/lib/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes copying tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/test_policy_cnflcm_apis_v2.py -> build/lib/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes copying tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/test_policy_cnflcm_apis_v1.py -> build/lib/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes copying tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/__init__.py -> build/lib/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes creating build/lib/tacker/db/db_sqlalchemy copying tacker/db/db_sqlalchemy/models.py -> build/lib/tacker/db/db_sqlalchemy copying tacker/db/db_sqlalchemy/api.py -> build/lib/tacker/db/db_sqlalchemy copying tacker/db/db_sqlalchemy/__init__.py -> build/lib/tacker/db/db_sqlalchemy creating build/lib/tacker/db/nfvo copying tacker/db/nfvo/nfvo_db_plugin.py -> build/lib/tacker/db/nfvo copying tacker/db/nfvo/nfvo_db.py -> build/lib/tacker/db/nfvo copying tacker/db/nfvo/__init__.py -> build/lib/tacker/db/nfvo creating build/lib/tacker/api/common copying tacker/api/common/attribute_filter.py -> build/lib/tacker/api/common copying tacker/api/common/_filters.py -> build/lib/tacker/api/common copying tacker/api/common/__init__.py -> build/lib/tacker/api/common creating build/lib/tacker/extensions copying tacker/extensions/vnfm.py -> build/lib/tacker/extensions copying tacker/extensions/vnflcm.py -> build/lib/tacker/extensions copying tacker/extensions/nfvo.py -> build/lib/tacker/extensions copying tacker/extensions/common_services.py -> build/lib/tacker/extensions copying tacker/extensions/__init__.py -> build/lib/tacker/extensions creating build/lib/tacker/vnfm/infra_drivers/kubernetes/helm copying tacker/vnfm/infra_drivers/kubernetes/helm/helm_client.py -> build/lib/tacker/vnfm/infra_drivers/kubernetes/helm copying tacker/vnfm/infra_drivers/kubernetes/helm/__init__.py -> build/lib/tacker/vnfm/infra_drivers/kubernetes/helm running egg_info writing tacker.egg-info/PKG-INFO writing dependency_links to tacker.egg-info/dependency_links.txt writing entry points to tacker.egg-info/entry_points.txt writing requirements to tacker.egg-info/requires.txt writing top-level names to tacker.egg-info/top_level.txt writing pbr to tacker.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'tacker.egg-info/SOURCES.txt' /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.db.migration.alembic_migrations.versions' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.db.migration.alembic_migrations.versions' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.db.migration.alembic_migrations.versions' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.db.migration.alembic_migrations.versions' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.locale.de.LC_MESSAGES' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.locale.de.LC_MESSAGES' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.locale.de.LC_MESSAGES' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.locale.de.LC_MESSAGES' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.releasenotes.notes' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.releasenotes.notes' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.releasenotes.notes' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.releasenotes.notes' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.api' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.api' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.api' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.api' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.api.policies' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.api.policies' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.api.policies' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.api.policies' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.api.schemas' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.api.schemas' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.api.schemas' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.api.schemas' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.common' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.common' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.common' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.common' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.conductor' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.conductor' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.conductor' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.conductor' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.controller' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.controller' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.controller' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.controller' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.db' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.db' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.db' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.db' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.db.sqlalchemy' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.db.sqlalchemy' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.db.sqlalchemy' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.db.sqlalchemy' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.infra_drivers.kubernetes' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.infra_drivers.kubernetes' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.infra_drivers.kubernetes' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.infra_drivers.kubernetes' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.infra_drivers.openstack' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.infra_drivers.openstack' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.infra_drivers.openstack' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.infra_drivers.openstack' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.infra_drivers.terraform' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.infra_drivers.terraform' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.infra_drivers.terraform' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.infra_drivers.terraform' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.mgmt_drivers' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.mgmt_drivers' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.mgmt_drivers' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.mgmt_drivers' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.nfvo' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.nfvo' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.nfvo' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.nfvo' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.objects' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.objects' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.objects' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.objects' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.objects.common' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.objects.common' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.objects.common' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.objects.common' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.objects.v1' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.objects.v1' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.objects.v1' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.objects.v1' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored.objects.v2' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored.objects.v2' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored.objects.v2' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored.objects.v2' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.sol_refactored' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.sol_refactored' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.sol_refactored' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.sol_refactored' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.functional.sol_v2.basic' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.functional.sol_v2.basic' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.functional.sol_v2.basic' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.functional.sol_v2.basic' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.functional.sol_v2.notification' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.functional.sol_v2.notification' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.functional.sol_v2.notification' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.functional.sol_v2.notification' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.functional.sol_v2.prometheus' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.functional.sol_v2.prometheus' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.functional.sol_v2.prometheus' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.functional.sol_v2.prometheus' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.functional.sol_v2.vnflcm' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.functional.sol_v2.vnflcm' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.functional.sol_v2.vnflcm' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.functional.sol_v2.vnflcm' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.functional.tools' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.functional.tools' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.functional.tools' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.functional.tools' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.unit.common.sample_keys' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.unit.common.sample_keys' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.unit.common.sample_keys' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.unit.common.sample_keys' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.unit.vnfm.infra_drivers.kubernetes.kubernetes_api_resource' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.unit.vnfm.infra_drivers.kubernetes.kubernetes_api_resource' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.unit.vnfm.infra_drivers.kubernetes.kubernetes_api_resource' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.unit.vnfm.infra_drivers.kubernetes.kubernetes_api_resource' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.unit.vnfm.infra_drivers.openstack.data' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.unit.vnfm.infra_drivers.openstack.data' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.unit.vnfm.infra_drivers.openstack.data' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.unit.vnfm.infra_drivers.openstack.data' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv.hot' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv.hot' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv.hot' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv.hot' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv.hot.scaling' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv.hot.scaling' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv.hot.scaling' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.unit.vnfm.infra_drivers.openstack.data.etsi_nfv.hot.scaling' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.9/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'tacker.tests.var' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'tacker.tests.var' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'tacker.tests.var' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'tacker.tests.var' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) creating build/lib/tacker/locale creating build/lib/tacker/locale/de creating build/lib/tacker/locale/de/LC_MESSAGES copying tacker/locale/de/LC_MESSAGES/tacker.po -> build/lib/tacker/locale/de/LC_MESSAGES creating build/lib/tacker/releasenotes creating build/lib/tacker/releasenotes/notes copying tacker/releasenotes/notes/change_external_vnf_connectivity-444c580a01479f33.yaml -> build/lib/tacker/releasenotes/notes copying tacker/releasenotes/notes/remove-passing-infra-and-mgmt-driver-in-api-954fe28b1294a2d6.yaml -> build/lib/tacker/releasenotes/notes creating build/lib/tacker/sol_refactored creating build/lib/tacker/sol_refactored/api copying tacker/sol_refactored/api/api_version.py -> build/lib/tacker/sol_refactored/api copying tacker/sol_refactored/api/router.py -> build/lib/tacker/sol_refactored/api copying tacker/sol_refactored/api/validator.py -> build/lib/tacker/sol_refactored/api copying tacker/sol_refactored/api/wsgi.py -> build/lib/tacker/sol_refactored/api creating build/lib/tacker/sol_refactored/api/policies copying tacker/sol_refactored/api/policies/vnffm_v1.py -> build/lib/tacker/sol_refactored/api/policies copying tacker/sol_refactored/api/policies/vnflcm_v2.py -> build/lib/tacker/sol_refactored/api/policies copying tacker/sol_refactored/api/policies/vnfpm_v2.py -> build/lib/tacker/sol_refactored/api/policies creating build/lib/tacker/sol_refactored/api/schemas copying tacker/sol_refactored/api/schemas/__init__.py -> build/lib/tacker/sol_refactored/api/schemas copying tacker/sol_refactored/api/schemas/common_types.py -> build/lib/tacker/sol_refactored/api/schemas copying tacker/sol_refactored/api/schemas/prometheus_plugin_schemas.py -> build/lib/tacker/sol_refactored/api/schemas copying tacker/sol_refactored/api/schemas/server_notification_schemas.py -> build/lib/tacker/sol_refactored/api/schemas copying tacker/sol_refactored/api/schemas/vnffm_v1.py -> build/lib/tacker/sol_refactored/api/schemas copying tacker/sol_refactored/api/schemas/vnflcm_v2.py -> build/lib/tacker/sol_refactored/api/schemas copying tacker/sol_refactored/api/schemas/vnfpm_v2.py -> build/lib/tacker/sol_refactored/api/schemas creating build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/cinder_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/common_script_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/config.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/coord_client.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/coordinate.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/exceptions.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/fm_alarm_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/fm_subscription_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/http_client.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/lcm_op_occ_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/monitoring_plugin_base.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/oidc_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/pm_job_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/pm_threshold_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/prometheus_plugin.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/server_notification.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/subscription_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/vim_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/vnf_instance_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/vnfd_utils.py -> build/lib/tacker/sol_refactored/common copying tacker/sol_refactored/common/vnflcm_utils.py -> build/lib/tacker/sol_refactored/common creating build/lib/tacker/sol_refactored/conductor copying tacker/sol_refactored/conductor/__init__.py -> build/lib/tacker/sol_refactored/conductor copying tacker/sol_refactored/conductor/conductor_rpc_v2.py -> build/lib/tacker/sol_refactored/conductor copying tacker/sol_refactored/conductor/conductor_v2.py -> build/lib/tacker/sol_refactored/conductor copying tacker/sol_refactored/conductor/prometheus_plugin_driver.py -> build/lib/tacker/sol_refactored/conductor copying tacker/sol_refactored/conductor/server_notification_driver.py -> build/lib/tacker/sol_refactored/conductor copying tacker/sol_refactored/conductor/v2_hook.py -> build/lib/tacker/sol_refactored/conductor copying tacker/sol_refactored/conductor/vnffm_driver_v1.py -> build/lib/tacker/sol_refactored/conductor copying tacker/sol_refactored/conductor/vnflcm_driver_v2.py -> build/lib/tacker/sol_refactored/conductor copying tacker/sol_refactored/conductor/vnfpm_driver_v2.py -> build/lib/tacker/sol_refactored/conductor creating build/lib/tacker/sol_refactored/controller copying tacker/sol_refactored/controller/__init__.py -> build/lib/tacker/sol_refactored/controller copying tacker/sol_refactored/controller/prometheus_plugin_controller.py -> build/lib/tacker/sol_refactored/controller copying tacker/sol_refactored/controller/server_notification.py -> build/lib/tacker/sol_refactored/controller copying tacker/sol_refactored/controller/vnffm_v1.py -> build/lib/tacker/sol_refactored/controller copying tacker/sol_refactored/controller/vnffm_view.py -> build/lib/tacker/sol_refactored/controller copying tacker/sol_refactored/controller/vnflcm_v2.py -> build/lib/tacker/sol_refactored/controller copying tacker/sol_refactored/controller/vnflcm_versions.py -> build/lib/tacker/sol_refactored/controller copying tacker/sol_refactored/controller/vnflcm_view.py -> build/lib/tacker/sol_refactored/controller copying tacker/sol_refactored/controller/vnfpm_v2.py -> build/lib/tacker/sol_refactored/controller copying tacker/sol_refactored/controller/vnfpm_view.py -> build/lib/tacker/sol_refactored/controller creating build/lib/tacker/sol_refactored/db copying tacker/sol_refactored/db/__init__.py -> build/lib/tacker/sol_refactored/db creating build/lib/tacker/sol_refactored/db/sqlalchemy copying tacker/sol_refactored/db/sqlalchemy/__init__.py -> build/lib/tacker/sol_refactored/db/sqlalchemy copying tacker/sol_refactored/db/sqlalchemy/models.py -> build/lib/tacker/sol_refactored/db/sqlalchemy creating build/lib/tacker/sol_refactored/infra_drivers creating build/lib/tacker/sol_refactored/infra_drivers/kubernetes copying tacker/sol_refactored/infra_drivers/kubernetes/helm.py -> build/lib/tacker/sol_refactored/infra_drivers/kubernetes copying tacker/sol_refactored/infra_drivers/kubernetes/helm_utils.py -> build/lib/tacker/sol_refactored/infra_drivers/kubernetes copying tacker/sol_refactored/infra_drivers/kubernetes/kubernetes.py -> build/lib/tacker/sol_refactored/infra_drivers/kubernetes copying tacker/sol_refactored/infra_drivers/kubernetes/kubernetes_common.py -> build/lib/tacker/sol_refactored/infra_drivers/kubernetes copying tacker/sol_refactored/infra_drivers/kubernetes/kubernetes_resource.py -> build/lib/tacker/sol_refactored/infra_drivers/kubernetes copying tacker/sol_refactored/infra_drivers/kubernetes/kubernetes_utils.py -> build/lib/tacker/sol_refactored/infra_drivers/kubernetes creating build/lib/tacker/sol_refactored/infra_drivers/openstack copying tacker/sol_refactored/infra_drivers/openstack/heat_utils.py -> build/lib/tacker/sol_refactored/infra_drivers/openstack copying tacker/sol_refactored/infra_drivers/openstack/nova_utils.py -> build/lib/tacker/sol_refactored/infra_drivers/openstack copying tacker/sol_refactored/infra_drivers/openstack/openstack.py -> build/lib/tacker/sol_refactored/infra_drivers/openstack copying tacker/sol_refactored/infra_drivers/openstack/userdata_default.py -> build/lib/tacker/sol_refactored/infra_drivers/openstack copying tacker/sol_refactored/infra_drivers/openstack/userdata_main.py -> build/lib/tacker/sol_refactored/infra_drivers/openstack copying tacker/sol_refactored/infra_drivers/openstack/userdata_standard.py -> build/lib/tacker/sol_refactored/infra_drivers/openstack copying tacker/sol_refactored/infra_drivers/openstack/userdata_utils.py -> build/lib/tacker/sol_refactored/infra_drivers/openstack creating build/lib/tacker/sol_refactored/infra_drivers/terraform copying tacker/sol_refactored/infra_drivers/terraform/terraform.py -> build/lib/tacker/sol_refactored/infra_drivers/terraform creating build/lib/tacker/sol_refactored/mgmt_drivers copying tacker/sol_refactored/mgmt_drivers/container_update_mgmt_v2.py -> build/lib/tacker/sol_refactored/mgmt_drivers copying tacker/sol_refactored/mgmt_drivers/sample_script.py -> build/lib/tacker/sol_refactored/mgmt_drivers copying tacker/sol_refactored/mgmt_drivers/server_notification.py -> build/lib/tacker/sol_refactored/mgmt_drivers creating build/lib/tacker/sol_refactored/nfvo copying tacker/sol_refactored/nfvo/glance_utils.py -> build/lib/tacker/sol_refactored/nfvo copying tacker/sol_refactored/nfvo/local_nfvo.py -> build/lib/tacker/sol_refactored/nfvo copying tacker/sol_refactored/nfvo/nfvo_client.py -> build/lib/tacker/sol_refactored/nfvo creating build/lib/tacker/sol_refactored/objects copying tacker/sol_refactored/objects/__init__.py -> build/lib/tacker/sol_refactored/objects copying tacker/sol_refactored/objects/base.py -> build/lib/tacker/sol_refactored/objects creating build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/cp_protocol_data.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/crypt_key.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/ext_link_port_data.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/ext_managed_virtual_link_data.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/ext_virtual_link_data.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/fields.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/ip_over_ethernet_address_data.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/link.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/notification_link.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/problem_details.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/resource_handle.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/subscription_authentication.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/vim_connection_info.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/vnf_ext_cp_config.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/vnf_ext_cp_data.py -> build/lib/tacker/sol_refactored/objects/common copying tacker/sol_refactored/objects/common/vnf_instance_subscription_filter.py -> build/lib/tacker/sol_refactored/objects/common creating build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/alarm.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/alarm_cleared_notification.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/alarm_notification.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/constraint_resource_ref.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/fields.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/fm_notifications_filter.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/fm_subscription.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/fm_subscription_request.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/grant.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/grant_info.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/grant_request.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/placement_constraint.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/resource_definition.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/snapshot_resource_definition.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/vim_compute_resource_flavour.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/vim_constraint.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/vim_snapshot_resource.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/vim_software_image.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/zone_group_info.py -> build/lib/tacker/sol_refactored/objects/v1 copying tacker/sol_refactored/objects/v1/zone_info.py -> build/lib/tacker/sol_refactored/objects/v1 creating build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/affected_ext_link_port.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/affected_virtual_link.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/affected_virtual_storage.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/affected_vnfc.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/cancel_mode.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/change_current_vnf_pkg_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/change_ext_vnf_connectivity_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/change_vnf_flavour_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/cp_protocol_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/create_pm_job_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/create_threshold_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/create_vnf_pkg_info_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/create_vnf_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/create_vnf_snapshot_info_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/create_vnf_snapshot_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/ext_link_port_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/ext_managed_virtual_link_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/ext_virtual_link_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/external_artifacts_access_config.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/fields.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/heal_vnf_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/instantiate_vnf_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/ip_over_ethernet_address_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/lccn_links.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/lccn_subscription.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/lccn_subscription_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/lcm_coord_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/lifecycle_change_notifications_filter.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/modifications_triggered_by_vnf_pkg_change.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/monitoring_parameter.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/operate_vnf_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/performance_information_available_notification.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/pkgm_links.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/pkgm_notification_filter.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/pkgm_subscription_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/pm_job.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/pm_job_criteria.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/pm_job_modification.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/pm_report.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/revert_to_vnf_snapshot_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/scale_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/scale_vnf_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/scale_vnf_to_level_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/terminate_vnf_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/threshold.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/threshold_criteria.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/threshold_crossed_notification.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/threshold_modifications.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/upload_vnf_package_from_uri_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/virtual_storage_resource_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_ext_cp_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_identifier_creation_notification.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_identifier_deletion_notification.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_info_modification_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_info_modifications.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_instance.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_lcm_op_occ.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_lcm_operation_occurrence_notification.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_link_port_data.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_link_port_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_package_artifact_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_package_change_notification.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_package_onboarding_notification.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_package_software_image_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_pkg_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_pkg_info_modifications.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_snapshot.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_snapshot_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_snapshot_info_modification_request.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_snapshot_info_modifications.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_state_snapshot_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnf_virtual_link_resource_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnfc_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnfc_info_modifications.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnfc_resource_info.py -> build/lib/tacker/sol_refactored/objects/v2 copying tacker/sol_refactored/objects/v2/vnfc_snapshot_info.py -> build/lib/tacker/sol_refactored/objects/v2 creating build/lib/tacker/sol_refactored/test-tools copying tacker/sol_refactored/test-tools/cli.py -> build/lib/tacker/sol_refactored/test-tools copying tacker/sol_refactored/test-tools/notif_endpoint_app.py -> build/lib/tacker/sol_refactored/test-tools creating build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_grant.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_initial.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_nest_grant.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_nest_initial.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data creating build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/etsi_nfv_sol001_common_types.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/etsi_nfv_sol001_vnfd_types.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_parser_error.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_translator_error.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_params_error.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_scaling.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_scaling_invalid_inst_req.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_substitution_mappings_error.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_params_error.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_vnfd.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_vnfd_group_member.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv creating build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/hot_generate_hot_from_tosca.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot creating build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling/hot_generate_hot_from_tosca_with_scaling.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling copying tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling/worker_instance.hot.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling creating build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/api-service.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/bindings.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/cluster-role-binding.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/cluster-role.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/config-map.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/controller-revision.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/daemon-set.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/deployment.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/horizontal-pod-autoscaler.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/job.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/lease.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/limit-range.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/local-subject-access-review.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/namespace.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/network-policy.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/node.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/persistent-volume-claim.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/persistent-volume.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/pod-template.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/pod.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/priority-class.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/replica-set.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/resource-quota.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/role-bindings.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/role.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/secret.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/self-subject-access-review.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/self-subject-rule-review.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/service-account.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/service.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/stateful-set.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/storage-class.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/subject-access-review.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/token-review.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/volume-attachment.yaml -> build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying tacker/db/migration/alembic_migrations/script.py.mako -> build/lib/tacker/db/migration/alembic_migrations creating build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/000632983ada_add_template_source_column.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/0ad3bbce1c18_create_of_network_service_tables.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/0ad3bbce1c19_increase_vim_password_size.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/0ae5b1ce3024_unique_constraint_name.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/12a57080b277_add_service_db.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/12a57080b278_alter_devices.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/13c0e0661015_add_descrition_to_vnf.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/13ecc2dd6f7f_change_nullable_value_of_path_id.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/1c6b0d82afcd_servicevm_framework.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/22f5385a3d3f_add_status_to_vims.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/22f5385a3d4f_remove_proxydb.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/22f5385a3d50_rename_devicedb.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/24bec5f211c7_alter_value_in_deviceattributes.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/2531c976c0f1_add_pm_threshold_table.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/2774a42c7163_remove_service_related.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/2c5211036579_add_placement_table.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/2ff0a0e360f1_audit_support.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/31acbaeb8299_change_vim_shared_property_to_false.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/329cd1619d41_alter_vnf_software_images.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/34cfceb25a49_add_downloading_to_vnfpackage.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/354de64ba129_set_mandatory_columns_not_null.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/3adac34764da_add_column_to_vnf_lcm_op_occs.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/3ff50553e9d3_add_grant_and_grant_request.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/4747cc26b9c6_add_support_vnffg_to_ns_database.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/4c0e2e2c2e02_alter_vnfd_id_format.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/4c31092895b8_remove_service_instance.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/4ee19c8a6d0a_audit_support_events.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/507122918800_adds_vnffg.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/5246a6bd410f_multisite_vim.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/5958429bcb3c_modify_datatype_of_value.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/5d490546290c_add_name_to_classifiers.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/5f88e86b35c7_make_vnfd_vnf_vim_name_mandatory.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/6dc60a5760e5_add_extra_field_to_vims_db.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/6e56d4474b2a_blob_to_json_text.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/70df18f71ba2_alter_vnfd_ids_vnf_instance_ids_vnf_.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/7186440a306b_change_type_for_instance_id_of_vnf_table.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/745e3e9fe5e2_add_vnf_metadata_to_vnflcm_db.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/81ffa86020d_rpc_proxy.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/85c06a0714b7_rename_field_subscription_authentication.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/8a7ca803e0d0_add_vnfc_info_to_instantiated_vnf_info.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/8f7145914cb0_remove_infra_driver_column.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/941b5a6fff9e_enable_soft_delete.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/975e28392888_add_unique_key_vnf_package_vnfd.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/985e28392890_add_vnflcm_db.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/9d425296f2c3_add_vnfpkgm_db.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/HEAD -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/README -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/a23ebee909a8_introduce_sol_refactored_models.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/aaf461c8844c_change_type_for_vnf_resources.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/abbef484b34c_modify_unique_constraint_on_vnf_packages_user_data.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/acf941e54075_add_error_reason_to_device.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/b07673bb8654_set_status_type_tenant_id_length.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/c256228ed37c_unique_constraint_on_name_and_id.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/c31f65e0d099_add_columns_to_vnf_lcm_filter.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/c47a733f425a_add_vnflcm_subscription.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/c7cde2f45f82_set_description_to_text.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/ca2ad037c320_add_cryptkey_db.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/cd04a8335c18_mgmt_url_to_mgmt_ip_address.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/d25c7c865ce8_mod_vnflcm_subscription.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/d2e39e01d540_add_size_to_vnfpackage.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/d4f265e8eb9d_add_default_to_vim.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/d6ae359ab0d6_add_tenant_id_to_lcm_subscriptions_and_.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/de6bfa5bea46_remove_status_from_vim.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/de8d835ae776_add_pm_and_fm_table.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/df26c5871f3c_change_vnf_filter_column_definition.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/e06fbdc90a32_add_db_tables_for_add_artifacts.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/e7993093baf1_add_unique_constraint_on_deleted_at.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/e8918cda6433_add_attributes_to_vnffg.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/e9a1e47fb0b5_add_template_source_status_to_vnffgtemplate_and_nsd.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/ee98bbc0789d_add_scale_column.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/ef14f8026327_add_default_onboarded_template_source.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/f5c1c3b0f6b4_set_default_value_for_deleted_at.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/f958f58e5daa_uuid_consistency.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/alembic_migrations/versions/f9bc96967462_add_vnf_pkg_id_to_vnf_instances.py -> build/lib/tacker/db/migration/alembic_migrations/versions copying tacker/db/migration/README -> build/lib/tacker/db/migration copying tacker/db/migration/alembic.ini -> build/lib/tacker/db/migration creating build/lib/tacker/tests/var copying tacker/tests/var/ca.crt -> build/lib/tacker/tests/var copying tacker/tests/var/certandkey.pem -> build/lib/tacker/tests/var copying tacker/tests/var/certificate.crt -> build/lib/tacker/tests/var copying tacker/tests/var/privatekey.key -> build/lib/tacker/tests/var copying tacker/tests/unit/sol_refactored/mgmt_drivers/fake_configmap.yaml -> build/lib/tacker/tests/unit/sol_refactored/mgmt_drivers creating build/lib/tacker/tests/functional/sol_v2 creating build/lib/tacker/tests/functional/sol_v2/basic copying tacker/tests/functional/sol_v2/basic/__init__.py -> build/lib/tacker/tests/functional/sol_v2/basic copying tacker/tests/functional/sol_v2/basic/test_change_vnfpkg.py -> build/lib/tacker/tests/functional/sol_v2/basic copying tacker/tests/functional/sol_v2/basic/test_individual_vnfc_mgmt.py -> build/lib/tacker/tests/functional/sol_v2/basic creating build/lib/tacker/tests/functional/sol_v2/notification copying tacker/tests/functional/sol_v2/notification/__init__.py -> build/lib/tacker/tests/functional/sol_v2/notification copying tacker/tests/functional/sol_v2/notification/test_server_notification.py -> build/lib/tacker/tests/functional/sol_v2/notification creating build/lib/tacker/tests/functional/sol_v2/prometheus copying tacker/tests/functional/sol_v2/prometheus/__init__.py -> build/lib/tacker/tests/functional/sol_v2/prometheus copying tacker/tests/functional/sol_v2/prometheus/test_prom_auto_scale_heal.py -> build/lib/tacker/tests/functional/sol_v2/prometheus creating build/lib/tacker/tests/functional/sol_v2/vnflcm copying tacker/tests/functional/sol_v2/vnflcm/__init__.py -> build/lib/tacker/tests/functional/sol_v2/vnflcm copying tacker/tests/functional/sol_v2/vnflcm/test_vnflcm_basic.py -> build/lib/tacker/tests/functional/sol_v2/vnflcm copying tacker/tests/functional/sol_v2/vnflcm/test_vnflcm_error_handling.py -> build/lib/tacker/tests/functional/sol_v2/vnflcm creating build/lib/tacker/tests/functional/tools copying tacker/tests/functional/tools/test-setup-default-vim.sh -> build/lib/tacker/tests/functional/tools copying tacker/tests/functional/tools/test-setup-fake-prometheus-server.sh -> build/lib/tacker/tests/functional/tools copying tacker/tests/functional/tools/test-setup-k8s-vim.sh -> build/lib/tacker/tests/functional/tools copying tacker/tests/functional/tools/test-setup-mgmt.sh -> build/lib/tacker/tests/functional/tools creating build/lib/tacker/tests/unit/common/sample_keys copying tacker/tests/unit/common/sample_keys/jwt_private.key -> build/lib/tacker/tests/unit/common/sample_keys installing to build/bdist.linux-x86_64/wheel running install [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/tacker creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/test-tools copying build/lib/tacker/sol_refactored/test-tools/notif_endpoint_app.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/test-tools copying build/lib/tacker/sol_refactored/test-tools/cli.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/test-tools creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnfc_snapshot_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnfc_resource_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnfc_info_modifications.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnfc_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_virtual_link_resource_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_state_snapshot_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_snapshot_info_modifications.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_snapshot_info_modification_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_snapshot_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_snapshot.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_pkg_info_modifications.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_pkg_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_package_software_image_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_package_onboarding_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_package_change_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_package_artifact_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_link_port_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_link_port_data.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_lcm_operation_occurrence_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_lcm_op_occ.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_instance.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_info_modifications.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_info_modification_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_identifier_deletion_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_identifier_creation_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/vnf_ext_cp_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/virtual_storage_resource_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/upload_vnf_package_from_uri_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/threshold_modifications.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/threshold_crossed_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/threshold_criteria.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/threshold.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/terminate_vnf_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/scale_vnf_to_level_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/scale_vnf_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/scale_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/revert_to_vnf_snapshot_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/pm_report.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/pm_job_modification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/pm_job_criteria.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/pm_job.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/pkgm_subscription_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/pkgm_notification_filter.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/pkgm_links.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/performance_information_available_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/operate_vnf_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/monitoring_parameter.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/modifications_triggered_by_vnf_pkg_change.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/lifecycle_change_notifications_filter.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/lcm_coord_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/lccn_subscription_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/lccn_subscription.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/lccn_links.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/ip_over_ethernet_address_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/instantiate_vnf_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/heal_vnf_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/fields.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/external_artifacts_access_config.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/ext_virtual_link_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/ext_managed_virtual_link_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/ext_link_port_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/create_vnf_snapshot_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/create_vnf_snapshot_info_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/create_vnf_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/create_vnf_pkg_info_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/create_threshold_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/create_pm_job_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/cp_protocol_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/change_vnf_flavour_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/change_ext_vnf_connectivity_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/change_current_vnf_pkg_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/cancel_mode.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/affected_vnfc.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/affected_virtual_storage.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/affected_virtual_link.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 copying build/lib/tacker/sol_refactored/objects/v2/affected_ext_link_port.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v2 creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/zone_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/zone_group_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/vim_software_image.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/vim_snapshot_resource.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/vim_constraint.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/vim_compute_resource_flavour.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/snapshot_resource_definition.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/resource_definition.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/placement_constraint.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/grant_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/grant_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/grant.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/fm_subscription_request.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/fm_subscription.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/fm_notifications_filter.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/fields.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/constraint_resource_ref.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/alarm_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/alarm_cleared_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 copying build/lib/tacker/sol_refactored/objects/v1/alarm.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/v1 creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/vnf_instance_subscription_filter.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/vnf_ext_cp_data.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/vnf_ext_cp_config.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/vim_connection_info.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/subscription_authentication.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/resource_handle.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/problem_details.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/notification_link.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/link.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/ip_over_ethernet_address_data.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/fields.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/ext_virtual_link_data.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/ext_managed_virtual_link_data.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/ext_link_port_data.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/crypt_key.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/common/cp_protocol_data.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects/common copying build/lib/tacker/sol_refactored/objects/base.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects copying build/lib/tacker/sol_refactored/objects/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/objects creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/nfvo copying build/lib/tacker/sol_refactored/nfvo/nfvo_client.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/nfvo copying build/lib/tacker/sol_refactored/nfvo/local_nfvo.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/nfvo copying build/lib/tacker/sol_refactored/nfvo/glance_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/nfvo creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/mgmt_drivers copying build/lib/tacker/sol_refactored/mgmt_drivers/server_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/mgmt_drivers copying build/lib/tacker/sol_refactored/mgmt_drivers/sample_script.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/mgmt_drivers copying build/lib/tacker/sol_refactored/mgmt_drivers/container_update_mgmt_v2.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/mgmt_drivers creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/terraform copying build/lib/tacker/sol_refactored/infra_drivers/terraform/terraform.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/terraform creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/openstack copying build/lib/tacker/sol_refactored/infra_drivers/openstack/userdata_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/openstack copying build/lib/tacker/sol_refactored/infra_drivers/openstack/userdata_standard.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/openstack copying build/lib/tacker/sol_refactored/infra_drivers/openstack/userdata_main.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/openstack copying build/lib/tacker/sol_refactored/infra_drivers/openstack/userdata_default.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/openstack copying build/lib/tacker/sol_refactored/infra_drivers/openstack/openstack.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/openstack copying build/lib/tacker/sol_refactored/infra_drivers/openstack/nova_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/openstack copying build/lib/tacker/sol_refactored/infra_drivers/openstack/heat_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/openstack creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/kubernetes copying build/lib/tacker/sol_refactored/infra_drivers/kubernetes/kubernetes_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/kubernetes copying build/lib/tacker/sol_refactored/infra_drivers/kubernetes/kubernetes_resource.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/kubernetes copying build/lib/tacker/sol_refactored/infra_drivers/kubernetes/kubernetes_common.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/kubernetes copying build/lib/tacker/sol_refactored/infra_drivers/kubernetes/kubernetes.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/kubernetes copying build/lib/tacker/sol_refactored/infra_drivers/kubernetes/helm_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/kubernetes copying build/lib/tacker/sol_refactored/infra_drivers/kubernetes/helm.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/infra_drivers/kubernetes creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/db creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/db/sqlalchemy copying build/lib/tacker/sol_refactored/db/sqlalchemy/models.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/db/sqlalchemy copying build/lib/tacker/sol_refactored/db/sqlalchemy/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/db/sqlalchemy copying build/lib/tacker/sol_refactored/db/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/db creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/controller copying build/lib/tacker/sol_refactored/controller/vnfpm_view.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/controller copying build/lib/tacker/sol_refactored/controller/vnfpm_v2.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/controller copying build/lib/tacker/sol_refactored/controller/vnflcm_view.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/controller copying build/lib/tacker/sol_refactored/controller/vnflcm_versions.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/controller copying build/lib/tacker/sol_refactored/controller/vnflcm_v2.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/controller copying build/lib/tacker/sol_refactored/controller/vnffm_view.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/controller copying build/lib/tacker/sol_refactored/controller/vnffm_v1.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/controller copying build/lib/tacker/sol_refactored/controller/server_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/controller copying build/lib/tacker/sol_refactored/controller/prometheus_plugin_controller.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/controller copying build/lib/tacker/sol_refactored/controller/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/controller creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/conductor copying build/lib/tacker/sol_refactored/conductor/vnfpm_driver_v2.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/conductor copying build/lib/tacker/sol_refactored/conductor/vnflcm_driver_v2.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/conductor copying build/lib/tacker/sol_refactored/conductor/vnffm_driver_v1.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/conductor copying build/lib/tacker/sol_refactored/conductor/v2_hook.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/conductor copying build/lib/tacker/sol_refactored/conductor/server_notification_driver.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/conductor copying build/lib/tacker/sol_refactored/conductor/prometheus_plugin_driver.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/conductor copying build/lib/tacker/sol_refactored/conductor/conductor_v2.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/conductor copying build/lib/tacker/sol_refactored/conductor/conductor_rpc_v2.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/conductor copying build/lib/tacker/sol_refactored/conductor/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/conductor creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/vnflcm_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/vnfd_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/vnf_instance_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/vim_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/subscription_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/server_notification.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/prometheus_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/pm_threshold_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/pm_job_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/oidc_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/monitoring_plugin_base.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/lcm_op_occ_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/http_client.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/fm_subscription_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/fm_alarm_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/exceptions.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/coordinate.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/coord_client.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/config.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/common_script_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common copying build/lib/tacker/sol_refactored/common/cinder_utils.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/common creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/schemas copying build/lib/tacker/sol_refactored/api/schemas/vnfpm_v2.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/schemas copying build/lib/tacker/sol_refactored/api/schemas/vnflcm_v2.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/schemas copying build/lib/tacker/sol_refactored/api/schemas/vnffm_v1.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/schemas copying build/lib/tacker/sol_refactored/api/schemas/server_notification_schemas.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/schemas copying build/lib/tacker/sol_refactored/api/schemas/prometheus_plugin_schemas.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/schemas copying build/lib/tacker/sol_refactored/api/schemas/common_types.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/schemas copying build/lib/tacker/sol_refactored/api/schemas/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/schemas creating build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/policies copying build/lib/tacker/sol_refactored/api/policies/vnfpm_v2.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/policies copying build/lib/tacker/sol_refactored/api/policies/vnflcm_v2.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/policies copying build/lib/tacker/sol_refactored/api/policies/vnffm_v1.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api/policies copying build/lib/tacker/sol_refactored/api/wsgi.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api copying build/lib/tacker/sol_refactored/api/validator.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api copying build/lib/tacker/sol_refactored/api/router.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api copying build/lib/tacker/sol_refactored/api/api_version.py -> build/bdist.linux-x86_64/wheel/tacker/sol_refactored/api creating build/bdist.linux-x86_64/wheel/tacker/releasenotes creating build/bdist.linux-x86_64/wheel/tacker/releasenotes/notes copying build/lib/tacker/releasenotes/notes/remove-passing-infra-and-mgmt-driver-in-api-954fe28b1294a2d6.yaml -> build/bdist.linux-x86_64/wheel/tacker/releasenotes/notes copying build/lib/tacker/releasenotes/notes/change_external_vnf_connectivity-444c580a01479f33.yaml -> build/bdist.linux-x86_64/wheel/tacker/releasenotes/notes creating build/bdist.linux-x86_64/wheel/tacker/locale creating build/bdist.linux-x86_64/wheel/tacker/locale/de creating build/bdist.linux-x86_64/wheel/tacker/locale/de/LC_MESSAGES copying build/lib/tacker/locale/de/LC_MESSAGES/tacker.po -> build/bdist.linux-x86_64/wheel/tacker/locale/de/LC_MESSAGES creating build/bdist.linux-x86_64/wheel/tacker/extensions copying build/lib/tacker/extensions/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/extensions copying build/lib/tacker/extensions/common_services.py -> build/bdist.linux-x86_64/wheel/tacker/extensions copying build/lib/tacker/extensions/nfvo.py -> build/bdist.linux-x86_64/wheel/tacker/extensions copying build/lib/tacker/extensions/vnflcm.py -> build/bdist.linux-x86_64/wheel/tacker/extensions copying build/lib/tacker/extensions/vnfm.py -> build/bdist.linux-x86_64/wheel/tacker/extensions creating build/bdist.linux-x86_64/wheel/tacker/common creating build/bdist.linux-x86_64/wheel/tacker/common/container copying build/lib/tacker/common/container/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/common/container copying build/lib/tacker/common/container/kubernetes_utils.py -> build/bdist.linux-x86_64/wheel/tacker/common/container copying build/lib/tacker/common/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/clients.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/cmd_executer.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/config.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/constants.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/coordination.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/crypt_utils.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/csar_utils.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/driver_manager.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/eventlet_utils.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/exceptions.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/ext_oauth2_auth.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/log.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/oidc_utils.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/rpc.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/safe_utils.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/test_lib.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/topics.py -> build/bdist.linux-x86_64/wheel/tacker/common copying build/lib/tacker/common/utils.py -> build/bdist.linux-x86_64/wheel/tacker/common creating build/bdist.linux-x86_64/wheel/tacker/vnflcm copying build/lib/tacker/vnflcm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/vnflcm copying build/lib/tacker/vnflcm/abstract_driver.py -> build/bdist.linux-x86_64/wheel/tacker/vnflcm copying build/lib/tacker/vnflcm/utils.py -> build/bdist.linux-x86_64/wheel/tacker/vnflcm copying build/lib/tacker/vnflcm/vnflcm_driver.py -> build/bdist.linux-x86_64/wheel/tacker/vnflcm creating build/bdist.linux-x86_64/wheel/tacker/tosca copying build/lib/tacker/tosca/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tosca copying build/lib/tacker/tosca/utils.py -> build/bdist.linux-x86_64/wheel/tacker/tosca creating build/bdist.linux-x86_64/wheel/tacker/conductor creating build/bdist.linux-x86_64/wheel/tacker/conductor/conductorrpc copying build/lib/tacker/conductor/conductorrpc/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/conductor/conductorrpc copying build/lib/tacker/conductor/conductorrpc/vnf_lcm_rpc.py -> build/bdist.linux-x86_64/wheel/tacker/conductor/conductorrpc copying build/lib/tacker/conductor/conductorrpc/vnf_pkgm_rpc.py -> build/bdist.linux-x86_64/wheel/tacker/conductor/conductorrpc copying build/lib/tacker/conductor/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/conductor copying build/lib/tacker/conductor/conductor_server.py -> build/bdist.linux-x86_64/wheel/tacker/conductor creating build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/base.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/cancel_mode.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/change_ext_conn_req.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/common.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/fields.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/grant.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/grant_request.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/heal_vnf_request.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/instantiate_vnf_req.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/scale_vnf_request.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/terminate_vnf_req.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vim_connection.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnf.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnf_artifact.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnf_deployment_flavour.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnf_instance.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnf_instantiated_info.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnf_lcm_op_occs.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnf_lcm_subscriptions.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnf_package.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnf_package_vnfd.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnf_resources.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnf_software_image.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnfd.py -> build/bdist.linux-x86_64/wheel/tacker/objects copying build/lib/tacker/objects/vnfd_attribute.py -> build/bdist.linux-x86_64/wheel/tacker/objects creating build/bdist.linux-x86_64/wheel/tacker/policies copying build/lib/tacker/policies/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/policies copying build/lib/tacker/policies/base.py -> build/bdist.linux-x86_64/wheel/tacker/policies copying build/lib/tacker/policies/vnf_lcm.py -> build/bdist.linux-x86_64/wheel/tacker/policies copying build/lib/tacker/policies/vnf_package.py -> build/bdist.linux-x86_64/wheel/tacker/policies creating build/bdist.linux-x86_64/wheel/tacker/conf copying build/lib/tacker/conf/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/conf copying build/lib/tacker/conf/conductor.py -> build/bdist.linux-x86_64/wheel/tacker/conf copying build/lib/tacker/conf/coordination.py -> build/bdist.linux-x86_64/wheel/tacker/conf copying build/lib/tacker/conf/opts.py -> build/bdist.linux-x86_64/wheel/tacker/conf copying build/lib/tacker/conf/policy.py -> build/bdist.linux-x86_64/wheel/tacker/conf copying build/lib/tacker/conf/vnf_lcm.py -> build/bdist.linux-x86_64/wheel/tacker/conf copying build/lib/tacker/conf/vnf_package.py -> build/bdist.linux-x86_64/wheel/tacker/conf creating build/bdist.linux-x86_64/wheel/tacker/cmd copying build/lib/tacker/cmd/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/cmd copying build/lib/tacker/cmd/status.py -> build/bdist.linux-x86_64/wheel/tacker/cmd creating build/bdist.linux-x86_64/wheel/tacker/cmd/eventlet copying build/lib/tacker/cmd/eventlet/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/cmd/eventlet copying build/lib/tacker/cmd/eventlet/conductor.py -> build/bdist.linux-x86_64/wheel/tacker/cmd/eventlet copying build/lib/tacker/cmd/eventlet/tacker_server.py -> build/bdist.linux-x86_64/wheel/tacker/cmd/eventlet creating build/bdist.linux-x86_64/wheel/tacker/agent copying build/lib/tacker/agent/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/agent creating build/bdist.linux-x86_64/wheel/tacker/agent/linux copying build/lib/tacker/agent/linux/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/agent/linux copying build/lib/tacker/agent/linux/utils.py -> build/bdist.linux-x86_64/wheel/tacker/agent/linux creating build/bdist.linux-x86_64/wheel/tacker/hacking copying build/lib/tacker/hacking/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/hacking copying build/lib/tacker/hacking/checks.py -> build/bdist.linux-x86_64/wheel/tacker/hacking creating build/bdist.linux-x86_64/wheel/tacker/glance_store copying build/lib/tacker/glance_store/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/glance_store copying build/lib/tacker/glance_store/store.py -> build/bdist.linux-x86_64/wheel/tacker/glance_store creating build/bdist.linux-x86_64/wheel/tacker/db creating build/bdist.linux-x86_64/wheel/tacker/db/nfvo copying build/lib/tacker/db/nfvo/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/db/nfvo copying build/lib/tacker/db/nfvo/nfvo_db.py -> build/bdist.linux-x86_64/wheel/tacker/db/nfvo copying build/lib/tacker/db/nfvo/nfvo_db_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/db/nfvo creating build/bdist.linux-x86_64/wheel/tacker/db/db_sqlalchemy copying build/lib/tacker/db/db_sqlalchemy/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/db/db_sqlalchemy copying build/lib/tacker/db/db_sqlalchemy/api.py -> build/bdist.linux-x86_64/wheel/tacker/db/db_sqlalchemy copying build/lib/tacker/db/db_sqlalchemy/models.py -> build/bdist.linux-x86_64/wheel/tacker/db/db_sqlalchemy creating build/bdist.linux-x86_64/wheel/tacker/db/vnfm copying build/lib/tacker/db/vnfm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/db/vnfm copying build/lib/tacker/db/vnfm/vnfm_db.py -> build/bdist.linux-x86_64/wheel/tacker/db/vnfm copying build/lib/tacker/db/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/db copying build/lib/tacker/db/api.py -> build/bdist.linux-x86_64/wheel/tacker/db copying build/lib/tacker/db/db_base.py -> build/bdist.linux-x86_64/wheel/tacker/db copying build/lib/tacker/db/model_base.py -> build/bdist.linux-x86_64/wheel/tacker/db copying build/lib/tacker/db/models_v1.py -> build/bdist.linux-x86_64/wheel/tacker/db copying build/lib/tacker/db/sqlalchemyutils.py -> build/bdist.linux-x86_64/wheel/tacker/db copying build/lib/tacker/db/types.py -> build/bdist.linux-x86_64/wheel/tacker/db creating build/bdist.linux-x86_64/wheel/tacker/db/migration copying build/lib/tacker/db/migration/alembic.ini -> build/bdist.linux-x86_64/wheel/tacker/db/migration copying build/lib/tacker/db/migration/README -> build/bdist.linux-x86_64/wheel/tacker/db/migration creating build/bdist.linux-x86_64/wheel/tacker/db/migration/models copying build/lib/tacker/db/migration/models/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/models copying build/lib/tacker/db/migration/models/head.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/models copying build/lib/tacker/db/migration/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration copying build/lib/tacker/db/migration/cli.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration copying build/lib/tacker/db/migration/migrate_to_v2.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration copying build/lib/tacker/db/migration/purge_tables.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration creating build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations creating build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/f9bc96967462_add_vnf_pkg_id_to_vnf_instances.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/f958f58e5daa_uuid_consistency.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/f5c1c3b0f6b4_set_default_value_for_deleted_at.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/ef14f8026327_add_default_onboarded_template_source.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/ee98bbc0789d_add_scale_column.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/e9a1e47fb0b5_add_template_source_status_to_vnffgtemplate_and_nsd.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/e8918cda6433_add_attributes_to_vnffg.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/e7993093baf1_add_unique_constraint_on_deleted_at.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/e06fbdc90a32_add_db_tables_for_add_artifacts.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/df26c5871f3c_change_vnf_filter_column_definition.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/de8d835ae776_add_pm_and_fm_table.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/de6bfa5bea46_remove_status_from_vim.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/d6ae359ab0d6_add_tenant_id_to_lcm_subscriptions_and_.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/d4f265e8eb9d_add_default_to_vim.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/d2e39e01d540_add_size_to_vnfpackage.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/d25c7c865ce8_mod_vnflcm_subscription.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/cd04a8335c18_mgmt_url_to_mgmt_ip_address.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/ca2ad037c320_add_cryptkey_db.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/c7cde2f45f82_set_description_to_text.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/c47a733f425a_add_vnflcm_subscription.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/c31f65e0d099_add_columns_to_vnf_lcm_filter.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/c256228ed37c_unique_constraint_on_name_and_id.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/b07673bb8654_set_status_type_tenant_id_length.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/acf941e54075_add_error_reason_to_device.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/abbef484b34c_modify_unique_constraint_on_vnf_packages_user_data.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/aaf461c8844c_change_type_for_vnf_resources.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/a23ebee909a8_introduce_sol_refactored_models.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/README -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/HEAD -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/9d425296f2c3_add_vnfpkgm_db.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/985e28392890_add_vnflcm_db.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/975e28392888_add_unique_key_vnf_package_vnfd.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/941b5a6fff9e_enable_soft_delete.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/8f7145914cb0_remove_infra_driver_column.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/8a7ca803e0d0_add_vnfc_info_to_instantiated_vnf_info.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/85c06a0714b7_rename_field_subscription_authentication.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/81ffa86020d_rpc_proxy.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/745e3e9fe5e2_add_vnf_metadata_to_vnflcm_db.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/7186440a306b_change_type_for_instance_id_of_vnf_table.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/70df18f71ba2_alter_vnfd_ids_vnf_instance_ids_vnf_.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/6e56d4474b2a_blob_to_json_text.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/6dc60a5760e5_add_extra_field_to_vims_db.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/5f88e86b35c7_make_vnfd_vnf_vim_name_mandatory.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/5d490546290c_add_name_to_classifiers.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/5958429bcb3c_modify_datatype_of_value.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/5246a6bd410f_multisite_vim.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/507122918800_adds_vnffg.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/4ee19c8a6d0a_audit_support_events.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/4c31092895b8_remove_service_instance.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/4c0e2e2c2e02_alter_vnfd_id_format.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/4747cc26b9c6_add_support_vnffg_to_ns_database.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/3ff50553e9d3_add_grant_and_grant_request.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/3adac34764da_add_column_to_vnf_lcm_op_occs.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/354de64ba129_set_mandatory_columns_not_null.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/34cfceb25a49_add_downloading_to_vnfpackage.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/329cd1619d41_alter_vnf_software_images.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/31acbaeb8299_change_vim_shared_property_to_false.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/2ff0a0e360f1_audit_support.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/2c5211036579_add_placement_table.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/2774a42c7163_remove_service_related.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/2531c976c0f1_add_pm_threshold_table.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/24bec5f211c7_alter_value_in_deviceattributes.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/22f5385a3d50_rename_devicedb.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/22f5385a3d4f_remove_proxydb.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/22f5385a3d3f_add_status_to_vims.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/1c6b0d82afcd_servicevm_framework.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/13ecc2dd6f7f_change_nullable_value_of_path_id.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/13c0e0661015_add_descrition_to_vnf.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/12a57080b278_alter_devices.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/12a57080b277_add_service_db.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/0ae5b1ce3024_unique_constraint_name.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/0ad3bbce1c19_increase_vim_password_size.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/0ad3bbce1c18_create_of_network_service_tables.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/versions/000632983ada_add_template_source_column.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations/versions copying build/lib/tacker/db/migration/alembic_migrations/script.py.mako -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations copying build/lib/tacker/db/migration/alembic_migrations/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations copying build/lib/tacker/db/migration/alembic_migrations/env.py -> build/bdist.linux-x86_64/wheel/tacker/db/migration/alembic_migrations creating build/bdist.linux-x86_64/wheel/tacker/db/common_services copying build/lib/tacker/db/common_services/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/db/common_services copying build/lib/tacker/db/common_services/common_services_db.py -> build/bdist.linux-x86_64/wheel/tacker/db/common_services copying build/lib/tacker/db/common_services/common_services_db_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/db/common_services creating build/bdist.linux-x86_64/wheel/tacker/api creating build/bdist.linux-x86_64/wheel/tacker/api/common copying build/lib/tacker/api/common/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/api/common copying build/lib/tacker/api/common/_filters.py -> build/bdist.linux-x86_64/wheel/tacker/api/common copying build/lib/tacker/api/common/attribute_filter.py -> build/bdist.linux-x86_64/wheel/tacker/api/common copying build/lib/tacker/api/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/api copying build/lib/tacker/api/api_common.py -> build/bdist.linux-x86_64/wheel/tacker/api copying build/lib/tacker/api/extensions.py -> build/bdist.linux-x86_64/wheel/tacker/api copying build/lib/tacker/api/versions.py -> build/bdist.linux-x86_64/wheel/tacker/api creating build/bdist.linux-x86_64/wheel/tacker/api/views copying build/lib/tacker/api/views/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/api/views copying build/lib/tacker/api/views/versions.py -> build/bdist.linux-x86_64/wheel/tacker/api/views copying build/lib/tacker/api/views/vnf_lcm.py -> build/bdist.linux-x86_64/wheel/tacker/api/views copying build/lib/tacker/api/views/vnf_lcm_op_occs.py -> build/bdist.linux-x86_64/wheel/tacker/api/views copying build/lib/tacker/api/views/vnf_packages.py -> build/bdist.linux-x86_64/wheel/tacker/api/views copying build/lib/tacker/api/views/vnf_subscriptions.py -> build/bdist.linux-x86_64/wheel/tacker/api/views creating build/bdist.linux-x86_64/wheel/tacker/api/vnfpkgm copying build/lib/tacker/api/vnfpkgm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/api/vnfpkgm creating build/bdist.linux-x86_64/wheel/tacker/api/vnfpkgm/v1 copying build/lib/tacker/api/vnfpkgm/v1/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/api/vnfpkgm/v1 copying build/lib/tacker/api/vnfpkgm/v1/controller.py -> build/bdist.linux-x86_64/wheel/tacker/api/vnfpkgm/v1 copying build/lib/tacker/api/vnfpkgm/v1/router.py -> build/bdist.linux-x86_64/wheel/tacker/api/vnfpkgm/v1 creating build/bdist.linux-x86_64/wheel/tacker/api/validation copying build/lib/tacker/api/validation/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/api/validation copying build/lib/tacker/api/validation/parameter_types.py -> build/bdist.linux-x86_64/wheel/tacker/api/validation copying build/lib/tacker/api/validation/validators.py -> build/bdist.linux-x86_64/wheel/tacker/api/validation creating build/bdist.linux-x86_64/wheel/tacker/api/vnflcm creating build/bdist.linux-x86_64/wheel/tacker/api/vnflcm/v1 copying build/lib/tacker/api/vnflcm/v1/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/api/vnflcm/v1 copying build/lib/tacker/api/vnflcm/v1/controller.py -> build/bdist.linux-x86_64/wheel/tacker/api/vnflcm/v1 copying build/lib/tacker/api/vnflcm/v1/router.py -> build/bdist.linux-x86_64/wheel/tacker/api/vnflcm/v1 copying build/lib/tacker/api/vnflcm/v1/sync_resource.py -> build/bdist.linux-x86_64/wheel/tacker/api/vnflcm/v1 copying build/lib/tacker/api/vnflcm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/api/vnflcm creating build/bdist.linux-x86_64/wheel/tacker/api/schemas copying build/lib/tacker/api/schemas/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/api/schemas copying build/lib/tacker/api/schemas/vnf_lcm.py -> build/bdist.linux-x86_64/wheel/tacker/api/schemas copying build/lib/tacker/api/schemas/vnf_packages.py -> build/bdist.linux-x86_64/wheel/tacker/api/schemas creating build/bdist.linux-x86_64/wheel/tacker/api/v1 copying build/lib/tacker/api/v1/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/api/v1 copying build/lib/tacker/api/v1/attributes.py -> build/bdist.linux-x86_64/wheel/tacker/api/v1 copying build/lib/tacker/api/v1/base.py -> build/bdist.linux-x86_64/wheel/tacker/api/v1 copying build/lib/tacker/api/v1/resource.py -> build/bdist.linux-x86_64/wheel/tacker/api/v1 copying build/lib/tacker/api/v1/resource_helper.py -> build/bdist.linux-x86_64/wheel/tacker/api/v1 copying build/lib/tacker/api/v1/router.py -> build/bdist.linux-x86_64/wheel/tacker/api/v1 creating build/bdist.linux-x86_64/wheel/tacker/privileged copying build/lib/tacker/privileged/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/privileged copying build/lib/tacker/privileged/linux_cmd.py -> build/bdist.linux-x86_64/wheel/tacker/privileged creating build/bdist.linux-x86_64/wheel/tacker/nfvo copying build/lib/tacker/nfvo/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/nfvo copying build/lib/tacker/nfvo/nfvo_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/nfvo creating build/bdist.linux-x86_64/wheel/tacker/nfvo/drivers copying build/lib/tacker/nfvo/drivers/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/nfvo/drivers creating build/bdist.linux-x86_64/wheel/tacker/nfvo/drivers/vim copying build/lib/tacker/nfvo/drivers/vim/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/nfvo/drivers/vim copying build/lib/tacker/nfvo/drivers/vim/abstract_vim_driver.py -> build/bdist.linux-x86_64/wheel/tacker/nfvo/drivers/vim copying build/lib/tacker/nfvo/drivers/vim/kubernetes_driver.py -> build/bdist.linux-x86_64/wheel/tacker/nfvo/drivers/vim copying build/lib/tacker/nfvo/drivers/vim/openstack_driver.py -> build/bdist.linux-x86_64/wheel/tacker/nfvo/drivers/vim creating build/bdist.linux-x86_64/wheel/tacker/plugins creating build/bdist.linux-x86_64/wheel/tacker/plugins/common_services copying build/lib/tacker/plugins/common_services/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/plugins/common_services copying build/lib/tacker/plugins/common_services/common_services_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/plugins/common_services creating build/bdist.linux-x86_64/wheel/tacker/plugins/common copying build/lib/tacker/plugins/common/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/plugins/common copying build/lib/tacker/plugins/common/constants.py -> build/bdist.linux-x86_64/wheel/tacker/plugins/common copying build/lib/tacker/plugins/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/plugins creating build/bdist.linux-x86_64/wheel/tacker/vnfm creating build/bdist.linux-x86_64/wheel/tacker/vnfm/mgmt_drivers copying build/lib/tacker/vnfm/mgmt_drivers/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/mgmt_drivers copying build/lib/tacker/vnfm/mgmt_drivers/constants.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/mgmt_drivers copying build/lib/tacker/vnfm/mgmt_drivers/vnflcm_abstract_driver.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/mgmt_drivers copying build/lib/tacker/vnfm/mgmt_drivers/vnflcm_noop.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/mgmt_drivers creating build/bdist.linux-x86_64/wheel/tacker/vnfm/lcm_user_data copying build/lib/tacker/vnfm/lcm_user_data/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/lcm_user_data copying build/lib/tacker/vnfm/lcm_user_data/abstract_user_data.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/lcm_user_data copying build/lib/tacker/vnfm/lcm_user_data/constants.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/lcm_user_data copying build/lib/tacker/vnfm/lcm_user_data/utils.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/lcm_user_data copying build/lib/tacker/vnfm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm copying build/lib/tacker/vnfm/keystone.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm copying build/lib/tacker/vnfm/nfvo_client.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm copying build/lib/tacker/vnfm/plugin.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm copying build/lib/tacker/vnfm/vim_client.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm creating build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers copying build/lib/tacker/vnfm/infra_drivers/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers copying build/lib/tacker/vnfm/infra_drivers/abstract_driver.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers copying build/lib/tacker/vnfm/infra_drivers/noop.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers copying build/lib/tacker/vnfm/infra_drivers/scale_driver.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers creating build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/openstack copying build/lib/tacker/vnfm/infra_drivers/openstack/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/openstack copying build/lib/tacker/vnfm/infra_drivers/openstack/constants.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/openstack copying build/lib/tacker/vnfm/infra_drivers/openstack/glance_client.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/openstack copying build/lib/tacker/vnfm/infra_drivers/openstack/heat_client.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/openstack copying build/lib/tacker/vnfm/infra_drivers/openstack/openstack.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/openstack copying build/lib/tacker/vnfm/infra_drivers/openstack/translate_template.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/openstack copying build/lib/tacker/vnfm/infra_drivers/openstack/update_template.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/openstack creating build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/kubernetes creating build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/kubernetes/helm copying build/lib/tacker/vnfm/infra_drivers/kubernetes/helm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/kubernetes/helm copying build/lib/tacker/vnfm/infra_drivers/kubernetes/helm/helm_client.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/kubernetes/helm copying build/lib/tacker/vnfm/infra_drivers/kubernetes/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/kubernetes copying build/lib/tacker/vnfm/infra_drivers/kubernetes/kubernetes_driver.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/kubernetes copying build/lib/tacker/vnfm/infra_drivers/kubernetes/utils.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/kubernetes creating build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/kubernetes/k8s copying build/lib/tacker/vnfm/infra_drivers/kubernetes/k8s/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/kubernetes/k8s copying build/lib/tacker/vnfm/infra_drivers/kubernetes/k8s/translate_outputs.py -> build/bdist.linux-x86_64/wheel/tacker/vnfm/infra_drivers/kubernetes/k8s copying build/lib/tacker/__init__.py -> build/bdist.linux-x86_64/wheel/tacker copying build/lib/tacker/_i18n.py -> build/bdist.linux-x86_64/wheel/tacker copying build/lib/tacker/auth.py -> build/bdist.linux-x86_64/wheel/tacker copying build/lib/tacker/context.py -> build/bdist.linux-x86_64/wheel/tacker copying build/lib/tacker/manager.py -> build/bdist.linux-x86_64/wheel/tacker copying build/lib/tacker/policy.py -> build/bdist.linux-x86_64/wheel/tacker copying build/lib/tacker/service.py -> build/bdist.linux-x86_64/wheel/tacker copying build/lib/tacker/version.py -> build/bdist.linux-x86_64/wheel/tacker copying build/lib/tacker/wsgi.py -> build/bdist.linux-x86_64/wheel/tacker creating build/bdist.linux-x86_64/wheel/tacker/services copying build/lib/tacker/services/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/services copying build/lib/tacker/services/service_base.py -> build/bdist.linux-x86_64/wheel/tacker/services creating build/bdist.linux-x86_64/wheel/tacker/keymgr copying build/lib/tacker/keymgr/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/keymgr copying build/lib/tacker/keymgr/barbican_key_manager.py -> build/bdist.linux-x86_64/wheel/tacker/keymgr copying build/lib/tacker/keymgr/exception.py -> build/bdist.linux-x86_64/wheel/tacker/keymgr copying build/lib/tacker/keymgr/key_manager.py -> build/bdist.linux-x86_64/wheel/tacker/keymgr creating build/bdist.linux-x86_64/wheel/tacker/tests creating build/bdist.linux-x86_64/wheel/tacker/tests/var copying build/lib/tacker/tests/var/privatekey.key -> build/bdist.linux-x86_64/wheel/tacker/tests/var copying build/lib/tacker/tests/var/certificate.crt -> build/bdist.linux-x86_64/wheel/tacker/tests/var copying build/lib/tacker/tests/var/certandkey.pem -> build/bdist.linux-x86_64/wheel/tacker/tests/var copying build/lib/tacker/tests/var/ca.crt -> build/bdist.linux-x86_64/wheel/tacker/tests/var creating build/bdist.linux-x86_64/wheel/tacker/tests/common copying build/lib/tacker/tests/common/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/common copying build/lib/tacker/tests/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests copying build/lib/tacker/tests/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests copying build/lib/tacker/tests/constants.py -> build/bdist.linux-x86_64/wheel/tacker/tests copying build/lib/tacker/tests/fake_notifier.py -> build/bdist.linux-x86_64/wheel/tacker/tests copying build/lib/tacker/tests/post_mortem_debug.py -> build/bdist.linux-x86_64/wheel/tacker/tests copying build/lib/tacker/tests/tools.py -> build/bdist.linux-x86_64/wheel/tacker/tests copying build/lib/tacker/tests/utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests copying build/lib/tacker/tests/uuidsentinel.py -> build/bdist.linux-x86_64/wheel/tacker/tests creating build/bdist.linux-x86_64/wheel/tacker/tests/compliance creating build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol003 copying build/lib/tacker/tests/compliance/sol003/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol003 copying build/lib/tacker/tests/compliance/sol003/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol003 copying build/lib/tacker/tests/compliance/sol003/test_vnflcm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol003 copying build/lib/tacker/tests/compliance/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/compliance copying build/lib/tacker/tests/compliance/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/compliance creating build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol005 copying build/lib/tacker/tests/compliance/sol005/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol005 copying build/lib/tacker/tests/compliance/sol005/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol005 copying build/lib/tacker/tests/compliance/sol005/test_vnfpkgm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol005 creating build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol002 copying build/lib/tacker/tests/compliance/sol002/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol002 copying build/lib/tacker/tests/compliance/sol002/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol002 copying build/lib/tacker/tests/compliance/sol002/test_vnflcm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/compliance/sol002 creating build/bdist.linux-x86_64/wheel/tacker/tests/functional creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/tools copying build/lib/tacker/tests/functional/tools/test-setup-mgmt.sh -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/tools copying build/lib/tacker/tests/functional/tools/test-setup-k8s-vim.sh -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/tools copying build/lib/tacker/tests/functional/tools/test-setup-fake-prometheus-server.sh -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/tools copying build/lib/tacker/tests/functional/tools/test-setup-default-vim.sh -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/tools creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2 creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/vnflcm copying build/lib/tacker/tests/functional/sol_v2/vnflcm/test_vnflcm_error_handling.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/vnflcm copying build/lib/tacker/tests/functional/sol_v2/vnflcm/test_vnflcm_basic.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/vnflcm copying build/lib/tacker/tests/functional/sol_v2/vnflcm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/vnflcm creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/prometheus copying build/lib/tacker/tests/functional/sol_v2/prometheus/test_prom_auto_scale_heal.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/prometheus copying build/lib/tacker/tests/functional/sol_v2/prometheus/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/prometheus creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/notification copying build/lib/tacker/tests/functional/sol_v2/notification/test_server_notification.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/notification copying build/lib/tacker/tests/functional/sol_v2/notification/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/notification creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/basic copying build/lib/tacker/tests/functional/sol_v2/basic/test_individual_vnfc_mgmt.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/basic copying build/lib/tacker/tests/functional/sol_v2/basic/test_change_vnfpkg.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/basic copying build/lib/tacker/tests/functional/sol_v2/basic/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2/basic creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/base_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/paramgen.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/test_change_vnfpkg.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/test_helm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/test_kubernetes_container_update.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/test_prom_auto_scale_heal.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/test_threshold_prometheus_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/test_vnffm_basic.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/test_vnflcm_basic.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/test_vnfpm_basic.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_v2/test_vnfpm_threshold_basic.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_v2 creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_individual_vnfc_mgmt copying build/lib/tacker/tests/functional/sol_v2_individual_vnfc_mgmt/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_individual_vnfc_mgmt copying build/lib/tacker/tests/functional/sol_v2_individual_vnfc_mgmt/test_individual_vnfc_mgmt_basic.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_individual_vnfc_mgmt creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_encrypt_cred_v2 copying build/lib/tacker/tests/functional/sol_encrypt_cred_v2/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_encrypt_cred_v2 copying build/lib/tacker/tests/functional/sol_encrypt_cred_v2/paramgen.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_encrypt_cred_v2 copying build/lib/tacker/tests/functional/sol_encrypt_cred_v2/test_encrypt_credentials.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_encrypt_cred_v2 copying build/lib/tacker/tests/functional/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional copying build/lib/tacker/tests/functional/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional copying build/lib/tacker/tests/functional/base_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional copying build/lib/tacker/tests/functional/keystone.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_terraform_v2 copying build/lib/tacker/tests/functional/sol_terraform_v2/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_terraform_v2 copying build/lib/tacker/tests/functional/sol_terraform_v2/base_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_terraform_v2 copying build/lib/tacker/tests/functional/sol_terraform_v2/paramgen.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_terraform_v2 copying build/lib/tacker/tests/functional/sol_terraform_v2/test_terraform.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_terraform_v2 creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo_v2 copying build/lib/tacker/tests/functional/sol_separated_nfvo_v2/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo_v2 copying build/lib/tacker/tests/functional/sol_separated_nfvo_v2/fake_grant_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo_v2 copying build/lib/tacker/tests/functional/sol_separated_nfvo_v2/fake_vnfpkgm_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo_v2 copying build/lib/tacker/tests/functional/sol_separated_nfvo_v2/test_nfvo_separate_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo_v2 creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/vnflcm copying build/lib/tacker/tests/functional/sol/vnflcm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/vnflcm copying build/lib/tacker/tests/functional/sol/vnflcm/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/vnflcm copying build/lib/tacker/tests/functional/sol/vnflcm/fake_vnflcm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/vnflcm copying build/lib/tacker/tests/functional/sol/vnflcm/fake_vnfpkgm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/vnflcm copying build/lib/tacker/tests/functional/sol/vnflcm/test_vnf_instance.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/vnflcm copying build/lib/tacker/tests/functional/sol/vnflcm/test_vnf_instance_with_user_data.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/vnflcm copying build/lib/tacker/tests/functional/sol/vnflcm/test_vnflcm_noop.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/vnflcm creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/legacy_nfvo copying build/lib/tacker/tests/functional/sol/legacy_nfvo/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/legacy_nfvo copying build/lib/tacker/tests/functional/sol/legacy_nfvo/test_vim.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/legacy_nfvo creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/vnfpkgm copying build/lib/tacker/tests/functional/sol/vnfpkgm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/vnfpkgm copying build/lib/tacker/tests/functional/sol/vnfpkgm/test_vnf_package.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol/vnfpkgm copying build/lib/tacker/tests/functional/sol/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_common copying build/lib/tacker/tests/functional/sol_v2_common/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_common copying build/lib/tacker/tests/functional/sol_v2_common/base_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_common copying build/lib/tacker/tests/functional/sol_v2_common/paramgen.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_common copying build/lib/tacker/tests/functional/sol_v2_common/test_vnflcm_basic_common.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_common copying build/lib/tacker/tests/functional/sol_v2_common/utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_common creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_oidc_auth creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2/base_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2 copying build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2/test_kubernetes_oidc_auth.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2 creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1 copying build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1 copying build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1/test_kubernetes_oidc_auth.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1 copying build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_oidc_auth copying build/lib/tacker/tests/functional/sol_kubernetes_oidc_auth/test_vim.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_oidc_auth creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes copying build/lib/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes copying build/lib/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/test_policy_cnflcm_apis_v1.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes copying build/lib/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/test_policy_cnflcm_apis_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes copying build/lib/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/test_policy_vim_apis_kubernetes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy/sol_kubernetes copying build/lib/tacker/tests/functional/sol_enhanced_policy/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy copying build/lib/tacker/tests/functional/sol_enhanced_policy/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy/sol copying build/lib/tacker/tests/functional/sol_enhanced_policy/sol/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy/sol copying build/lib/tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vim_apis_openstack.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy/sol copying build/lib/tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnf_package_apis.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy/sol copying build/lib/tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnflcm_apis_v1.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy/sol copying build/lib/tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnflcm_apis_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_enhanced_policy/sol creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes copying build/lib/tacker/tests/functional/sol_kubernetes/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes/vnflcm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes/vnflcm/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_container_update.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_heal.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_helm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_multi_ns.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_scale.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes/vnflcm creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_multi_tenant creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_multi_tenant/vnflcm copying build/lib/tacker/tests/functional/sol_multi_tenant/vnflcm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_multi_tenant/vnflcm copying build/lib/tacker/tests/functional/sol_multi_tenant/vnflcm/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_multi_tenant/vnflcm copying build/lib/tacker/tests/functional/sol_multi_tenant/vnflcm/fake_vnflcm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_multi_tenant/vnflcm copying build/lib/tacker/tests/functional/sol_multi_tenant/vnflcm/test_vnf_lcm_with_multi_tenant.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_multi_tenant/vnflcm copying build/lib/tacker/tests/functional/sol_multi_tenant/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_multi_tenant creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/common copying build/lib/tacker/tests/functional/common/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/common copying build/lib/tacker/tests/functional/common/fake_grant_server.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/common copying build/lib/tacker/tests/functional/common/fake_server.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/common copying build/lib/tacker/tests/functional/common/logging_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/common creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_az_retry copying build/lib/tacker/tests/functional/sol_v2_az_retry/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_az_retry copying build/lib/tacker/tests/functional/sol_v2_az_retry/test_az_retry.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_v2_az_retry creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo/vnflcm copying build/lib/tacker/tests/functional/sol_separated_nfvo/vnflcm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo/vnflcm copying build/lib/tacker/tests/functional/sol_separated_nfvo/vnflcm/fake_grant.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo/vnflcm copying build/lib/tacker/tests/functional/sol_separated_nfvo/vnflcm/fake_vnfpkgm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo/vnflcm copying build/lib/tacker/tests/functional/sol_separated_nfvo/vnflcm/test_vnf_instance_with_user_data_nfvo_separate.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo/vnflcm copying build/lib/tacker/tests/functional/sol_separated_nfvo/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_separated_nfvo creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_https_v2 copying build/lib/tacker/tests/functional/sol_https_v2/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_https_v2 copying build/lib/tacker/tests/functional/sol_https_v2/paramgen.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_https_v2 copying build/lib/tacker/tests/functional/sol_https_v2/test_vnffm_https_basic.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_https_v2 copying build/lib/tacker/tests/functional/sol_https_v2/test_vnflcm_https_basic.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_https_v2 copying build/lib/tacker/tests/functional/sol_https_v2/test_vnfpm_https_basic.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_https_v2 creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_multi_tenant creating build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/fake_vnflcm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/test_kubernetes_multi_tenant.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm copying build/lib/tacker/tests/functional/sol_kubernetes_multi_tenant/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/functional/sol_kubernetes_multi_tenant creating build/bdist.linux-x86_64/wheel/tacker/tests/unit creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/fakes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_change_ext_conn_req.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_fields.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_grant.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_instantiate_vnf_req.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_terminate_vnf_request.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vim_connection.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vnf_deployment_flavour.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vnf_instance.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vnf_instantiated_info.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vnf_lcm_op_occs.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vnf_lcm_subscriptions.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vnf_package.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vnf_package_vnfd.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vnf_resource.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vnf_software_images.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vnfd.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/objects/test_vnfd_attribute.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/objects copying build/lib/tacker/tests/unit/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/database_stubs.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/extension_stubs.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/fake_auth.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/fake_request.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/fixtures.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/test_auth.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/test_context.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/test_policy.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/test_privsep.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/test_wsgi.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit copying build/lib/tacker/tests/unit/testlib_api.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfpkgm copying build/lib/tacker/tests/unit/vnfpkgm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfpkgm copying build/lib/tacker/tests/unit/vnfpkgm/fakes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfpkgm copying build/lib/tacker/tests/unit/vnfpkgm/test_controller.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfpkgm creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/db copying build/lib/tacker/tests/unit/db/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db copying build/lib/tacker/tests/unit/db/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db copying build/lib/tacker/tests/unit/db/test_db_migration.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db copying build/lib/tacker/tests/unit/db/test_db_migration_to_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db copying build/lib/tacker/tests/unit/db/test_db_purge_delete.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db copying build/lib/tacker/tests/unit/db/test_vnf_artifact.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db copying build/lib/tacker/tests/unit/db/test_vnf_instance.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db copying build/lib/tacker/tests/unit/db/test_vnf_package.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db copying build/lib/tacker/tests/unit/db/test_vnf_package_vnfd.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db copying build/lib/tacker/tests/unit/db/test_vnf_resource.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db copying build/lib/tacker/tests/unit/db/utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/db/common_services copying build/lib/tacker/tests/unit/db/common_services/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db/common_services copying build/lib/tacker/tests/unit/db/common_services/test_common_services_db_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/db/common_services creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/policies copying build/lib/tacker/tests/unit/policies/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/policies copying build/lib/tacker/tests/unit/policies/base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/policies copying build/lib/tacker/tests/unit/policies/test_vnf_lcm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/policies copying build/lib/tacker/tests/unit/policies/test_vnf_package.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/policies creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/common creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/common/sample_keys copying build/lib/tacker/tests/unit/common/sample_keys/jwt_private.key -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common/sample_keys creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/common/container copying build/lib/tacker/tests/unit/common/container/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common/container copying build/lib/tacker/tests/unit/common/container/test_kubernetes_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common/container copying build/lib/tacker/tests/unit/common/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common copying build/lib/tacker/tests/unit/common/fakes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common copying build/lib/tacker/tests/unit/common/test_config.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common copying build/lib/tacker/tests/unit/common/test_crypt_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common copying build/lib/tacker/tests/unit/common/test_csar_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common copying build/lib/tacker/tests/unit/common/test_ext_oauth2_auth.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common copying build/lib/tacker/tests/unit/common/test_log.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common copying build/lib/tacker/tests/unit/common/test_oidc_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common copying build/lib/tacker/tests/unit/common/test_store.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common copying build/lib/tacker/tests/unit/common/test_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/common creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/cmd copying build/lib/tacker/tests/unit/cmd/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/cmd copying build/lib/tacker/tests/unit/cmd/test_status.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/cmd creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/conductor copying build/lib/tacker/tests/unit/conductor/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/conductor copying build/lib/tacker/tests/unit/conductor/fakes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/conductor copying build/lib/tacker/tests/unit/conductor/test_conductor_server.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/conductor creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/conductor/conductorrpc copying build/lib/tacker/tests/unit/conductor/conductorrpc/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/conductor/conductorrpc copying build/lib/tacker/tests/unit/conductor/conductorrpc/test_vnf_lcm_rpc.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/conductor/conductorrpc copying build/lib/tacker/tests/unit/conductor/conductorrpc/test_vnf_pkgm_rpc.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/conductor/conductorrpc creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnflcm copying build/lib/tacker/tests/unit/vnflcm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnflcm copying build/lib/tacker/tests/unit/vnflcm/fakes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnflcm copying build/lib/tacker/tests/unit/vnflcm/test_controller.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnflcm copying build/lib/tacker/tests/unit/vnflcm/test_load_vnf_interfaces.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnflcm copying build/lib/tacker/tests/unit/vnflcm/test_sync_resource.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnflcm copying build/lib/tacker/tests/unit/vnflcm/test_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnflcm copying build/lib/tacker/tests/unit/vnflcm/test_vnflcm_driver.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnflcm creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnflcm/vnflcm_driver copying build/lib/tacker/tests/unit/vnflcm/vnflcm_driver/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnflcm/vnflcm_driver creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/glance_store copying build/lib/tacker/tests/unit/glance_store/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/glance_store copying build/lib/tacker/tests/unit/glance_store/test_store.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/glance_store creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/extensions copying build/lib/tacker/tests/unit/extensions/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/extensions copying build/lib/tacker/tests/unit/extensions/extendedattribute.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/extensions copying build/lib/tacker/tests/unit/extensions/extensionattribute.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/extensions copying build/lib/tacker/tests/unit/extensions/foxinsocks.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/extensions copying build/lib/tacker/tests/unit/extensions/test_common_services.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/extensions copying build/lib/tacker/tests/unit/extensions/test_extension_extended_attribute.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/extensions copying build/lib/tacker/tests/unit/extensions/v2attributes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/extensions creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/api creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v1 copying build/lib/tacker/tests/unit/api/v1/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v1 copying build/lib/tacker/tests/unit/api/v1/fakes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v1 copying build/lib/tacker/tests/unit/api/v1/test_attributes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v1 copying build/lib/tacker/tests/unit/api/v1/test_resource.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v1 copying build/lib/tacker/tests/unit/api/v1/test_resource_helper.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v1 copying build/lib/tacker/tests/unit/api/v1/test_router.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v1 copying build/lib/tacker/tests/unit/api/v1/test_vim.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v1 copying build/lib/tacker/tests/unit/api/v1/test_vnf_instance.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v1 copying build/lib/tacker/tests/unit/api/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api copying build/lib/tacker/tests/unit/api/test_api_common.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api copying build/lib/tacker/tests/unit/api/test_extensions.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v2 copying build/lib/tacker/tests/unit/api/v2/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v2 copying build/lib/tacker/tests/unit/api/v2/test_api_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/api/v2 creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/agent creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/agent/linux copying build/lib/tacker/tests/unit/agent/linux/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/agent/linux copying build/lib/tacker/tests/unit/agent/linux/test_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/agent/linux copying build/lib/tacker/tests/unit/agent/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/agent creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/keymgr copying build/lib/tacker/tests/unit/keymgr/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/keymgr copying build/lib/tacker/tests/unit/keymgr/test_barbican_key_manager.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/keymgr creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/nfvo copying build/lib/tacker/tests/unit/nfvo/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/nfvo copying build/lib/tacker/tests/unit/nfvo/test_nfvo_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/nfvo creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/nfvo/drivers copying build/lib/tacker/tests/unit/nfvo/drivers/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/nfvo/drivers creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/nfvo/drivers/vim copying build/lib/tacker/tests/unit/nfvo/drivers/vim/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/nfvo/drivers/vim copying build/lib/tacker/tests/unit/nfvo/drivers/vim/test_kubernetes_driver.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/nfvo/drivers/vim copying build/lib/tacker/tests/unit/nfvo/drivers/vim/test_openstack_driver.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/nfvo/drivers/vim creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/tests copying build/lib/tacker/tests/unit/tests/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/tests copying build/lib/tacker/tests/unit/tests/test_post_mortem_debug.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/tests creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm copying build/lib/tacker/tests/unit/vnfm/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm copying build/lib/tacker/tests/unit/vnfm/test_nfvo_client.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm copying build/lib/tacker/tests/unit/vnfm/test_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm copying build/lib/tacker/tests/unit/vnfm/test_vim_client.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/mgmt_drivers copying build/lib/tacker/tests/unit/vnfm/mgmt_drivers/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/mgmt_drivers copying build/lib/tacker/tests/unit/vnfm/mgmt_drivers/fakes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/mgmt_drivers copying build/lib/tacker/tests/unit/vnfm/mgmt_drivers/test_container_update_mgmt.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/mgmt_drivers creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/lcm_user_data copying build/lib/tacker/tests/unit/vnfm/lcm_user_data/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/lcm_user_data creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/lcm_user_data/utils copying build/lib/tacker/tests/unit/vnfm/lcm_user_data/utils/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/lcm_user_data/utils copying build/lib/tacker/tests/unit/vnfm/lcm_user_data/utils/test_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/lcm_user_data/utils creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/volume-attachment.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/token-review.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/subject-access-review.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/storage-class.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/stateful-set.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/service.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/service-account.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/self-subject-rule-review.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/self-subject-access-review.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/secret.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/role.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/role-bindings.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/resource-quota.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/replica-set.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/priority-class.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/pod.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/pod-template.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/persistent-volume.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/persistent-volume-claim.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/node.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/network-policy.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/namespace.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/local-subject-access-review.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/limit-range.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/lease.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/job.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/horizontal-pod-autoscaler.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/deployment.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/daemon-set.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/controller-revision.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/config-map.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/cluster-role.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/cluster-role-binding.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/bindings.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/api-service.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/fakes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver_helm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_translate_outputs.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes copying build/lib/tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/kubernetes creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling/worker_instance.hot.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling/hot_generate_hot_from_tosca_with_scaling.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/hot_generate_hot_from_tosca.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_vnfd_group_member.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_vnfd.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_params_error.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_substitution_mappings_error.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_scaling_invalid_inst_req.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_scaling.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_params_error.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_translator_error.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_parser_error.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/etsi_nfv_sol001_vnfd_types.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/etsi_nfv_sol001_common_types.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_nest_initial.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_nest_grant.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_initial.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_grant.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/data creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/client.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/fixture_data_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/test_etsi_translate_template.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/test_openstack.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/test_openstack_driver.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack copying build/lib/tacker/tests/unit/vnfm/infra_drivers/openstack/test_update_template.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers/openstack copying build/lib/tacker/tests/unit/vnfm/infra_drivers/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/vnfm/infra_drivers creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/fakes_for_fm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_common_script_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_coord_client.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_coordinate.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_fm_alarm_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_fm_subscription_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_lcm_op_occ_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_oidc_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_pm_job_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_pm_threshold_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_prometheus_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_server_notification.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_subscription_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_vim_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_vnf_instance_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/common/test_vnfd_utils.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/common copying build/lib/tacker/tests/unit/sol_refactored/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/nfvo copying build/lib/tacker/tests/unit/sol_refactored/nfvo/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/nfvo copying build/lib/tacker/tests/unit/sol_refactored/nfvo/test_local_nfvo.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/nfvo copying build/lib/tacker/tests/unit/sol_refactored/nfvo/test_nfvo_client.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/nfvo creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/mgmt_drivers copying build/lib/tacker/tests/unit/sol_refactored/mgmt_drivers/fake_configmap.yaml -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/mgmt_drivers copying build/lib/tacker/tests/unit/sol_refactored/mgmt_drivers/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/mgmt_drivers copying build/lib/tacker/tests/unit/sol_refactored/mgmt_drivers/fakes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/mgmt_drivers copying build/lib/tacker/tests/unit/sol_refactored/mgmt_drivers/test_container_update_mgmt.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/mgmt_drivers copying build/lib/tacker/tests/unit/sol_refactored/mgmt_drivers/test_server_notification.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/mgmt_drivers creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/api copying build/lib/tacker/tests/unit/sol_refactored/api/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/api copying build/lib/tacker/tests/unit/sol_refactored/api/test_api_version.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/api copying build/lib/tacker/tests/unit/sol_refactored/api/test_validator.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/api copying build/lib/tacker/tests/unit/sol_refactored/api/test_wsgi.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/api creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/controller copying build/lib/tacker/tests/unit/sol_refactored/controller/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/controller copying build/lib/tacker/tests/unit/sol_refactored/controller/test_prometheus_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/controller copying build/lib/tacker/tests/unit/sol_refactored/controller/test_server_notification.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/controller copying build/lib/tacker/tests/unit/sol_refactored/controller/test_vnffm_v1.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/controller copying build/lib/tacker/tests/unit/sol_refactored/controller/test_vnflcm_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/controller copying build/lib/tacker/tests/unit/sol_refactored/controller/test_vnflcm_view.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/controller copying build/lib/tacker/tests/unit/sol_refactored/controller/test_vnfpm_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/controller copying build/lib/tacker/tests/unit/sol_refactored/controller/test_vnfpm_view.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/controller creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/objects copying build/lib/tacker/tests/unit/sol_refactored/objects/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/objects copying build/lib/tacker/tests/unit/sol_refactored/objects/test_base.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/objects copying build/lib/tacker/tests/unit/sol_refactored/objects/test_fm_subscription.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/objects copying build/lib/tacker/tests/unit/sol_refactored/objects/test_grant.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/objects copying build/lib/tacker/tests/unit/sol_refactored/objects/test_lccn_subscription_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/objects copying build/lib/tacker/tests/unit/sol_refactored/objects/test_pm_job_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/objects copying build/lib/tacker/tests/unit/sol_refactored/objects/test_threshold_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/objects copying build/lib/tacker/tests/unit/sol_refactored/objects/test_vnf_instance_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/objects copying build/lib/tacker/tests/unit/sol_refactored/objects/test_vnf_lcm_op_occ_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/objects creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/openstack copying build/lib/tacker/tests/unit/sol_refactored/infra_drivers/openstack/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/openstack copying build/lib/tacker/tests/unit/sol_refactored/infra_drivers/openstack/test_openstack.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/openstack copying build/lib/tacker/tests/unit/sol_refactored/infra_drivers/openstack/test_userdata_default.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/openstack creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/terraform copying build/lib/tacker/tests/unit/sol_refactored/infra_drivers/terraform/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/terraform copying build/lib/tacker/tests/unit/sol_refactored/infra_drivers/terraform/test_terraform.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/terraform copying build/lib/tacker/tests/unit/sol_refactored/infra_drivers/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes copying build/lib/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes copying build/lib/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/fakes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes copying build/lib/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/test_helm.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes copying build/lib/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/test_kubernetes.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/infra_drivers/kubernetes creating build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/conductor copying build/lib/tacker/tests/unit/sol_refactored/conductor/__init__.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/conductor copying build/lib/tacker/tests/unit/sol_refactored/conductor/test_conductor_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/conductor copying build/lib/tacker/tests/unit/sol_refactored/conductor/test_prometheus_plugin.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/conductor copying build/lib/tacker/tests/unit/sol_refactored/conductor/test_server_notification.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/conductor copying build/lib/tacker/tests/unit/sol_refactored/conductor/test_vnffm_driver_v1.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/conductor copying build/lib/tacker/tests/unit/sol_refactored/conductor/test_vnflcm_driver_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/conductor copying build/lib/tacker/tests/unit/sol_refactored/conductor/test_vnfpm_driver_v2.py -> build/bdist.linux-x86_64/wheel/tacker/tests/unit/sol_refactored/conductor running install_data creating build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data creating build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data creating build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc creating build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/init.d copying etc/init.d/tacker-server -> build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/init.d creating build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/rootwrap.d copying etc/tacker/rootwrap.d/tacker.filters -> build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/rootwrap.d creating build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/systemd creating build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/systemd/system copying etc/systemd/system/tacker.service -> build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/systemd/system copying etc/systemd/system/tacker-conductor.service -> build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/systemd/system creating build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/tacker copying etc/tacker/api-paste.ini -> build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/tacker copying etc/tacker/rootwrap.conf -> build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/tacker copying etc/tacker/prometheus-plugin.yaml -> build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.data/data/etc/tacker running install_egg_info Copying tacker.egg-info to build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38-py3.9.egg-info running install_scripts adding license file "LICENSE" (matched pattern "LICEN[CS]E*") adding license file "AUTHORS" (matched pattern "AUTHORS*") creating build/bdist.linux-x86_64/wheel/tacker-11.1.0.dev38.dist-info/WHEEL creating '/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir/pip-wheel-5tafluh9/tmp4co8957l/tacker-11.1.0.dev38-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'tacker/__init__.py' adding 'tacker/_i18n.py' adding 'tacker/auth.py' adding 'tacker/context.py' adding 'tacker/manager.py' adding 'tacker/policy.py' adding 'tacker/service.py' adding 'tacker/version.py' adding 'tacker/wsgi.py' adding 'tacker/agent/__init__.py' adding 'tacker/agent/linux/__init__.py' adding 'tacker/agent/linux/utils.py' adding 'tacker/api/__init__.py' adding 'tacker/api/api_common.py' adding 'tacker/api/extensions.py' adding 'tacker/api/versions.py' adding 'tacker/api/common/__init__.py' adding 'tacker/api/common/_filters.py' adding 'tacker/api/common/attribute_filter.py' adding 'tacker/api/schemas/__init__.py' adding 'tacker/api/schemas/vnf_lcm.py' adding 'tacker/api/schemas/vnf_packages.py' adding 'tacker/api/v1/__init__.py' adding 'tacker/api/v1/attributes.py' adding 'tacker/api/v1/base.py' adding 'tacker/api/v1/resource.py' adding 'tacker/api/v1/resource_helper.py' adding 'tacker/api/v1/router.py' adding 'tacker/api/validation/__init__.py' adding 'tacker/api/validation/parameter_types.py' adding 'tacker/api/validation/validators.py' adding 'tacker/api/views/__init__.py' adding 'tacker/api/views/versions.py' adding 'tacker/api/views/vnf_lcm.py' adding 'tacker/api/views/vnf_lcm_op_occs.py' adding 'tacker/api/views/vnf_packages.py' adding 'tacker/api/views/vnf_subscriptions.py' adding 'tacker/api/vnflcm/__init__.py' adding 'tacker/api/vnflcm/v1/__init__.py' adding 'tacker/api/vnflcm/v1/controller.py' adding 'tacker/api/vnflcm/v1/router.py' adding 'tacker/api/vnflcm/v1/sync_resource.py' adding 'tacker/api/vnfpkgm/__init__.py' adding 'tacker/api/vnfpkgm/v1/__init__.py' adding 'tacker/api/vnfpkgm/v1/controller.py' adding 'tacker/api/vnfpkgm/v1/router.py' adding 'tacker/cmd/__init__.py' adding 'tacker/cmd/status.py' adding 'tacker/cmd/eventlet/__init__.py' adding 'tacker/cmd/eventlet/conductor.py' adding 'tacker/cmd/eventlet/tacker_server.py' adding 'tacker/common/__init__.py' adding 'tacker/common/clients.py' adding 'tacker/common/cmd_executer.py' adding 'tacker/common/config.py' adding 'tacker/common/constants.py' adding 'tacker/common/coordination.py' adding 'tacker/common/crypt_utils.py' adding 'tacker/common/csar_utils.py' adding 'tacker/common/driver_manager.py' adding 'tacker/common/eventlet_utils.py' adding 'tacker/common/exceptions.py' adding 'tacker/common/ext_oauth2_auth.py' adding 'tacker/common/log.py' adding 'tacker/common/oidc_utils.py' adding 'tacker/common/rpc.py' adding 'tacker/common/safe_utils.py' adding 'tacker/common/test_lib.py' adding 'tacker/common/topics.py' adding 'tacker/common/utils.py' adding 'tacker/common/container/__init__.py' adding 'tacker/common/container/kubernetes_utils.py' adding 'tacker/conductor/__init__.py' adding 'tacker/conductor/conductor_server.py' adding 'tacker/conductor/conductorrpc/__init__.py' adding 'tacker/conductor/conductorrpc/vnf_lcm_rpc.py' adding 'tacker/conductor/conductorrpc/vnf_pkgm_rpc.py' adding 'tacker/conf/__init__.py' adding 'tacker/conf/conductor.py' adding 'tacker/conf/coordination.py' adding 'tacker/conf/opts.py' adding 'tacker/conf/policy.py' adding 'tacker/conf/vnf_lcm.py' adding 'tacker/conf/vnf_package.py' adding 'tacker/db/__init__.py' adding 'tacker/db/api.py' adding 'tacker/db/db_base.py' adding 'tacker/db/model_base.py' adding 'tacker/db/models_v1.py' adding 'tacker/db/sqlalchemyutils.py' adding 'tacker/db/types.py' adding 'tacker/db/common_services/__init__.py' adding 'tacker/db/common_services/common_services_db.py' adding 'tacker/db/common_services/common_services_db_plugin.py' adding 'tacker/db/db_sqlalchemy/__init__.py' adding 'tacker/db/db_sqlalchemy/api.py' adding 'tacker/db/db_sqlalchemy/models.py' adding 'tacker/db/migration/README' adding 'tacker/db/migration/__init__.py' adding 'tacker/db/migration/alembic.ini' adding 'tacker/db/migration/cli.py' adding 'tacker/db/migration/migrate_to_v2.py' adding 'tacker/db/migration/purge_tables.py' adding 'tacker/db/migration/alembic_migrations/__init__.py' adding 'tacker/db/migration/alembic_migrations/env.py' adding 'tacker/db/migration/alembic_migrations/script.py.mako' adding 'tacker/db/migration/alembic_migrations/versions/000632983ada_add_template_source_column.py' adding 'tacker/db/migration/alembic_migrations/versions/0ad3bbce1c18_create_of_network_service_tables.py' adding 'tacker/db/migration/alembic_migrations/versions/0ad3bbce1c19_increase_vim_password_size.py' adding 'tacker/db/migration/alembic_migrations/versions/0ae5b1ce3024_unique_constraint_name.py' adding 'tacker/db/migration/alembic_migrations/versions/12a57080b277_add_service_db.py' adding 'tacker/db/migration/alembic_migrations/versions/12a57080b278_alter_devices.py' adding 'tacker/db/migration/alembic_migrations/versions/13c0e0661015_add_descrition_to_vnf.py' adding 'tacker/db/migration/alembic_migrations/versions/13ecc2dd6f7f_change_nullable_value_of_path_id.py' adding 'tacker/db/migration/alembic_migrations/versions/1c6b0d82afcd_servicevm_framework.py' adding 'tacker/db/migration/alembic_migrations/versions/22f5385a3d3f_add_status_to_vims.py' adding 'tacker/db/migration/alembic_migrations/versions/22f5385a3d4f_remove_proxydb.py' adding 'tacker/db/migration/alembic_migrations/versions/22f5385a3d50_rename_devicedb.py' adding 'tacker/db/migration/alembic_migrations/versions/24bec5f211c7_alter_value_in_deviceattributes.py' adding 'tacker/db/migration/alembic_migrations/versions/2531c976c0f1_add_pm_threshold_table.py' adding 'tacker/db/migration/alembic_migrations/versions/2774a42c7163_remove_service_related.py' adding 'tacker/db/migration/alembic_migrations/versions/2c5211036579_add_placement_table.py' adding 'tacker/db/migration/alembic_migrations/versions/2ff0a0e360f1_audit_support.py' adding 'tacker/db/migration/alembic_migrations/versions/31acbaeb8299_change_vim_shared_property_to_false.py' adding 'tacker/db/migration/alembic_migrations/versions/329cd1619d41_alter_vnf_software_images.py' adding 'tacker/db/migration/alembic_migrations/versions/34cfceb25a49_add_downloading_to_vnfpackage.py' adding 'tacker/db/migration/alembic_migrations/versions/354de64ba129_set_mandatory_columns_not_null.py' adding 'tacker/db/migration/alembic_migrations/versions/3adac34764da_add_column_to_vnf_lcm_op_occs.py' adding 'tacker/db/migration/alembic_migrations/versions/3ff50553e9d3_add_grant_and_grant_request.py' adding 'tacker/db/migration/alembic_migrations/versions/4747cc26b9c6_add_support_vnffg_to_ns_database.py' adding 'tacker/db/migration/alembic_migrations/versions/4c0e2e2c2e02_alter_vnfd_id_format.py' adding 'tacker/db/migration/alembic_migrations/versions/4c31092895b8_remove_service_instance.py' adding 'tacker/db/migration/alembic_migrations/versions/4ee19c8a6d0a_audit_support_events.py' adding 'tacker/db/migration/alembic_migrations/versions/507122918800_adds_vnffg.py' adding 'tacker/db/migration/alembic_migrations/versions/5246a6bd410f_multisite_vim.py' adding 'tacker/db/migration/alembic_migrations/versions/5958429bcb3c_modify_datatype_of_value.py' adding 'tacker/db/migration/alembic_migrations/versions/5d490546290c_add_name_to_classifiers.py' adding 'tacker/db/migration/alembic_migrations/versions/5f88e86b35c7_make_vnfd_vnf_vim_name_mandatory.py' adding 'tacker/db/migration/alembic_migrations/versions/6dc60a5760e5_add_extra_field_to_vims_db.py' adding 'tacker/db/migration/alembic_migrations/versions/6e56d4474b2a_blob_to_json_text.py' adding 'tacker/db/migration/alembic_migrations/versions/70df18f71ba2_alter_vnfd_ids_vnf_instance_ids_vnf_.py' adding 'tacker/db/migration/alembic_migrations/versions/7186440a306b_change_type_for_instance_id_of_vnf_table.py' adding 'tacker/db/migration/alembic_migrations/versions/745e3e9fe5e2_add_vnf_metadata_to_vnflcm_db.py' adding 'tacker/db/migration/alembic_migrations/versions/81ffa86020d_rpc_proxy.py' adding 'tacker/db/migration/alembic_migrations/versions/85c06a0714b7_rename_field_subscription_authentication.py' adding 'tacker/db/migration/alembic_migrations/versions/8a7ca803e0d0_add_vnfc_info_to_instantiated_vnf_info.py' adding 'tacker/db/migration/alembic_migrations/versions/8f7145914cb0_remove_infra_driver_column.py' adding 'tacker/db/migration/alembic_migrations/versions/941b5a6fff9e_enable_soft_delete.py' adding 'tacker/db/migration/alembic_migrations/versions/975e28392888_add_unique_key_vnf_package_vnfd.py' adding 'tacker/db/migration/alembic_migrations/versions/985e28392890_add_vnflcm_db.py' adding 'tacker/db/migration/alembic_migrations/versions/9d425296f2c3_add_vnfpkgm_db.py' adding 'tacker/db/migration/alembic_migrations/versions/HEAD' adding 'tacker/db/migration/alembic_migrations/versions/README' adding 'tacker/db/migration/alembic_migrations/versions/a23ebee909a8_introduce_sol_refactored_models.py' adding 'tacker/db/migration/alembic_migrations/versions/aaf461c8844c_change_type_for_vnf_resources.py' adding 'tacker/db/migration/alembic_migrations/versions/abbef484b34c_modify_unique_constraint_on_vnf_packages_user_data.py' adding 'tacker/db/migration/alembic_migrations/versions/acf941e54075_add_error_reason_to_device.py' adding 'tacker/db/migration/alembic_migrations/versions/b07673bb8654_set_status_type_tenant_id_length.py' adding 'tacker/db/migration/alembic_migrations/versions/c256228ed37c_unique_constraint_on_name_and_id.py' adding 'tacker/db/migration/alembic_migrations/versions/c31f65e0d099_add_columns_to_vnf_lcm_filter.py' adding 'tacker/db/migration/alembic_migrations/versions/c47a733f425a_add_vnflcm_subscription.py' adding 'tacker/db/migration/alembic_migrations/versions/c7cde2f45f82_set_description_to_text.py' adding 'tacker/db/migration/alembic_migrations/versions/ca2ad037c320_add_cryptkey_db.py' adding 'tacker/db/migration/alembic_migrations/versions/cd04a8335c18_mgmt_url_to_mgmt_ip_address.py' adding 'tacker/db/migration/alembic_migrations/versions/d25c7c865ce8_mod_vnflcm_subscription.py' adding 'tacker/db/migration/alembic_migrations/versions/d2e39e01d540_add_size_to_vnfpackage.py' adding 'tacker/db/migration/alembic_migrations/versions/d4f265e8eb9d_add_default_to_vim.py' adding 'tacker/db/migration/alembic_migrations/versions/d6ae359ab0d6_add_tenant_id_to_lcm_subscriptions_and_.py' adding 'tacker/db/migration/alembic_migrations/versions/de6bfa5bea46_remove_status_from_vim.py' adding 'tacker/db/migration/alembic_migrations/versions/de8d835ae776_add_pm_and_fm_table.py' adding 'tacker/db/migration/alembic_migrations/versions/df26c5871f3c_change_vnf_filter_column_definition.py' adding 'tacker/db/migration/alembic_migrations/versions/e06fbdc90a32_add_db_tables_for_add_artifacts.py' adding 'tacker/db/migration/alembic_migrations/versions/e7993093baf1_add_unique_constraint_on_deleted_at.py' adding 'tacker/db/migration/alembic_migrations/versions/e8918cda6433_add_attributes_to_vnffg.py' adding 'tacker/db/migration/alembic_migrations/versions/e9a1e47fb0b5_add_template_source_status_to_vnffgtemplate_and_nsd.py' adding 'tacker/db/migration/alembic_migrations/versions/ee98bbc0789d_add_scale_column.py' adding 'tacker/db/migration/alembic_migrations/versions/ef14f8026327_add_default_onboarded_template_source.py' adding 'tacker/db/migration/alembic_migrations/versions/f5c1c3b0f6b4_set_default_value_for_deleted_at.py' adding 'tacker/db/migration/alembic_migrations/versions/f958f58e5daa_uuid_consistency.py' adding 'tacker/db/migration/alembic_migrations/versions/f9bc96967462_add_vnf_pkg_id_to_vnf_instances.py' adding 'tacker/db/migration/models/__init__.py' adding 'tacker/db/migration/models/head.py' adding 'tacker/db/nfvo/__init__.py' adding 'tacker/db/nfvo/nfvo_db.py' adding 'tacker/db/nfvo/nfvo_db_plugin.py' adding 'tacker/db/vnfm/__init__.py' adding 'tacker/db/vnfm/vnfm_db.py' adding 'tacker/extensions/__init__.py' adding 'tacker/extensions/common_services.py' adding 'tacker/extensions/nfvo.py' adding 'tacker/extensions/vnflcm.py' adding 'tacker/extensions/vnfm.py' adding 'tacker/glance_store/__init__.py' adding 'tacker/glance_store/store.py' adding 'tacker/hacking/__init__.py' adding 'tacker/hacking/checks.py' adding 'tacker/keymgr/__init__.py' adding 'tacker/keymgr/barbican_key_manager.py' adding 'tacker/keymgr/exception.py' adding 'tacker/keymgr/key_manager.py' adding 'tacker/locale/de/LC_MESSAGES/tacker.po' adding 'tacker/nfvo/__init__.py' adding 'tacker/nfvo/nfvo_plugin.py' adding 'tacker/nfvo/drivers/__init__.py' adding 'tacker/nfvo/drivers/vim/__init__.py' adding 'tacker/nfvo/drivers/vim/abstract_vim_driver.py' adding 'tacker/nfvo/drivers/vim/kubernetes_driver.py' adding 'tacker/nfvo/drivers/vim/openstack_driver.py' adding 'tacker/objects/__init__.py' adding 'tacker/objects/base.py' adding 'tacker/objects/cancel_mode.py' adding 'tacker/objects/change_ext_conn_req.py' adding 'tacker/objects/common.py' adding 'tacker/objects/fields.py' adding 'tacker/objects/grant.py' adding 'tacker/objects/grant_request.py' adding 'tacker/objects/heal_vnf_request.py' adding 'tacker/objects/instantiate_vnf_req.py' adding 'tacker/objects/scale_vnf_request.py' adding 'tacker/objects/terminate_vnf_req.py' adding 'tacker/objects/vim_connection.py' adding 'tacker/objects/vnf.py' adding 'tacker/objects/vnf_artifact.py' adding 'tacker/objects/vnf_deployment_flavour.py' adding 'tacker/objects/vnf_instance.py' adding 'tacker/objects/vnf_instantiated_info.py' adding 'tacker/objects/vnf_lcm_op_occs.py' adding 'tacker/objects/vnf_lcm_subscriptions.py' adding 'tacker/objects/vnf_package.py' adding 'tacker/objects/vnf_package_vnfd.py' adding 'tacker/objects/vnf_resources.py' adding 'tacker/objects/vnf_software_image.py' adding 'tacker/objects/vnfd.py' adding 'tacker/objects/vnfd_attribute.py' adding 'tacker/plugins/__init__.py' adding 'tacker/plugins/common/__init__.py' adding 'tacker/plugins/common/constants.py' adding 'tacker/plugins/common_services/__init__.py' adding 'tacker/plugins/common_services/common_services_plugin.py' adding 'tacker/policies/__init__.py' adding 'tacker/policies/base.py' adding 'tacker/policies/vnf_lcm.py' adding 'tacker/policies/vnf_package.py' adding 'tacker/privileged/__init__.py' adding 'tacker/privileged/linux_cmd.py' adding 'tacker/releasenotes/notes/change_external_vnf_connectivity-444c580a01479f33.yaml' adding 'tacker/releasenotes/notes/remove-passing-infra-and-mgmt-driver-in-api-954fe28b1294a2d6.yaml' adding 'tacker/services/__init__.py' adding 'tacker/services/service_base.py' adding 'tacker/sol_refactored/api/api_version.py' adding 'tacker/sol_refactored/api/router.py' adding 'tacker/sol_refactored/api/validator.py' adding 'tacker/sol_refactored/api/wsgi.py' adding 'tacker/sol_refactored/api/policies/vnffm_v1.py' adding 'tacker/sol_refactored/api/policies/vnflcm_v2.py' adding 'tacker/sol_refactored/api/policies/vnfpm_v2.py' adding 'tacker/sol_refactored/api/schemas/__init__.py' adding 'tacker/sol_refactored/api/schemas/common_types.py' adding 'tacker/sol_refactored/api/schemas/prometheus_plugin_schemas.py' adding 'tacker/sol_refactored/api/schemas/server_notification_schemas.py' adding 'tacker/sol_refactored/api/schemas/vnffm_v1.py' adding 'tacker/sol_refactored/api/schemas/vnflcm_v2.py' adding 'tacker/sol_refactored/api/schemas/vnfpm_v2.py' adding 'tacker/sol_refactored/common/cinder_utils.py' adding 'tacker/sol_refactored/common/common_script_utils.py' adding 'tacker/sol_refactored/common/config.py' adding 'tacker/sol_refactored/common/coord_client.py' adding 'tacker/sol_refactored/common/coordinate.py' adding 'tacker/sol_refactored/common/exceptions.py' adding 'tacker/sol_refactored/common/fm_alarm_utils.py' adding 'tacker/sol_refactored/common/fm_subscription_utils.py' adding 'tacker/sol_refactored/common/http_client.py' adding 'tacker/sol_refactored/common/lcm_op_occ_utils.py' adding 'tacker/sol_refactored/common/monitoring_plugin_base.py' adding 'tacker/sol_refactored/common/oidc_utils.py' adding 'tacker/sol_refactored/common/pm_job_utils.py' adding 'tacker/sol_refactored/common/pm_threshold_utils.py' adding 'tacker/sol_refactored/common/prometheus_plugin.py' adding 'tacker/sol_refactored/common/server_notification.py' adding 'tacker/sol_refactored/common/subscription_utils.py' adding 'tacker/sol_refactored/common/vim_utils.py' adding 'tacker/sol_refactored/common/vnf_instance_utils.py' adding 'tacker/sol_refactored/common/vnfd_utils.py' adding 'tacker/sol_refactored/common/vnflcm_utils.py' adding 'tacker/sol_refactored/conductor/__init__.py' adding 'tacker/sol_refactored/conductor/conductor_rpc_v2.py' adding 'tacker/sol_refactored/conductor/conductor_v2.py' adding 'tacker/sol_refactored/conductor/prometheus_plugin_driver.py' adding 'tacker/sol_refactored/conductor/server_notification_driver.py' adding 'tacker/sol_refactored/conductor/v2_hook.py' adding 'tacker/sol_refactored/conductor/vnffm_driver_v1.py' adding 'tacker/sol_refactored/conductor/vnflcm_driver_v2.py' adding 'tacker/sol_refactored/conductor/vnfpm_driver_v2.py' adding 'tacker/sol_refactored/controller/__init__.py' adding 'tacker/sol_refactored/controller/prometheus_plugin_controller.py' adding 'tacker/sol_refactored/controller/server_notification.py' adding 'tacker/sol_refactored/controller/vnffm_v1.py' adding 'tacker/sol_refactored/controller/vnffm_view.py' adding 'tacker/sol_refactored/controller/vnflcm_v2.py' adding 'tacker/sol_refactored/controller/vnflcm_versions.py' adding 'tacker/sol_refactored/controller/vnflcm_view.py' adding 'tacker/sol_refactored/controller/vnfpm_v2.py' adding 'tacker/sol_refactored/controller/vnfpm_view.py' adding 'tacker/sol_refactored/db/__init__.py' adding 'tacker/sol_refactored/db/sqlalchemy/__init__.py' adding 'tacker/sol_refactored/db/sqlalchemy/models.py' adding 'tacker/sol_refactored/infra_drivers/kubernetes/helm.py' adding 'tacker/sol_refactored/infra_drivers/kubernetes/helm_utils.py' adding 'tacker/sol_refactored/infra_drivers/kubernetes/kubernetes.py' adding 'tacker/sol_refactored/infra_drivers/kubernetes/kubernetes_common.py' adding 'tacker/sol_refactored/infra_drivers/kubernetes/kubernetes_resource.py' adding 'tacker/sol_refactored/infra_drivers/kubernetes/kubernetes_utils.py' adding 'tacker/sol_refactored/infra_drivers/openstack/heat_utils.py' adding 'tacker/sol_refactored/infra_drivers/openstack/nova_utils.py' adding 'tacker/sol_refactored/infra_drivers/openstack/openstack.py' adding 'tacker/sol_refactored/infra_drivers/openstack/userdata_default.py' adding 'tacker/sol_refactored/infra_drivers/openstack/userdata_main.py' adding 'tacker/sol_refactored/infra_drivers/openstack/userdata_standard.py' adding 'tacker/sol_refactored/infra_drivers/openstack/userdata_utils.py' adding 'tacker/sol_refactored/infra_drivers/terraform/terraform.py' adding 'tacker/sol_refactored/mgmt_drivers/container_update_mgmt_v2.py' adding 'tacker/sol_refactored/mgmt_drivers/sample_script.py' adding 'tacker/sol_refactored/mgmt_drivers/server_notification.py' adding 'tacker/sol_refactored/nfvo/glance_utils.py' adding 'tacker/sol_refactored/nfvo/local_nfvo.py' adding 'tacker/sol_refactored/nfvo/nfvo_client.py' adding 'tacker/sol_refactored/objects/__init__.py' adding 'tacker/sol_refactored/objects/base.py' adding 'tacker/sol_refactored/objects/common/cp_protocol_data.py' adding 'tacker/sol_refactored/objects/common/crypt_key.py' adding 'tacker/sol_refactored/objects/common/ext_link_port_data.py' adding 'tacker/sol_refactored/objects/common/ext_managed_virtual_link_data.py' adding 'tacker/sol_refactored/objects/common/ext_virtual_link_data.py' adding 'tacker/sol_refactored/objects/common/fields.py' adding 'tacker/sol_refactored/objects/common/ip_over_ethernet_address_data.py' adding 'tacker/sol_refactored/objects/common/link.py' adding 'tacker/sol_refactored/objects/common/notification_link.py' adding 'tacker/sol_refactored/objects/common/problem_details.py' adding 'tacker/sol_refactored/objects/common/resource_handle.py' adding 'tacker/sol_refactored/objects/common/subscription_authentication.py' adding 'tacker/sol_refactored/objects/common/vim_connection_info.py' adding 'tacker/sol_refactored/objects/common/vnf_ext_cp_config.py' adding 'tacker/sol_refactored/objects/common/vnf_ext_cp_data.py' adding 'tacker/sol_refactored/objects/common/vnf_instance_subscription_filter.py' adding 'tacker/sol_refactored/objects/v1/alarm.py' adding 'tacker/sol_refactored/objects/v1/alarm_cleared_notification.py' adding 'tacker/sol_refactored/objects/v1/alarm_notification.py' adding 'tacker/sol_refactored/objects/v1/constraint_resource_ref.py' adding 'tacker/sol_refactored/objects/v1/fields.py' adding 'tacker/sol_refactored/objects/v1/fm_notifications_filter.py' adding 'tacker/sol_refactored/objects/v1/fm_subscription.py' adding 'tacker/sol_refactored/objects/v1/fm_subscription_request.py' adding 'tacker/sol_refactored/objects/v1/grant.py' adding 'tacker/sol_refactored/objects/v1/grant_info.py' adding 'tacker/sol_refactored/objects/v1/grant_request.py' adding 'tacker/sol_refactored/objects/v1/placement_constraint.py' adding 'tacker/sol_refactored/objects/v1/resource_definition.py' adding 'tacker/sol_refactored/objects/v1/snapshot_resource_definition.py' adding 'tacker/sol_refactored/objects/v1/vim_compute_resource_flavour.py' adding 'tacker/sol_refactored/objects/v1/vim_constraint.py' adding 'tacker/sol_refactored/objects/v1/vim_snapshot_resource.py' adding 'tacker/sol_refactored/objects/v1/vim_software_image.py' adding 'tacker/sol_refactored/objects/v1/zone_group_info.py' adding 'tacker/sol_refactored/objects/v1/zone_info.py' adding 'tacker/sol_refactored/objects/v2/affected_ext_link_port.py' adding 'tacker/sol_refactored/objects/v2/affected_virtual_link.py' adding 'tacker/sol_refactored/objects/v2/affected_virtual_storage.py' adding 'tacker/sol_refactored/objects/v2/affected_vnfc.py' adding 'tacker/sol_refactored/objects/v2/cancel_mode.py' adding 'tacker/sol_refactored/objects/v2/change_current_vnf_pkg_request.py' adding 'tacker/sol_refactored/objects/v2/change_ext_vnf_connectivity_request.py' adding 'tacker/sol_refactored/objects/v2/change_vnf_flavour_request.py' adding 'tacker/sol_refactored/objects/v2/cp_protocol_info.py' adding 'tacker/sol_refactored/objects/v2/create_pm_job_request.py' adding 'tacker/sol_refactored/objects/v2/create_threshold_request.py' adding 'tacker/sol_refactored/objects/v2/create_vnf_pkg_info_request.py' adding 'tacker/sol_refactored/objects/v2/create_vnf_request.py' adding 'tacker/sol_refactored/objects/v2/create_vnf_snapshot_info_request.py' adding 'tacker/sol_refactored/objects/v2/create_vnf_snapshot_request.py' adding 'tacker/sol_refactored/objects/v2/ext_link_port_info.py' adding 'tacker/sol_refactored/objects/v2/ext_managed_virtual_link_info.py' adding 'tacker/sol_refactored/objects/v2/ext_virtual_link_info.py' adding 'tacker/sol_refactored/objects/v2/external_artifacts_access_config.py' adding 'tacker/sol_refactored/objects/v2/fields.py' adding 'tacker/sol_refactored/objects/v2/heal_vnf_request.py' adding 'tacker/sol_refactored/objects/v2/instantiate_vnf_request.py' adding 'tacker/sol_refactored/objects/v2/ip_over_ethernet_address_info.py' adding 'tacker/sol_refactored/objects/v2/lccn_links.py' adding 'tacker/sol_refactored/objects/v2/lccn_subscription.py' adding 'tacker/sol_refactored/objects/v2/lccn_subscription_request.py' adding 'tacker/sol_refactored/objects/v2/lcm_coord_request.py' adding 'tacker/sol_refactored/objects/v2/lifecycle_change_notifications_filter.py' adding 'tacker/sol_refactored/objects/v2/modifications_triggered_by_vnf_pkg_change.py' adding 'tacker/sol_refactored/objects/v2/monitoring_parameter.py' adding 'tacker/sol_refactored/objects/v2/operate_vnf_request.py' adding 'tacker/sol_refactored/objects/v2/performance_information_available_notification.py' adding 'tacker/sol_refactored/objects/v2/pkgm_links.py' adding 'tacker/sol_refactored/objects/v2/pkgm_notification_filter.py' adding 'tacker/sol_refactored/objects/v2/pkgm_subscription_request.py' adding 'tacker/sol_refactored/objects/v2/pm_job.py' adding 'tacker/sol_refactored/objects/v2/pm_job_criteria.py' adding 'tacker/sol_refactored/objects/v2/pm_job_modification.py' adding 'tacker/sol_refactored/objects/v2/pm_report.py' adding 'tacker/sol_refactored/objects/v2/revert_to_vnf_snapshot_request.py' adding 'tacker/sol_refactored/objects/v2/scale_info.py' adding 'tacker/sol_refactored/objects/v2/scale_vnf_request.py' adding 'tacker/sol_refactored/objects/v2/scale_vnf_to_level_request.py' adding 'tacker/sol_refactored/objects/v2/terminate_vnf_request.py' adding 'tacker/sol_refactored/objects/v2/threshold.py' adding 'tacker/sol_refactored/objects/v2/threshold_criteria.py' adding 'tacker/sol_refactored/objects/v2/threshold_crossed_notification.py' adding 'tacker/sol_refactored/objects/v2/threshold_modifications.py' adding 'tacker/sol_refactored/objects/v2/upload_vnf_package_from_uri_request.py' adding 'tacker/sol_refactored/objects/v2/virtual_storage_resource_info.py' adding 'tacker/sol_refactored/objects/v2/vnf_ext_cp_info.py' adding 'tacker/sol_refactored/objects/v2/vnf_identifier_creation_notification.py' adding 'tacker/sol_refactored/objects/v2/vnf_identifier_deletion_notification.py' adding 'tacker/sol_refactored/objects/v2/vnf_info_modification_request.py' adding 'tacker/sol_refactored/objects/v2/vnf_info_modifications.py' adding 'tacker/sol_refactored/objects/v2/vnf_instance.py' adding 'tacker/sol_refactored/objects/v2/vnf_lcm_op_occ.py' adding 'tacker/sol_refactored/objects/v2/vnf_lcm_operation_occurrence_notification.py' adding 'tacker/sol_refactored/objects/v2/vnf_link_port_data.py' adding 'tacker/sol_refactored/objects/v2/vnf_link_port_info.py' adding 'tacker/sol_refactored/objects/v2/vnf_package_artifact_info.py' adding 'tacker/sol_refactored/objects/v2/vnf_package_change_notification.py' adding 'tacker/sol_refactored/objects/v2/vnf_package_onboarding_notification.py' adding 'tacker/sol_refactored/objects/v2/vnf_package_software_image_info.py' adding 'tacker/sol_refactored/objects/v2/vnf_pkg_info.py' adding 'tacker/sol_refactored/objects/v2/vnf_pkg_info_modifications.py' adding 'tacker/sol_refactored/objects/v2/vnf_snapshot.py' adding 'tacker/sol_refactored/objects/v2/vnf_snapshot_info.py' adding 'tacker/sol_refactored/objects/v2/vnf_snapshot_info_modification_request.py' adding 'tacker/sol_refactored/objects/v2/vnf_snapshot_info_modifications.py' adding 'tacker/sol_refactored/objects/v2/vnf_state_snapshot_info.py' adding 'tacker/sol_refactored/objects/v2/vnf_virtual_link_resource_info.py' adding 'tacker/sol_refactored/objects/v2/vnfc_info.py' adding 'tacker/sol_refactored/objects/v2/vnfc_info_modifications.py' adding 'tacker/sol_refactored/objects/v2/vnfc_resource_info.py' adding 'tacker/sol_refactored/objects/v2/vnfc_snapshot_info.py' adding 'tacker/sol_refactored/test-tools/cli.py' adding 'tacker/sol_refactored/test-tools/notif_endpoint_app.py' adding 'tacker/tests/__init__.py' adding 'tacker/tests/base.py' adding 'tacker/tests/constants.py' adding 'tacker/tests/fake_notifier.py' adding 'tacker/tests/post_mortem_debug.py' adding 'tacker/tests/tools.py' adding 'tacker/tests/utils.py' adding 'tacker/tests/uuidsentinel.py' adding 'tacker/tests/common/__init__.py' adding 'tacker/tests/compliance/__init__.py' adding 'tacker/tests/compliance/base.py' adding 'tacker/tests/compliance/sol002/__init__.py' adding 'tacker/tests/compliance/sol002/base.py' adding 'tacker/tests/compliance/sol002/test_vnflcm.py' adding 'tacker/tests/compliance/sol003/__init__.py' adding 'tacker/tests/compliance/sol003/base.py' adding 'tacker/tests/compliance/sol003/test_vnflcm.py' adding 'tacker/tests/compliance/sol005/__init__.py' adding 'tacker/tests/compliance/sol005/base.py' adding 'tacker/tests/compliance/sol005/test_vnfpkgm.py' adding 'tacker/tests/functional/__init__.py' adding 'tacker/tests/functional/base.py' adding 'tacker/tests/functional/base_v2.py' adding 'tacker/tests/functional/keystone.py' adding 'tacker/tests/functional/common/__init__.py' adding 'tacker/tests/functional/common/fake_grant_server.py' adding 'tacker/tests/functional/common/fake_server.py' adding 'tacker/tests/functional/common/logging_utils.py' adding 'tacker/tests/functional/sol/__init__.py' adding 'tacker/tests/functional/sol/legacy_nfvo/__init__.py' adding 'tacker/tests/functional/sol/legacy_nfvo/test_vim.py' adding 'tacker/tests/functional/sol/vnflcm/__init__.py' adding 'tacker/tests/functional/sol/vnflcm/base.py' adding 'tacker/tests/functional/sol/vnflcm/fake_vnflcm.py' adding 'tacker/tests/functional/sol/vnflcm/fake_vnfpkgm.py' adding 'tacker/tests/functional/sol/vnflcm/test_vnf_instance.py' adding 'tacker/tests/functional/sol/vnflcm/test_vnf_instance_with_user_data.py' adding 'tacker/tests/functional/sol/vnflcm/test_vnflcm_noop.py' adding 'tacker/tests/functional/sol/vnfpkgm/__init__.py' adding 'tacker/tests/functional/sol/vnfpkgm/test_vnf_package.py' adding 'tacker/tests/functional/sol_encrypt_cred_v2/__init__.py' adding 'tacker/tests/functional/sol_encrypt_cred_v2/paramgen.py' adding 'tacker/tests/functional/sol_encrypt_cred_v2/test_encrypt_credentials.py' adding 'tacker/tests/functional/sol_enhanced_policy/__init__.py' adding 'tacker/tests/functional/sol_enhanced_policy/base.py' adding 'tacker/tests/functional/sol_enhanced_policy/sol/__init__.py' adding 'tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vim_apis_openstack.py' adding 'tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnf_package_apis.py' adding 'tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnflcm_apis_v1.py' adding 'tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnflcm_apis_v2.py' adding 'tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/__init__.py' adding 'tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/test_policy_cnflcm_apis_v1.py' adding 'tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/test_policy_cnflcm_apis_v2.py' adding 'tacker/tests/functional/sol_enhanced_policy/sol_kubernetes/test_policy_vim_apis_kubernetes.py' adding 'tacker/tests/functional/sol_https_v2/__init__.py' adding 'tacker/tests/functional/sol_https_v2/paramgen.py' adding 'tacker/tests/functional/sol_https_v2/test_vnffm_https_basic.py' adding 'tacker/tests/functional/sol_https_v2/test_vnflcm_https_basic.py' adding 'tacker/tests/functional/sol_https_v2/test_vnfpm_https_basic.py' adding 'tacker/tests/functional/sol_kubernetes/__init__.py' adding 'tacker/tests/functional/sol_kubernetes/vnflcm/__init__.py' adding 'tacker/tests/functional/sol_kubernetes/vnflcm/base.py' adding 'tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes.py' adding 'tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_container_update.py' adding 'tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_heal.py' adding 'tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_helm.py' adding 'tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_multi_ns.py' adding 'tacker/tests/functional/sol_kubernetes/vnflcm/test_kubernetes_scale.py' adding 'tacker/tests/functional/sol_kubernetes_multi_tenant/__init__.py' adding 'tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/__init__.py' adding 'tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/base.py' adding 'tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/fake_vnflcm.py' adding 'tacker/tests/functional/sol_kubernetes_multi_tenant/vnflcm/test_kubernetes_multi_tenant.py' adding 'tacker/tests/functional/sol_kubernetes_oidc_auth/__init__.py' adding 'tacker/tests/functional/sol_kubernetes_oidc_auth/test_vim.py' adding 'tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1/__init__.py' adding 'tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v1/test_kubernetes_oidc_auth.py' adding 'tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2/__init__.py' adding 'tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2/base_v2.py' adding 'tacker/tests/functional/sol_kubernetes_oidc_auth/vnflcm_v2/test_kubernetes_oidc_auth.py' adding 'tacker/tests/functional/sol_kubernetes_v2/__init__.py' adding 'tacker/tests/functional/sol_kubernetes_v2/base_v2.py' adding 'tacker/tests/functional/sol_kubernetes_v2/paramgen.py' adding 'tacker/tests/functional/sol_kubernetes_v2/test_change_vnfpkg.py' adding 'tacker/tests/functional/sol_kubernetes_v2/test_helm.py' adding 'tacker/tests/functional/sol_kubernetes_v2/test_kubernetes_container_update.py' adding 'tacker/tests/functional/sol_kubernetes_v2/test_prom_auto_scale_heal.py' adding 'tacker/tests/functional/sol_kubernetes_v2/test_threshold_prometheus_plugin.py' adding 'tacker/tests/functional/sol_kubernetes_v2/test_vnffm_basic.py' adding 'tacker/tests/functional/sol_kubernetes_v2/test_vnflcm_basic.py' adding 'tacker/tests/functional/sol_kubernetes_v2/test_vnfpm_basic.py' adding 'tacker/tests/functional/sol_kubernetes_v2/test_vnfpm_threshold_basic.py' adding 'tacker/tests/functional/sol_multi_tenant/__init__.py' adding 'tacker/tests/functional/sol_multi_tenant/vnflcm/__init__.py' adding 'tacker/tests/functional/sol_multi_tenant/vnflcm/base.py' adding 'tacker/tests/functional/sol_multi_tenant/vnflcm/fake_vnflcm.py' adding 'tacker/tests/functional/sol_multi_tenant/vnflcm/test_vnf_lcm_with_multi_tenant.py' adding 'tacker/tests/functional/sol_separated_nfvo/__init__.py' adding 'tacker/tests/functional/sol_separated_nfvo/vnflcm/__init__.py' adding 'tacker/tests/functional/sol_separated_nfvo/vnflcm/fake_grant.py' adding 'tacker/tests/functional/sol_separated_nfvo/vnflcm/fake_vnfpkgm.py' adding 'tacker/tests/functional/sol_separated_nfvo/vnflcm/test_vnf_instance_with_user_data_nfvo_separate.py' adding 'tacker/tests/functional/sol_separated_nfvo_v2/__init__.py' adding 'tacker/tests/functional/sol_separated_nfvo_v2/fake_grant_v2.py' adding 'tacker/tests/functional/sol_separated_nfvo_v2/fake_vnfpkgm_v2.py' adding 'tacker/tests/functional/sol_separated_nfvo_v2/test_nfvo_separate_v2.py' adding 'tacker/tests/functional/sol_terraform_v2/__init__.py' adding 'tacker/tests/functional/sol_terraform_v2/base_v2.py' adding 'tacker/tests/functional/sol_terraform_v2/paramgen.py' adding 'tacker/tests/functional/sol_terraform_v2/test_terraform.py' adding 'tacker/tests/functional/sol_v2/basic/__init__.py' adding 'tacker/tests/functional/sol_v2/basic/test_change_vnfpkg.py' adding 'tacker/tests/functional/sol_v2/basic/test_individual_vnfc_mgmt.py' adding 'tacker/tests/functional/sol_v2/notification/__init__.py' adding 'tacker/tests/functional/sol_v2/notification/test_server_notification.py' adding 'tacker/tests/functional/sol_v2/prometheus/__init__.py' adding 'tacker/tests/functional/sol_v2/prometheus/test_prom_auto_scale_heal.py' adding 'tacker/tests/functional/sol_v2/vnflcm/__init__.py' adding 'tacker/tests/functional/sol_v2/vnflcm/test_vnflcm_basic.py' adding 'tacker/tests/functional/sol_v2/vnflcm/test_vnflcm_error_handling.py' adding 'tacker/tests/functional/sol_v2_az_retry/__init__.py' adding 'tacker/tests/functional/sol_v2_az_retry/test_az_retry.py' adding 'tacker/tests/functional/sol_v2_common/__init__.py' adding 'tacker/tests/functional/sol_v2_common/base_v2.py' adding 'tacker/tests/functional/sol_v2_common/paramgen.py' adding 'tacker/tests/functional/sol_v2_common/test_vnflcm_basic_common.py' adding 'tacker/tests/functional/sol_v2_common/utils.py' adding 'tacker/tests/functional/sol_v2_individual_vnfc_mgmt/__init__.py' adding 'tacker/tests/functional/sol_v2_individual_vnfc_mgmt/test_individual_vnfc_mgmt_basic.py' adding 'tacker/tests/functional/tools/test-setup-default-vim.sh' adding 'tacker/tests/functional/tools/test-setup-fake-prometheus-server.sh' adding 'tacker/tests/functional/tools/test-setup-k8s-vim.sh' adding 'tacker/tests/functional/tools/test-setup-mgmt.sh' adding 'tacker/tests/unit/__init__.py' adding 'tacker/tests/unit/base.py' adding 'tacker/tests/unit/database_stubs.py' adding 'tacker/tests/unit/extension_stubs.py' adding 'tacker/tests/unit/fake_auth.py' adding 'tacker/tests/unit/fake_request.py' adding 'tacker/tests/unit/fixtures.py' adding 'tacker/tests/unit/test_auth.py' adding 'tacker/tests/unit/test_context.py' adding 'tacker/tests/unit/test_policy.py' adding 'tacker/tests/unit/test_privsep.py' adding 'tacker/tests/unit/test_wsgi.py' adding 'tacker/tests/unit/testlib_api.py' adding 'tacker/tests/unit/agent/__init__.py' adding 'tacker/tests/unit/agent/linux/__init__.py' adding 'tacker/tests/unit/agent/linux/test_utils.py' adding 'tacker/tests/unit/api/__init__.py' adding 'tacker/tests/unit/api/test_api_common.py' adding 'tacker/tests/unit/api/test_extensions.py' adding 'tacker/tests/unit/api/v1/__init__.py' adding 'tacker/tests/unit/api/v1/fakes.py' adding 'tacker/tests/unit/api/v1/test_attributes.py' adding 'tacker/tests/unit/api/v1/test_resource.py' adding 'tacker/tests/unit/api/v1/test_resource_helper.py' adding 'tacker/tests/unit/api/v1/test_router.py' adding 'tacker/tests/unit/api/v1/test_vim.py' adding 'tacker/tests/unit/api/v1/test_vnf_instance.py' adding 'tacker/tests/unit/api/v2/__init__.py' adding 'tacker/tests/unit/api/v2/test_api_v2.py' adding 'tacker/tests/unit/cmd/__init__.py' adding 'tacker/tests/unit/cmd/test_status.py' adding 'tacker/tests/unit/common/__init__.py' adding 'tacker/tests/unit/common/fakes.py' adding 'tacker/tests/unit/common/test_config.py' adding 'tacker/tests/unit/common/test_crypt_utils.py' adding 'tacker/tests/unit/common/test_csar_utils.py' adding 'tacker/tests/unit/common/test_ext_oauth2_auth.py' adding 'tacker/tests/unit/common/test_log.py' adding 'tacker/tests/unit/common/test_oidc_utils.py' adding 'tacker/tests/unit/common/test_store.py' adding 'tacker/tests/unit/common/test_utils.py' adding 'tacker/tests/unit/common/container/__init__.py' adding 'tacker/tests/unit/common/container/test_kubernetes_utils.py' adding 'tacker/tests/unit/common/sample_keys/jwt_private.key' adding 'tacker/tests/unit/conductor/__init__.py' adding 'tacker/tests/unit/conductor/fakes.py' adding 'tacker/tests/unit/conductor/test_conductor_server.py' adding 'tacker/tests/unit/conductor/conductorrpc/__init__.py' adding 'tacker/tests/unit/conductor/conductorrpc/test_vnf_lcm_rpc.py' adding 'tacker/tests/unit/conductor/conductorrpc/test_vnf_pkgm_rpc.py' adding 'tacker/tests/unit/db/__init__.py' adding 'tacker/tests/unit/db/base.py' adding 'tacker/tests/unit/db/test_db_migration.py' adding 'tacker/tests/unit/db/test_db_migration_to_v2.py' adding 'tacker/tests/unit/db/test_db_purge_delete.py' adding 'tacker/tests/unit/db/test_vnf_artifact.py' adding 'tacker/tests/unit/db/test_vnf_instance.py' adding 'tacker/tests/unit/db/test_vnf_package.py' adding 'tacker/tests/unit/db/test_vnf_package_vnfd.py' adding 'tacker/tests/unit/db/test_vnf_resource.py' adding 'tacker/tests/unit/db/utils.py' adding 'tacker/tests/unit/db/common_services/__init__.py' adding 'tacker/tests/unit/db/common_services/test_common_services_db_plugin.py' adding 'tacker/tests/unit/extensions/__init__.py' adding 'tacker/tests/unit/extensions/extendedattribute.py' adding 'tacker/tests/unit/extensions/extensionattribute.py' adding 'tacker/tests/unit/extensions/foxinsocks.py' adding 'tacker/tests/unit/extensions/test_common_services.py' adding 'tacker/tests/unit/extensions/test_extension_extended_attribute.py' adding 'tacker/tests/unit/extensions/v2attributes.py' adding 'tacker/tests/unit/glance_store/__init__.py' adding 'tacker/tests/unit/glance_store/test_store.py' adding 'tacker/tests/unit/keymgr/__init__.py' adding 'tacker/tests/unit/keymgr/test_barbican_key_manager.py' adding 'tacker/tests/unit/nfvo/__init__.py' adding 'tacker/tests/unit/nfvo/test_nfvo_plugin.py' adding 'tacker/tests/unit/nfvo/drivers/__init__.py' adding 'tacker/tests/unit/nfvo/drivers/vim/__init__.py' adding 'tacker/tests/unit/nfvo/drivers/vim/test_kubernetes_driver.py' adding 'tacker/tests/unit/nfvo/drivers/vim/test_openstack_driver.py' adding 'tacker/tests/unit/objects/__init__.py' adding 'tacker/tests/unit/objects/fakes.py' adding 'tacker/tests/unit/objects/test_change_ext_conn_req.py' adding 'tacker/tests/unit/objects/test_fields.py' adding 'tacker/tests/unit/objects/test_grant.py' adding 'tacker/tests/unit/objects/test_instantiate_vnf_req.py' adding 'tacker/tests/unit/objects/test_terminate_vnf_request.py' adding 'tacker/tests/unit/objects/test_vim_connection.py' adding 'tacker/tests/unit/objects/test_vnf_deployment_flavour.py' adding 'tacker/tests/unit/objects/test_vnf_instance.py' adding 'tacker/tests/unit/objects/test_vnf_instantiated_info.py' adding 'tacker/tests/unit/objects/test_vnf_lcm_op_occs.py' adding 'tacker/tests/unit/objects/test_vnf_lcm_subscriptions.py' adding 'tacker/tests/unit/objects/test_vnf_package.py' adding 'tacker/tests/unit/objects/test_vnf_package_vnfd.py' adding 'tacker/tests/unit/objects/test_vnf_resource.py' adding 'tacker/tests/unit/objects/test_vnf_software_images.py' adding 'tacker/tests/unit/objects/test_vnfd.py' adding 'tacker/tests/unit/objects/test_vnfd_attribute.py' adding 'tacker/tests/unit/policies/__init__.py' adding 'tacker/tests/unit/policies/base.py' adding 'tacker/tests/unit/policies/test_vnf_lcm.py' adding 'tacker/tests/unit/policies/test_vnf_package.py' adding 'tacker/tests/unit/sol_refactored/__init__.py' adding 'tacker/tests/unit/sol_refactored/api/__init__.py' adding 'tacker/tests/unit/sol_refactored/api/test_api_version.py' adding 'tacker/tests/unit/sol_refactored/api/test_validator.py' adding 'tacker/tests/unit/sol_refactored/api/test_wsgi.py' adding 'tacker/tests/unit/sol_refactored/common/__init__.py' adding 'tacker/tests/unit/sol_refactored/common/fakes_for_fm.py' adding 'tacker/tests/unit/sol_refactored/common/test_common_script_utils.py' adding 'tacker/tests/unit/sol_refactored/common/test_coord_client.py' adding 'tacker/tests/unit/sol_refactored/common/test_coordinate.py' adding 'tacker/tests/unit/sol_refactored/common/test_fm_alarm_utils.py' adding 'tacker/tests/unit/sol_refactored/common/test_fm_subscription_utils.py' adding 'tacker/tests/unit/sol_refactored/common/test_lcm_op_occ_utils.py' adding 'tacker/tests/unit/sol_refactored/common/test_oidc_utils.py' adding 'tacker/tests/unit/sol_refactored/common/test_pm_job_utils.py' adding 'tacker/tests/unit/sol_refactored/common/test_pm_threshold_utils.py' adding 'tacker/tests/unit/sol_refactored/common/test_prometheus_plugin.py' adding 'tacker/tests/unit/sol_refactored/common/test_server_notification.py' adding 'tacker/tests/unit/sol_refactored/common/test_subscription_utils.py' adding 'tacker/tests/unit/sol_refactored/common/test_vim_utils.py' adding 'tacker/tests/unit/sol_refactored/common/test_vnf_instance_utils.py' adding 'tacker/tests/unit/sol_refactored/common/test_vnfd_utils.py' adding 'tacker/tests/unit/sol_refactored/conductor/__init__.py' adding 'tacker/tests/unit/sol_refactored/conductor/test_conductor_v2.py' adding 'tacker/tests/unit/sol_refactored/conductor/test_prometheus_plugin.py' adding 'tacker/tests/unit/sol_refactored/conductor/test_server_notification.py' adding 'tacker/tests/unit/sol_refactored/conductor/test_vnffm_driver_v1.py' adding 'tacker/tests/unit/sol_refactored/conductor/test_vnflcm_driver_v2.py' adding 'tacker/tests/unit/sol_refactored/conductor/test_vnfpm_driver_v2.py' adding 'tacker/tests/unit/sol_refactored/controller/__init__.py' adding 'tacker/tests/unit/sol_refactored/controller/test_prometheus_plugin.py' adding 'tacker/tests/unit/sol_refactored/controller/test_server_notification.py' adding 'tacker/tests/unit/sol_refactored/controller/test_vnffm_v1.py' adding 'tacker/tests/unit/sol_refactored/controller/test_vnflcm_v2.py' adding 'tacker/tests/unit/sol_refactored/controller/test_vnflcm_view.py' adding 'tacker/tests/unit/sol_refactored/controller/test_vnfpm_v2.py' adding 'tacker/tests/unit/sol_refactored/controller/test_vnfpm_view.py' adding 'tacker/tests/unit/sol_refactored/infra_drivers/__init__.py' adding 'tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/__init__.py' adding 'tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/fakes.py' adding 'tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/test_helm.py' adding 'tacker/tests/unit/sol_refactored/infra_drivers/kubernetes/test_kubernetes.py' adding 'tacker/tests/unit/sol_refactored/infra_drivers/openstack/__init__.py' adding 'tacker/tests/unit/sol_refactored/infra_drivers/openstack/test_openstack.py' adding 'tacker/tests/unit/sol_refactored/infra_drivers/openstack/test_userdata_default.py' adding 'tacker/tests/unit/sol_refactored/infra_drivers/terraform/__init__.py' adding 'tacker/tests/unit/sol_refactored/infra_drivers/terraform/test_terraform.py' adding 'tacker/tests/unit/sol_refactored/mgmt_drivers/__init__.py' adding 'tacker/tests/unit/sol_refactored/mgmt_drivers/fake_configmap.yaml' adding 'tacker/tests/unit/sol_refactored/mgmt_drivers/fakes.py' adding 'tacker/tests/unit/sol_refactored/mgmt_drivers/test_container_update_mgmt.py' adding 'tacker/tests/unit/sol_refactored/mgmt_drivers/test_server_notification.py' adding 'tacker/tests/unit/sol_refactored/nfvo/__init__.py' adding 'tacker/tests/unit/sol_refactored/nfvo/test_local_nfvo.py' adding 'tacker/tests/unit/sol_refactored/nfvo/test_nfvo_client.py' adding 'tacker/tests/unit/sol_refactored/objects/__init__.py' adding 'tacker/tests/unit/sol_refactored/objects/test_base.py' adding 'tacker/tests/unit/sol_refactored/objects/test_fm_subscription.py' adding 'tacker/tests/unit/sol_refactored/objects/test_grant.py' adding 'tacker/tests/unit/sol_refactored/objects/test_lccn_subscription_v2.py' adding 'tacker/tests/unit/sol_refactored/objects/test_pm_job_v2.py' adding 'tacker/tests/unit/sol_refactored/objects/test_threshold_v2.py' adding 'tacker/tests/unit/sol_refactored/objects/test_vnf_instance_v2.py' adding 'tacker/tests/unit/sol_refactored/objects/test_vnf_lcm_op_occ_v2.py' adding 'tacker/tests/unit/tests/__init__.py' adding 'tacker/tests/unit/tests/test_post_mortem_debug.py' adding 'tacker/tests/unit/vnflcm/__init__.py' adding 'tacker/tests/unit/vnflcm/fakes.py' adding 'tacker/tests/unit/vnflcm/test_controller.py' adding 'tacker/tests/unit/vnflcm/test_load_vnf_interfaces.py' adding 'tacker/tests/unit/vnflcm/test_sync_resource.py' adding 'tacker/tests/unit/vnflcm/test_utils.py' adding 'tacker/tests/unit/vnflcm/test_vnflcm_driver.py' adding 'tacker/tests/unit/vnflcm/vnflcm_driver/__init__.py' adding 'tacker/tests/unit/vnfm/__init__.py' adding 'tacker/tests/unit/vnfm/test_nfvo_client.py' adding 'tacker/tests/unit/vnfm/test_plugin.py' adding 'tacker/tests/unit/vnfm/test_vim_client.py' adding 'tacker/tests/unit/vnfm/infra_drivers/__init__.py' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/__init__.py' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/fakes.py' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver.py' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver_helm.py' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_translate_outputs.py' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_utils.py' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/api-service.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/bindings.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/cluster-role-binding.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/cluster-role.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/config-map.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/controller-revision.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/daemon-set.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/deployment.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/horizontal-pod-autoscaler.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/job.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/lease.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/limit-range.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/local-subject-access-review.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/namespace.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/network-policy.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/node.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/persistent-volume-claim.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/persistent-volume.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/pod-template.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/pod.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/priority-class.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/replica-set.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/resource-quota.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/role-bindings.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/role.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/secret.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/self-subject-access-review.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/self-subject-rule-review.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/service-account.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/service.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/stateful-set.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/storage-class.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/subject-access-review.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/token-review.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/kubernetes/kubernetes_api_resource/volume-attachment.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/__init__.py' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/test_etsi_translate_template.py' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/test_openstack.py' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/test_openstack_driver.py' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/test_update_template.py' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_grant.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_initial.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_nest_grant.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/hot_scale_nest_initial.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/etsi_nfv_sol001_common_types.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/etsi_nfv_sol001_vnfd_types.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_parser_error.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_translator_error.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_params_error.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_scaling.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_scaling_invalid_inst_req.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_generate_hot_from_tosca_with_substitution_mappings_error.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_params_error.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_vnfd.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/tosca_vnfd_group_member.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/hot_generate_hot_from_tosca.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling/hot_generate_hot_from_tosca_with_scaling.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/data/etsi_nfv/hot/scaling/worker_instance.hot.yaml' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/__init__.py' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/client.py' adding 'tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/fixture_data_utils.py' adding 'tacker/tests/unit/vnfm/lcm_user_data/__init__.py' adding 'tacker/tests/unit/vnfm/lcm_user_data/utils/__init__.py' adding 'tacker/tests/unit/vnfm/lcm_user_data/utils/test_utils.py' adding 'tacker/tests/unit/vnfm/mgmt_drivers/__init__.py' adding 'tacker/tests/unit/vnfm/mgmt_drivers/fakes.py' adding 'tacker/tests/unit/vnfm/mgmt_drivers/test_container_update_mgmt.py' adding 'tacker/tests/unit/vnfpkgm/__init__.py' adding 'tacker/tests/unit/vnfpkgm/fakes.py' adding 'tacker/tests/unit/vnfpkgm/test_controller.py' adding 'tacker/tests/var/ca.crt' adding 'tacker/tests/var/certandkey.pem' adding 'tacker/tests/var/certificate.crt' adding 'tacker/tests/var/privatekey.key' adding 'tacker/tosca/__init__.py' adding 'tacker/tosca/utils.py' adding 'tacker/vnflcm/__init__.py' adding 'tacker/vnflcm/abstract_driver.py' adding 'tacker/vnflcm/utils.py' adding 'tacker/vnflcm/vnflcm_driver.py' adding 'tacker/vnfm/__init__.py' adding 'tacker/vnfm/keystone.py' adding 'tacker/vnfm/nfvo_client.py' adding 'tacker/vnfm/plugin.py' adding 'tacker/vnfm/vim_client.py' adding 'tacker/vnfm/infra_drivers/__init__.py' adding 'tacker/vnfm/infra_drivers/abstract_driver.py' adding 'tacker/vnfm/infra_drivers/noop.py' adding 'tacker/vnfm/infra_drivers/scale_driver.py' adding 'tacker/vnfm/infra_drivers/kubernetes/__init__.py' adding 'tacker/vnfm/infra_drivers/kubernetes/kubernetes_driver.py' adding 'tacker/vnfm/infra_drivers/kubernetes/utils.py' adding 'tacker/vnfm/infra_drivers/kubernetes/helm/__init__.py' adding 'tacker/vnfm/infra_drivers/kubernetes/helm/helm_client.py' adding 'tacker/vnfm/infra_drivers/kubernetes/k8s/__init__.py' adding 'tacker/vnfm/infra_drivers/kubernetes/k8s/translate_outputs.py' adding 'tacker/vnfm/infra_drivers/openstack/__init__.py' adding 'tacker/vnfm/infra_drivers/openstack/constants.py' adding 'tacker/vnfm/infra_drivers/openstack/glance_client.py' adding 'tacker/vnfm/infra_drivers/openstack/heat_client.py' adding 'tacker/vnfm/infra_drivers/openstack/openstack.py' adding 'tacker/vnfm/infra_drivers/openstack/translate_template.py' adding 'tacker/vnfm/infra_drivers/openstack/update_template.py' adding 'tacker/vnfm/lcm_user_data/__init__.py' adding 'tacker/vnfm/lcm_user_data/abstract_user_data.py' adding 'tacker/vnfm/lcm_user_data/constants.py' adding 'tacker/vnfm/lcm_user_data/utils.py' adding 'tacker/vnfm/mgmt_drivers/__init__.py' adding 'tacker/vnfm/mgmt_drivers/constants.py' adding 'tacker/vnfm/mgmt_drivers/vnflcm_abstract_driver.py' adding 'tacker/vnfm/mgmt_drivers/vnflcm_noop.py' adding 'tacker-11.1.0.dev38.data/data/etc/init.d/tacker-server' adding 'tacker-11.1.0.dev38.data/data/etc/rootwrap.d/tacker.filters' adding 'tacker-11.1.0.dev38.data/data/etc/systemd/system/tacker-conductor.service' adding 'tacker-11.1.0.dev38.data/data/etc/systemd/system/tacker.service' adding 'tacker-11.1.0.dev38.data/data/etc/tacker/api-paste.ini' adding 'tacker-11.1.0.dev38.data/data/etc/tacker/prometheus-plugin.yaml' adding 'tacker-11.1.0.dev38.data/data/etc/tacker/rootwrap.conf' adding 'tacker-11.1.0.dev38.dist-info/AUTHORS' adding 'tacker-11.1.0.dev38.dist-info/LICENSE' adding 'tacker-11.1.0.dev38.dist-info/METADATA' adding 'tacker-11.1.0.dev38.dist-info/WHEEL' adding 'tacker-11.1.0.dev38.dist-info/entry_points.txt' adding 'tacker-11.1.0.dev38.dist-info/pbr.json' adding 'tacker-11.1.0.dev38.dist-info/top_level.txt' adding 'tacker-11.1.0.dev38.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for tacker (pyproject.toml): finished with status 'done' Created wheel for tacker: filename=tacker-11.1.0.dev38-py3-none-any.whl size=1709977 sha256=1b9411305a02f5ba8f86111fb6d71333a1b8e715979749e099ffa26f6203c069 Stored in directory: /builddir/.cache/pip/wheels/27/fb/21/110ef007b1d36feb0780cfe7bf15e95445ec32e4dc5cc76a0a Successfully built tacker + TOX_TESTENV_PASSENV='*' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + PATH=/builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e docs Running Sphinx v3.4.3 /usr/lib/python3.9/site-packages/requests/__init__.py:86: RequestsDependencyWarning: Unable to find acceptable character detection dependency (chardet or charset_normalizer). warnings.warn( loading stevedore.sphinxext [openstackdocstheme] version: 3.0.0 [openstackdocstheme] connecting html-page-context event handler making output directory... done Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.auth.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.context.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.manager.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.policy.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.service.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.version.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.wsgi.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.agent.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.agent.linux.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.agent.linux.utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.api_common.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.extensions.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.versions.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.common.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.common.attribute_filter.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.schemas.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.schemas.vnf_lcm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.schemas.vnf_packages.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.v1.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.v1.attributes.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.v1.base.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.v1.resource.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.v1.resource_helper.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.v1.router.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.validation.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.validation.parameter_types.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.validation.validators.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.views.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.views.versions.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.views.vnf_lcm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.views.vnf_lcm_op_occs.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.views.vnf_packages.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.views.vnf_subscriptions.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.vnflcm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.vnflcm.v1.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.vnflcm.v1.controller.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.vnflcm.v1.router.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.vnflcm.v1.sync_resource.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.vnfpkgm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.vnfpkgm.v1.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.vnfpkgm.v1.controller.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.api.vnfpkgm.v1.router.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.cmd.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.cmd.status.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.cmd.eventlet.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.cmd.eventlet.conductor.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.cmd.eventlet.tacker_server.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.clients.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.cmd_executer.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.config.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.constants.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.coordination.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.crypt_utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.csar_utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.driver_manager.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.eventlet_utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.exceptions.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.ext_oauth2_auth.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.log.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.oidc_utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.rpc.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.safe_utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.test_lib.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.topics.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.container.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.common.container.kubernetes_utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conductor.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conductor.conductor_server.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conductor.conductorrpc.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conductor.conductorrpc.vnf_lcm_rpc.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conductor.conductorrpc.vnf_pkgm_rpc.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conf.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conf.conductor.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conf.coordination.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conf.opts.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conf.policy.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conf.vnf_lcm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.conf.vnf_package.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.api.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.db_base.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.model_base.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.models_v1.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.sqlalchemyutils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.common_services.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.common_services.common_services_db.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.common_services.common_services_db_plugin.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.db_sqlalchemy.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.db_sqlalchemy.api.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.db_sqlalchemy.models.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.migration.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.migration.cli.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.migration.migrate_to_v2.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.migration.purge_tables.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.migration.models.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.migration.models.head.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.nfvo.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.nfvo.nfvo_db.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.nfvo.nfvo_db_plugin.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.vnfm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.db.vnfm.vnfm_db.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.extensions.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.extensions.common_services.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.extensions.nfvo.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.extensions.vnflcm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.extensions.vnfm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.glance_store.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.glance_store.store.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.keymgr.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.keymgr.barbican_key_manager.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.keymgr.exception.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.keymgr.key_manager.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.nfvo.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.nfvo.nfvo_plugin.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.nfvo.drivers.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.nfvo.drivers.vim.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.nfvo.drivers.vim.abstract_vim_driver.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.nfvo.drivers.vim.kubernetes_driver.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.nfvo.drivers.vim.openstack_driver.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.base.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.cancel_mode.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.change_ext_conn_req.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.common.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.fields.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.grant.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.grant_request.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.heal_vnf_request.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.instantiate_vnf_req.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.scale_vnf_request.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.terminate_vnf_req.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vim_connection.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnf.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnf_artifact.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnf_deployment_flavour.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnf_instance.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnf_instantiated_info.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnf_lcm_op_occs.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnf_lcm_subscriptions.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnf_package.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnf_package_vnfd.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnf_resources.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnf_software_image.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnfd.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.objects.vnfd_attribute.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.plugins.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.plugins.common.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.plugins.common.constants.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.plugins.common_services.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.plugins.common_services.common_services_plugin.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.policies.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.policies.base.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.policies.vnf_lcm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.policies.vnf_package.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.privileged.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.privileged.linux_cmd.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.services.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.services.service_base.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.tosca.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.tosca.utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnflcm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnflcm.abstract_driver.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnflcm.utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnflcm.vnflcm_driver.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.keystone.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.nfvo_client.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.plugin.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.vim_client.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.abstract_driver.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.noop.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.scale_driver.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.kubernetes.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.kubernetes.kubernetes_driver.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.kubernetes.utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.kubernetes.helm.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.kubernetes.helm.helm_client.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.kubernetes.k8s.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.kubernetes.k8s.translate_outputs.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.openstack.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.openstack.constants.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.openstack.glance_client.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.openstack.heat_client.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.openstack.openstack.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.openstack.translate_template.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.infra_drivers.openstack.update_template.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.lcm_user_data.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.lcm_user_data.abstract_user_data.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.lcm_user_data.constants.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.lcm_user_data.utils.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.mgmt_drivers.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.mgmt_drivers.constants.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.mgmt_drivers.vnflcm_abstract_driver.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/tacker.vnfm.mgmt_drivers.vnflcm_noop.rst. Creating file /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/contributor/api/modules.rst. [openstackdocstheme] using theme from /usr/lib/python3.9/site-packages/openstackdocstheme/theme [openstackdocstheme] no /builddir/build/BUILD/tacker-11.1.0.dev38/.gitreview found [oslo_config.sphinxconfiggen] reading config generator instructions from /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/../../etc/config-generator.conf [oslo_config.sphinxconfiggen] writing sample configuration to /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/_static/tacker.conf.sample ERROR:stevedore.extension:Could not load 'cinder': No module named 'retrying' ERROR:stevedore.extension:Could not load 'glance.store.cinder.Store': No module named 'retrying' WARNING:stevedore.named:Could not load oslo.service.periodic_tasks ERROR:stevedore.extension:Could not load 'cinder': No module named 'retrying' ERROR:stevedore.extension:Could not load 'glance.store.cinder.Store': No module named 'retrying' [oslo_policy.sphinxpolicygen] reading config generator instructions from /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/../../etc/tacker-policy-generator.conf [oslo_policy.sphinxpolicygen] writing sample policy to /builddir/build/BUILD/tacker-11.1.0.dev38/doc/source/_static/tacker.policy.yaml.sample building [mo]: targets for 0 po files that are out of date building [html]: targets for 95 source files that are out of date updating environment: [new config] 295 added, 0 changed, 0 removed reading sources... [ 0%] admin/db_migration_tool_usage_guide reading sources... [ 0%] admin/external_oauth2_usage_guide reading sources... [ 1%] admin/index reading sources... [ 1%] admin/kubernetes_openid_token_auth_usage_guide reading sources... [ 1%] admin/oauth2_mtls_usage_guide reading sources... [ 2%] admin/oauth2_usage_guide reading sources... [ 2%] cli/cli-etsi-vnffm reading sources... [ 2%] cli/cli-etsi-vnflcm reading sources... [ 3%] cli/cli-etsi-vnfpkgm reading sources... [ 3%] cli/cli-etsi-vnfpm reading sources... [ 3%] cli/cli-legacy-vim reading sources... [ 4%] cli/index reading sources... [ 4%] cli/tacker-status reading sources... [ 4%] cli/v2/vnflcm reading sources... [ 5%] cli/vnflcm-index reading sources... [ 5%] configuration/api-paste.ini reading sources... [ 5%] configuration/config loading config file etc/config-generator.conf WARNING:stevedore.named:Could not load oslo.service.periodic_tasks ERROR:stevedore.extension:Could not load 'cinder': No module named 'retrying' ERROR:stevedore.extension:Could not load 'glance.store.cinder.Store': No module named 'retrying' reading sources... [ 6%] configuration/enhanced_policy reading sources... [ 6%] configuration/index reading sources... [ 6%] configuration/policy reading sources... [ 7%] configuration/policy-concepts reading sources... [ 7%] configuration/sample_config reading sources... [ 7%] configuration/sample_policy reading sources... [ 8%] contributor/api/modules reading sources... [ 8%] contributor/api/tacker reading sources... [ 8%] contributor/api/tacker.agent reading sources... [ 9%] contributor/api/tacker.agent.linux reading sources... [ 9%] contributor/api/tacker.agent.linux.utils reading sources... [ 9%] contributor/api/tacker.api reading sources... [ 10%] contributor/api/tacker.api.api_common reading sources... [ 10%] contributor/api/tacker.api.common reading sources... [ 10%] contributor/api/tacker.api.common.attribute_filter reading sources... [ 11%] contributor/api/tacker.api.extensions reading sources... [ 11%] contributor/api/tacker.api.schemas reading sources... [ 11%] contributor/api/tacker.api.schemas.vnf_lcm reading sources... [ 12%] contributor/api/tacker.api.schemas.vnf_packages reading sources... [ 12%] contributor/api/tacker.api.v1 reading sources... [ 12%] contributor/api/tacker.api.v1.attributes reading sources... [ 13%] contributor/api/tacker.api.v1.base reading sources... [ 13%] contributor/api/tacker.api.v1.resource reading sources... [ 13%] contributor/api/tacker.api.v1.resource_helper reading sources... [ 14%] contributor/api/tacker.api.v1.router reading sources... [ 14%] contributor/api/tacker.api.validation reading sources... [ 14%] contributor/api/tacker.api.validation.parameter_types reading sources... [ 15%] contributor/api/tacker.api.validation.validators reading sources... [ 15%] contributor/api/tacker.api.versions reading sources... [ 15%] contributor/api/tacker.api.views reading sources... [ 16%] contributor/api/tacker.api.views.versions reading sources... [ 16%] contributor/api/tacker.api.views.vnf_lcm reading sources... [ 16%] contributor/api/tacker.api.views.vnf_lcm_op_occs reading sources... [ 17%] contributor/api/tacker.api.views.vnf_packages reading sources... [ 17%] contributor/api/tacker.api.views.vnf_subscriptions reading sources... [ 17%] contributor/api/tacker.api.vnflcm reading sources... [ 18%] contributor/api/tacker.api.vnflcm.v1 reading sources... [ 18%] contributor/api/tacker.api.vnflcm.v1.controller reading sources... [ 18%] contributor/api/tacker.api.vnflcm.v1.router reading sources... [ 19%] contributor/api/tacker.api.vnflcm.v1.sync_resource reading sources... [ 19%] contributor/api/tacker.api.vnfpkgm reading sources... [ 20%] contributor/api/tacker.api.vnfpkgm.v1 reading sources... [ 20%] contributor/api/tacker.api.vnfpkgm.v1.controller reading sources... [ 20%] contributor/api/tacker.api.vnfpkgm.v1.router reading sources... [ 21%] contributor/api/tacker.auth reading sources... [ 21%] contributor/api/tacker.cmd reading sources... [ 21%] contributor/api/tacker.cmd.eventlet 1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules. reading sources... [ 22%] contributor/api/tacker.cmd.eventlet.conductor reading sources... [ 22%] contributor/api/tacker.cmd.eventlet.tacker_server reading sources... [ 22%] contributor/api/tacker.cmd.status reading sources... [ 23%] contributor/api/tacker.common reading sources... [ 23%] contributor/api/tacker.common.clients reading sources... [ 23%] contributor/api/tacker.common.cmd_executer reading sources... [ 24%] contributor/api/tacker.common.config reading sources... [ 24%] contributor/api/tacker.common.constants reading sources... [ 24%] contributor/api/tacker.common.container reading sources... [ 25%] contributor/api/tacker.common.container.kubernetes_utils reading sources... [ 25%] contributor/api/tacker.common.coordination reading sources... [ 25%] contributor/api/tacker.common.crypt_utils reading sources... [ 26%] contributor/api/tacker.common.csar_utils reading sources... [ 26%] contributor/api/tacker.common.driver_manager reading sources... [ 26%] contributor/api/tacker.common.eventlet_utils reading sources... [ 27%] contributor/api/tacker.common.exceptions reading sources... [ 27%] contributor/api/tacker.common.ext_oauth2_auth reading sources... [ 27%] contributor/api/tacker.common.log reading sources... [ 28%] contributor/api/tacker.common.oidc_utils reading sources... [ 28%] contributor/api/tacker.common.rpc reading sources... [ 28%] contributor/api/tacker.common.safe_utils reading sources... [ 29%] contributor/api/tacker.common.test_lib reading sources... [ 29%] contributor/api/tacker.common.topics reading sources... [ 29%] contributor/api/tacker.common.utils reading sources... [ 30%] contributor/api/tacker.conductor reading sources... [ 30%] contributor/api/tacker.conductor.conductor_server reading sources... [ 30%] contributor/api/tacker.conductor.conductorrpc reading sources... [ 31%] contributor/api/tacker.conductor.conductorrpc.vnf_lcm_rpc reading sources... [ 31%] contributor/api/tacker.conductor.conductorrpc.vnf_pkgm_rpc reading sources... [ 31%] contributor/api/tacker.conf reading sources... [ 32%] contributor/api/tacker.conf.conductor reading sources... [ 32%] contributor/api/tacker.conf.coordination reading sources... [ 32%] contributor/api/tacker.conf.opts reading sources... [ 33%] contributor/api/tacker.conf.policy reading sources... [ 33%] contributor/api/tacker.conf.vnf_lcm reading sources... [ 33%] contributor/api/tacker.conf.vnf_package reading sources... [ 34%] contributor/api/tacker.context reading sources... [ 34%] contributor/api/tacker.db reading sources... [ 34%] contributor/api/tacker.db.api reading sources... [ 35%] contributor/api/tacker.db.common_services reading sources... [ 35%] contributor/api/tacker.db.common_services.common_services_db reading sources... [ 35%] contributor/api/tacker.db.common_services.common_services_db_plugin reading sources... [ 36%] contributor/api/tacker.db.db_base reading sources... [ 36%] contributor/api/tacker.db.db_sqlalchemy reading sources... [ 36%] contributor/api/tacker.db.db_sqlalchemy.api reading sources... [ 37%] contributor/api/tacker.db.db_sqlalchemy.models reading sources... [ 37%] contributor/api/tacker.db.migration reading sources... [ 37%] contributor/api/tacker.db.migration.cli reading sources... [ 38%] contributor/api/tacker.db.migration.migrate_to_v2 reading sources... [ 38%] contributor/api/tacker.db.migration.models reading sources... [ 38%] contributor/api/tacker.db.migration.models.head reading sources... [ 39%] contributor/api/tacker.db.migration.purge_tables reading sources... [ 39%] contributor/api/tacker.db.model_base reading sources... [ 40%] contributor/api/tacker.db.models_v1 reading sources... [ 40%] contributor/api/tacker.db.nfvo reading sources... [ 40%] contributor/api/tacker.db.nfvo.nfvo_db reading sources... [ 41%] contributor/api/tacker.db.nfvo.nfvo_db_plugin reading sources... [ 41%] contributor/api/tacker.db.sqlalchemyutils reading sources... [ 41%] contributor/api/tacker.db.vnfm reading sources... [ 42%] contributor/api/tacker.db.vnfm.vnfm_db reading sources... [ 42%] contributor/api/tacker.extensions reading sources... [ 42%] contributor/api/tacker.extensions.common_services reading sources... [ 43%] contributor/api/tacker.extensions.nfvo reading sources... [ 43%] contributor/api/tacker.extensions.vnflcm reading sources... [ 43%] contributor/api/tacker.extensions.vnfm reading sources... [ 44%] contributor/api/tacker.glance_store reading sources... [ 44%] contributor/api/tacker.glance_store.store reading sources... [ 44%] contributor/api/tacker.keymgr reading sources... [ 45%] contributor/api/tacker.keymgr.barbican_key_manager reading sources... [ 45%] contributor/api/tacker.keymgr.exception reading sources... [ 45%] contributor/api/tacker.keymgr.key_manager reading sources... [ 46%] contributor/api/tacker.manager reading sources... [ 46%] contributor/api/tacker.nfvo reading sources... [ 46%] contributor/api/tacker.nfvo.drivers reading sources... [ 47%] contributor/api/tacker.nfvo.drivers.vim reading sources... [ 47%] contributor/api/tacker.nfvo.drivers.vim.abstract_vim_driver reading sources... [ 47%] contributor/api/tacker.nfvo.drivers.vim.kubernetes_driver reading sources... [ 48%] contributor/api/tacker.nfvo.drivers.vim.openstack_driver reading sources... [ 48%] contributor/api/tacker.nfvo.nfvo_plugin reading sources... [ 48%] contributor/api/tacker.objects reading sources... [ 49%] contributor/api/tacker.objects.base reading sources... [ 49%] contributor/api/tacker.objects.cancel_mode reading sources... [ 49%] contributor/api/tacker.objects.change_ext_conn_req reading sources... [ 50%] contributor/api/tacker.objects.common reading sources... [ 50%] contributor/api/tacker.objects.fields reading sources... [ 50%] contributor/api/tacker.objects.grant reading sources... [ 51%] contributor/api/tacker.objects.grant_request reading sources... [ 51%] contributor/api/tacker.objects.heal_vnf_request reading sources... [ 51%] contributor/api/tacker.objects.instantiate_vnf_req reading sources... [ 52%] contributor/api/tacker.objects.scale_vnf_request reading sources... [ 52%] contributor/api/tacker.objects.terminate_vnf_req reading sources... [ 52%] contributor/api/tacker.objects.vim_connection reading sources... [ 53%] contributor/api/tacker.objects.vnf reading sources... [ 53%] contributor/api/tacker.objects.vnf_artifact reading sources... [ 53%] contributor/api/tacker.objects.vnf_deployment_flavour reading sources... [ 54%] contributor/api/tacker.objects.vnf_instance reading sources... [ 54%] contributor/api/tacker.objects.vnf_instantiated_info reading sources... [ 54%] contributor/api/tacker.objects.vnf_lcm_op_occs reading sources... [ 55%] contributor/api/tacker.objects.vnf_lcm_subscriptions reading sources... [ 55%] contributor/api/tacker.objects.vnf_package reading sources... [ 55%] contributor/api/tacker.objects.vnf_package_vnfd reading sources... [ 56%] contributor/api/tacker.objects.vnf_resources reading sources... [ 56%] contributor/api/tacker.objects.vnf_software_image reading sources... [ 56%] contributor/api/tacker.objects.vnfd reading sources... [ 57%] contributor/api/tacker.objects.vnfd_attribute reading sources... [ 57%] contributor/api/tacker.plugins reading sources... [ 57%] contributor/api/tacker.plugins.common reading sources... [ 58%] contributor/api/tacker.plugins.common.constants reading sources... [ 58%] contributor/api/tacker.plugins.common_services reading sources... [ 58%] contributor/api/tacker.plugins.common_services.common_services_plugin reading sources... [ 59%] contributor/api/tacker.policies reading sources... [ 59%] contributor/api/tacker.policies.base reading sources... [ 60%] contributor/api/tacker.policies.vnf_lcm reading sources... [ 60%] contributor/api/tacker.policies.vnf_package reading sources... [ 60%] contributor/api/tacker.policy reading sources... [ 61%] contributor/api/tacker.privileged reading sources... [ 61%] contributor/api/tacker.privileged.linux_cmd reading sources... [ 61%] contributor/api/tacker.service reading sources... [ 62%] contributor/api/tacker.services reading sources... [ 62%] contributor/api/tacker.services.service_base reading sources... [ 62%] contributor/api/tacker.tosca reading sources... [ 63%] contributor/api/tacker.tosca.utils reading sources... [ 63%] contributor/api/tacker.version reading sources... [ 63%] contributor/api/tacker.vnflcm reading sources... [ 64%] contributor/api/tacker.vnflcm.abstract_driver reading sources... [ 64%] contributor/api/tacker.vnflcm.utils reading sources... [ 64%] contributor/api/tacker.vnflcm.vnflcm_driver reading sources... [ 65%] contributor/api/tacker.vnfm reading sources... [ 65%] contributor/api/tacker.vnfm.infra_drivers reading sources... [ 65%] contributor/api/tacker.vnfm.infra_drivers.abstract_driver reading sources... [ 66%] contributor/api/tacker.vnfm.infra_drivers.kubernetes reading sources... [ 66%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.helm reading sources... [ 66%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.helm.helm_client reading sources... [ 67%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.k8s reading sources... [ 67%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.k8s.translate_outputs reading sources... [ 67%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.kubernetes_driver reading sources... [ 68%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.utils reading sources... [ 68%] contributor/api/tacker.vnfm.infra_drivers.noop reading sources... [ 68%] contributor/api/tacker.vnfm.infra_drivers.openstack reading sources... [ 69%] contributor/api/tacker.vnfm.infra_drivers.openstack.constants reading sources... [ 69%] contributor/api/tacker.vnfm.infra_drivers.openstack.glance_client reading sources... [ 69%] contributor/api/tacker.vnfm.infra_drivers.openstack.heat_client reading sources... [ 70%] contributor/api/tacker.vnfm.infra_drivers.openstack.openstack reading sources... [ 70%] contributor/api/tacker.vnfm.infra_drivers.openstack.translate_template reading sources... [ 70%] contributor/api/tacker.vnfm.infra_drivers.openstack.update_template reading sources... [ 71%] contributor/api/tacker.vnfm.infra_drivers.scale_driver reading sources... [ 71%] contributor/api/tacker.vnfm.keystone reading sources... [ 71%] contributor/api/tacker.vnfm.lcm_user_data reading sources... [ 72%] contributor/api/tacker.vnfm.lcm_user_data.abstract_user_data reading sources... [ 72%] contributor/api/tacker.vnfm.lcm_user_data.constants reading sources... [ 72%] contributor/api/tacker.vnfm.lcm_user_data.utils reading sources... [ 73%] contributor/api/tacker.vnfm.mgmt_drivers reading sources... [ 73%] contributor/api/tacker.vnfm.mgmt_drivers.constants reading sources... [ 73%] contributor/api/tacker.vnfm.mgmt_drivers.vnflcm_abstract_driver reading sources... [ 74%] contributor/api/tacker.vnfm.mgmt_drivers.vnflcm_noop reading sources... [ 74%] contributor/api/tacker.vnfm.nfvo_client reading sources... [ 74%] contributor/api/tacker.vnfm.plugin reading sources... [ 75%] contributor/api/tacker.vnfm.vim_client reading sources... [ 75%] contributor/api/tacker.wsgi reading sources... [ 75%] contributor/api_extensions reading sources... [ 76%] contributor/api_layer reading sources... [ 76%] contributor/contributing reading sources... [ 76%] contributor/dashboards reading sources... [ 77%] contributor/development.environment reading sources... [ 77%] contributor/index reading sources... [ 77%] contributor/tacker_compliance_test reading sources... [ 78%] contributor/tacker_functional_test reading sources... [ 78%] contributor/vagrant_devstack reading sources... [ 78%] index reading sources... [ 79%] install/devstack reading sources... [ 79%] install/index reading sources... [ 80%] install/kolla reading sources... [ 80%] install/kubernetes_vim_installation reading sources... [ 80%] install/manual_installation reading sources... [ 81%] install/openstack_helm reading sources... [ 81%] reference/index reading sources... [ 81%] reference/vim_config reading sources... [ 82%] user/architecture reading sources... [ 82%] user/encrypt_vim_auth_with_barbican reading sources... [ 82%] user/etsi_cnf_healing reading sources... [ 83%] user/etsi_cnf_scaling reading sources... [ 83%] user/etsi_containerized_vnf_usage_guide reading sources... [ 83%] user/etsi_getting_started reading sources... [ 84%] user/etsi_use_case_guide reading sources... [ 84%] user/etsi_vnf_change_external_vnf_connectivity reading sources... [ 84%] user/etsi_vnf_deployment_as_vm_with_tosca reading sources... [ 85%] user/etsi_vnf_deployment_as_vm_with_user_data reading sources... [ 85%] user/etsi_vnf_error_handling reading sources... [ 85%] user/etsi_vnf_healing reading sources... [ 86%] user/etsi_vnf_scaling reading sources... [ 86%] user/etsi_vnf_update reading sources... [ 86%] user/granting_interface reading sources... [ 87%] user/index reading sources... [ 87%] user/introduction reading sources... [ 87%] user/mgmt_driver_deploy_k8s_and_cnf_with_helm reading sources... [ 88%] user/mgmt_driver_deploy_k8s_cir_usage_guide reading sources... [ 88%] user/mgmt_driver_deploy_k8s_kubespary_usage_guide reading sources... [ 88%] user/mgmt_driver_deploy_k8s_pv_usage_guide reading sources... [ 89%] user/mgmt_driver_deploy_k8s_usage_guide reading sources... [ 89%] user/mgmt_driver_for_ansible_driver_usage_guide reading sources... [ 89%] user/mgmt_driver_for_container_update reading sources... [ 90%] user/resources reading sources... [ 90%] user/sample_package reading sources... [ 90%] user/userdata_script reading sources... [ 91%] user/v2/cnf/auto_heal_fm/index reading sources... [ 91%] user/v2/cnf/auto_scale_pm_job/index reading sources... [ 91%] user/v2/cnf/auto_scale_pm_th/index reading sources... [ 92%] user/v2/cnf/chg_vnfpkg/index reading sources... [ 92%] user/v2/cnf/deployment/index reading sources... [ 92%] user/v2/cnf/deployment_using_helm/index reading sources... [ 93%] user/v2/cnf/heal/index reading sources... [ 93%] user/v2/cnf/scale/index reading sources... [ 93%] user/v2/cnf/update reading sources... [ 94%] user/v2/cnf/update_with_mgmt_driver/index reading sources... [ 94%] user/v2/db_sync_error_handling reading sources... [ 94%] user/v2/error_handling reading sources... [ 95%] user/v2/fault_notification reading sources... [ 95%] user/v2/getting_started/index reading sources... [ 95%] user/v2/placement_error_handling reading sources... [ 96%] user/v2/prometheus_plugin reading sources... [ 96%] user/v2/use_case_guide reading sources... [ 96%] user/v2/vnf/chg_ext_conn reading sources... [ 97%] user/v2/vnf/chg_vnfpkg/index reading sources... [ 97%] user/v2/vnf/chg_vnfpkg_with_standard/index reading sources... [ 97%] user/v2/vnf/coordinate_api_client_script reading sources... [ 98%] user/v2/vnf/deployment_with_user_data/index reading sources... [ 98%] user/v2/vnf/heal/index reading sources... [ 98%] user/v2/vnf/scale/index reading sources... [ 99%] user/v2/vnf/update reading sources... [ 99%] user/vnf-package reading sources... [100%] user/vnfd-sol001 looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 0%] admin/db_migration_tool_usage_guide writing output... [ 0%] admin/external_oauth2_usage_guide writing output... [ 1%] admin/index writing output... [ 1%] admin/kubernetes_openid_token_auth_usage_guide writing output... [ 1%] admin/oauth2_mtls_usage_guide writing output... [ 2%] admin/oauth2_usage_guide writing output... [ 2%] cli/cli-etsi-vnffm writing output... [ 2%] cli/cli-etsi-vnflcm writing output... [ 3%] cli/cli-etsi-vnfpkgm writing output... [ 3%] cli/cli-etsi-vnfpm writing output... [ 3%] cli/cli-legacy-vim writing output... [ 4%] cli/index writing output... [ 4%] cli/tacker-status writing output... [ 4%] cli/v2/vnflcm writing output... [ 5%] cli/vnflcm-index writing output... [ 5%] configuration/api-paste.ini writing output... [ 5%] configuration/config writing output... [ 6%] configuration/enhanced_policy writing output... [ 6%] configuration/index writing output... [ 6%] configuration/policy writing output... [ 7%] configuration/policy-concepts writing output... [ 7%] configuration/sample_config writing output... [ 7%] configuration/sample_policy writing output... [ 8%] contributor/api/modules [openstackdocstheme] could not determine last_updated for 'contributor/api/modules' writing output... [ 8%] contributor/api/tacker [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker' writing output... [ 8%] contributor/api/tacker.agent [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.agent' writing output... [ 9%] contributor/api/tacker.agent.linux [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.agent.linux' writing output... [ 9%] contributor/api/tacker.agent.linux.utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.agent.linux.utils' writing output... [ 9%] contributor/api/tacker.api [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api' writing output... [ 10%] contributor/api/tacker.api.api_common [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.api_common' writing output... [ 10%] contributor/api/tacker.api.common [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.common' writing output... [ 10%] contributor/api/tacker.api.common.attribute_filter [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.common.attribute_filter' writing output... [ 11%] contributor/api/tacker.api.extensions [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.extensions' writing output... [ 11%] contributor/api/tacker.api.schemas [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.schemas' writing output... [ 11%] contributor/api/tacker.api.schemas.vnf_lcm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.schemas.vnf_lcm' writing output... [ 12%] contributor/api/tacker.api.schemas.vnf_packages [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.schemas.vnf_packages' writing output... [ 12%] contributor/api/tacker.api.v1 [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.v1' writing output... [ 12%] contributor/api/tacker.api.v1.attributes [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.v1.attributes' writing output... [ 13%] contributor/api/tacker.api.v1.base [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.v1.base' writing output... [ 13%] contributor/api/tacker.api.v1.resource [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.v1.resource' writing output... [ 13%] contributor/api/tacker.api.v1.resource_helper [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.v1.resource_helper' writing output... [ 14%] contributor/api/tacker.api.v1.router [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.v1.router' writing output... [ 14%] contributor/api/tacker.api.validation [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.validation' writing output... [ 14%] contributor/api/tacker.api.validation.parameter_types [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.validation.parameter_types' writing output... [ 15%] contributor/api/tacker.api.validation.validators [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.validation.validators' writing output... [ 15%] contributor/api/tacker.api.versions [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.versions' writing output... [ 15%] contributor/api/tacker.api.views [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.views' writing output... [ 16%] contributor/api/tacker.api.views.versions [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.views.versions' writing output... [ 16%] contributor/api/tacker.api.views.vnf_lcm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.views.vnf_lcm' writing output... [ 16%] contributor/api/tacker.api.views.vnf_lcm_op_occs [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.views.vnf_lcm_op_occs' writing output... [ 17%] contributor/api/tacker.api.views.vnf_packages [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.views.vnf_packages' writing output... [ 17%] contributor/api/tacker.api.views.vnf_subscriptions [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.views.vnf_subscriptions' writing output... [ 17%] contributor/api/tacker.api.vnflcm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.vnflcm' writing output... [ 18%] contributor/api/tacker.api.vnflcm.v1 [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.vnflcm.v1' writing output... [ 18%] contributor/api/tacker.api.vnflcm.v1.controller [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.vnflcm.v1.controller' writing output... [ 18%] contributor/api/tacker.api.vnflcm.v1.router [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.vnflcm.v1.router' writing output... [ 19%] contributor/api/tacker.api.vnflcm.v1.sync_resource [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.vnflcm.v1.sync_resource' writing output... [ 19%] contributor/api/tacker.api.vnfpkgm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.vnfpkgm' writing output... [ 20%] contributor/api/tacker.api.vnfpkgm.v1 [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.vnfpkgm.v1' writing output... [ 20%] contributor/api/tacker.api.vnfpkgm.v1.controller [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.vnfpkgm.v1.controller' writing output... [ 20%] contributor/api/tacker.api.vnfpkgm.v1.router [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.api.vnfpkgm.v1.router' writing output... [ 21%] contributor/api/tacker.auth [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.auth' writing output... [ 21%] contributor/api/tacker.cmd [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.cmd' writing output... [ 21%] contributor/api/tacker.cmd.eventlet [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.cmd.eventlet' writing output... [ 22%] contributor/api/tacker.cmd.eventlet.conductor [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.cmd.eventlet.conductor' writing output... [ 22%] contributor/api/tacker.cmd.eventlet.tacker_server [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.cmd.eventlet.tacker_server' writing output... [ 22%] contributor/api/tacker.cmd.status [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.cmd.status' writing output... [ 23%] contributor/api/tacker.common [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common' writing output... [ 23%] contributor/api/tacker.common.clients [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.clients' writing output... [ 23%] contributor/api/tacker.common.cmd_executer [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.cmd_executer' writing output... [ 24%] contributor/api/tacker.common.config [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.config' writing output... [ 24%] contributor/api/tacker.common.constants [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.constants' writing output... [ 24%] contributor/api/tacker.common.container [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.container' writing output... [ 25%] contributor/api/tacker.common.container.kubernetes_utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.container.kubernetes_utils' writing output... [ 25%] contributor/api/tacker.common.coordination [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.coordination' writing output... [ 25%] contributor/api/tacker.common.crypt_utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.crypt_utils' writing output... [ 26%] contributor/api/tacker.common.csar_utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.csar_utils' writing output... [ 26%] contributor/api/tacker.common.driver_manager [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.driver_manager' writing output... [ 26%] contributor/api/tacker.common.eventlet_utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.eventlet_utils' writing output... [ 27%] contributor/api/tacker.common.exceptions [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.exceptions' writing output... [ 27%] contributor/api/tacker.common.ext_oauth2_auth [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.ext_oauth2_auth' writing output... [ 27%] contributor/api/tacker.common.log [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.log' writing output... [ 28%] contributor/api/tacker.common.oidc_utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.oidc_utils' writing output... [ 28%] contributor/api/tacker.common.rpc [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.rpc' writing output... [ 28%] contributor/api/tacker.common.safe_utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.safe_utils' writing output... [ 29%] contributor/api/tacker.common.test_lib [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.test_lib' writing output... [ 29%] contributor/api/tacker.common.topics [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.topics' writing output... [ 29%] contributor/api/tacker.common.utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.common.utils' writing output... [ 30%] contributor/api/tacker.conductor [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conductor' writing output... [ 30%] contributor/api/tacker.conductor.conductor_server [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conductor.conductor_server' writing output... [ 30%] contributor/api/tacker.conductor.conductorrpc [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conductor.conductorrpc' writing output... [ 31%] contributor/api/tacker.conductor.conductorrpc.vnf_lcm_rpc [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conductor.conductorrpc.vnf_lcm_rpc' writing output... [ 31%] contributor/api/tacker.conductor.conductorrpc.vnf_pkgm_rpc [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conductor.conductorrpc.vnf_pkgm_rpc' writing output... [ 31%] contributor/api/tacker.conf [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conf' writing output... [ 32%] contributor/api/tacker.conf.conductor [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conf.conductor' writing output... [ 32%] contributor/api/tacker.conf.coordination [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conf.coordination' writing output... [ 32%] contributor/api/tacker.conf.opts [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conf.opts' writing output... [ 33%] contributor/api/tacker.conf.policy [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conf.policy' writing output... [ 33%] contributor/api/tacker.conf.vnf_lcm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conf.vnf_lcm' writing output... [ 33%] contributor/api/tacker.conf.vnf_package [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.conf.vnf_package' writing output... [ 34%] contributor/api/tacker.context [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.context' writing output... [ 34%] contributor/api/tacker.db [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db' writing output... [ 34%] contributor/api/tacker.db.api [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.api' writing output... [ 35%] contributor/api/tacker.db.common_services [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.common_services' writing output... [ 35%] contributor/api/tacker.db.common_services.common_services_db [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.common_services.common_services_db' writing output... [ 35%] contributor/api/tacker.db.common_services.common_services_db_plugin [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.common_services.common_services_db_plugin' writing output... [ 36%] contributor/api/tacker.db.db_base [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.db_base' writing output... [ 36%] contributor/api/tacker.db.db_sqlalchemy [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.db_sqlalchemy' writing output... [ 36%] contributor/api/tacker.db.db_sqlalchemy.api [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.db_sqlalchemy.api' writing output... [ 37%] contributor/api/tacker.db.db_sqlalchemy.models [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.db_sqlalchemy.models' writing output... [ 37%] contributor/api/tacker.db.migration [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.migration' writing output... [ 37%] contributor/api/tacker.db.migration.cli [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.migration.cli' writing output... [ 38%] contributor/api/tacker.db.migration.migrate_to_v2 [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.migration.migrate_to_v2' writing output... [ 38%] contributor/api/tacker.db.migration.models [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.migration.models' writing output... [ 38%] contributor/api/tacker.db.migration.models.head [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.migration.models.head' writing output... [ 39%] contributor/api/tacker.db.migration.purge_tables [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.migration.purge_tables' writing output... [ 39%] contributor/api/tacker.db.model_base [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.model_base' writing output... [ 40%] contributor/api/tacker.db.models_v1 [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.models_v1' writing output... [ 40%] contributor/api/tacker.db.nfvo [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.nfvo' writing output... [ 40%] contributor/api/tacker.db.nfvo.nfvo_db [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.nfvo.nfvo_db' writing output... [ 41%] contributor/api/tacker.db.nfvo.nfvo_db_plugin [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.nfvo.nfvo_db_plugin' writing output... [ 41%] contributor/api/tacker.db.sqlalchemyutils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.sqlalchemyutils' writing output... [ 41%] contributor/api/tacker.db.vnfm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.vnfm' writing output... [ 42%] contributor/api/tacker.db.vnfm.vnfm_db [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.db.vnfm.vnfm_db' writing output... [ 42%] contributor/api/tacker.extensions [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.extensions' writing output... [ 42%] contributor/api/tacker.extensions.common_services [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.extensions.common_services' writing output... [ 43%] contributor/api/tacker.extensions.nfvo [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.extensions.nfvo' writing output... [ 43%] contributor/api/tacker.extensions.vnflcm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.extensions.vnflcm' writing output... [ 43%] contributor/api/tacker.extensions.vnfm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.extensions.vnfm' writing output... [ 44%] contributor/api/tacker.glance_store [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.glance_store' writing output... [ 44%] contributor/api/tacker.glance_store.store [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.glance_store.store' writing output... [ 44%] contributor/api/tacker.keymgr [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.keymgr' writing output... [ 45%] contributor/api/tacker.keymgr.barbican_key_manager [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.keymgr.barbican_key_manager' writing output... [ 45%] contributor/api/tacker.keymgr.exception [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.keymgr.exception' writing output... [ 45%] contributor/api/tacker.keymgr.key_manager [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.keymgr.key_manager' writing output... [ 46%] contributor/api/tacker.manager [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.manager' writing output... [ 46%] contributor/api/tacker.nfvo [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.nfvo' writing output... [ 46%] contributor/api/tacker.nfvo.drivers [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.nfvo.drivers' writing output... [ 47%] contributor/api/tacker.nfvo.drivers.vim [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.nfvo.drivers.vim' writing output... [ 47%] contributor/api/tacker.nfvo.drivers.vim.abstract_vim_driver [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.nfvo.drivers.vim.abstract_vim_driver' writing output... [ 47%] contributor/api/tacker.nfvo.drivers.vim.kubernetes_driver [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.nfvo.drivers.vim.kubernetes_driver' writing output... [ 48%] contributor/api/tacker.nfvo.drivers.vim.openstack_driver [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.nfvo.drivers.vim.openstack_driver' writing output... [ 48%] contributor/api/tacker.nfvo.nfvo_plugin [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.nfvo.nfvo_plugin' writing output... [ 48%] contributor/api/tacker.objects [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects' writing output... [ 49%] contributor/api/tacker.objects.base [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.base' writing output... [ 49%] contributor/api/tacker.objects.cancel_mode [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.cancel_mode' writing output... [ 49%] contributor/api/tacker.objects.change_ext_conn_req [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.change_ext_conn_req' writing output... [ 50%] contributor/api/tacker.objects.common [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.common' writing output... [ 50%] contributor/api/tacker.objects.fields [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.fields' writing output... [ 50%] contributor/api/tacker.objects.grant [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.grant' writing output... [ 51%] contributor/api/tacker.objects.grant_request [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.grant_request' writing output... [ 51%] contributor/api/tacker.objects.heal_vnf_request [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.heal_vnf_request' writing output... [ 51%] contributor/api/tacker.objects.instantiate_vnf_req [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.instantiate_vnf_req' writing output... [ 52%] contributor/api/tacker.objects.scale_vnf_request [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.scale_vnf_request' writing output... [ 52%] contributor/api/tacker.objects.terminate_vnf_req [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.terminate_vnf_req' writing output... [ 52%] contributor/api/tacker.objects.vim_connection [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vim_connection' writing output... [ 53%] contributor/api/tacker.objects.vnf [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnf' writing output... [ 53%] contributor/api/tacker.objects.vnf_artifact [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnf_artifact' writing output... [ 53%] contributor/api/tacker.objects.vnf_deployment_flavour [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnf_deployment_flavour' writing output... [ 54%] contributor/api/tacker.objects.vnf_instance [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnf_instance' writing output... [ 54%] contributor/api/tacker.objects.vnf_instantiated_info [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnf_instantiated_info' writing output... [ 54%] contributor/api/tacker.objects.vnf_lcm_op_occs [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnf_lcm_op_occs' writing output... [ 55%] contributor/api/tacker.objects.vnf_lcm_subscriptions [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnf_lcm_subscriptions' writing output... [ 55%] contributor/api/tacker.objects.vnf_package [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnf_package' writing output... [ 55%] contributor/api/tacker.objects.vnf_package_vnfd [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnf_package_vnfd' writing output... [ 56%] contributor/api/tacker.objects.vnf_resources [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnf_resources' writing output... [ 56%] contributor/api/tacker.objects.vnf_software_image [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnf_software_image' writing output... [ 56%] contributor/api/tacker.objects.vnfd [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnfd' writing output... [ 57%] contributor/api/tacker.objects.vnfd_attribute [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.objects.vnfd_attribute' writing output... [ 57%] contributor/api/tacker.plugins [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.plugins' writing output... [ 57%] contributor/api/tacker.plugins.common [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.plugins.common' writing output... [ 58%] contributor/api/tacker.plugins.common.constants [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.plugins.common.constants' writing output... [ 58%] contributor/api/tacker.plugins.common_services [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.plugins.common_services' writing output... [ 58%] contributor/api/tacker.plugins.common_services.common_services_plugin [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.plugins.common_services.common_services_plugin' writing output... [ 59%] contributor/api/tacker.policies [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.policies' writing output... [ 59%] contributor/api/tacker.policies.base [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.policies.base' writing output... [ 60%] contributor/api/tacker.policies.vnf_lcm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.policies.vnf_lcm' writing output... [ 60%] contributor/api/tacker.policies.vnf_package [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.policies.vnf_package' writing output... [ 60%] contributor/api/tacker.policy [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.policy' writing output... [ 61%] contributor/api/tacker.privileged [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.privileged' writing output... [ 61%] contributor/api/tacker.privileged.linux_cmd [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.privileged.linux_cmd' writing output... [ 61%] contributor/api/tacker.service [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.service' writing output... [ 62%] contributor/api/tacker.services [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.services' writing output... [ 62%] contributor/api/tacker.services.service_base [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.services.service_base' writing output... [ 62%] contributor/api/tacker.tosca [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.tosca' writing output... [ 63%] contributor/api/tacker.tosca.utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.tosca.utils' writing output... [ 63%] contributor/api/tacker.version [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.version' writing output... [ 63%] contributor/api/tacker.vnflcm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnflcm' writing output... [ 64%] contributor/api/tacker.vnflcm.abstract_driver [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnflcm.abstract_driver' writing output... [ 64%] contributor/api/tacker.vnflcm.utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnflcm.utils' writing output... [ 64%] contributor/api/tacker.vnflcm.vnflcm_driver [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnflcm.vnflcm_driver' writing output... [ 65%] contributor/api/tacker.vnfm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm' writing output... [ 65%] contributor/api/tacker.vnfm.infra_drivers [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers' writing output... [ 65%] contributor/api/tacker.vnfm.infra_drivers.abstract_driver [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.abstract_driver' writing output... [ 66%] contributor/api/tacker.vnfm.infra_drivers.kubernetes [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.kubernetes' writing output... [ 66%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.helm [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.kubernetes.helm' writing output... [ 66%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.helm.helm_client [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.kubernetes.helm.helm_client' writing output... [ 67%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.k8s [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.kubernetes.k8s' writing output... [ 67%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.k8s.translate_outputs [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.kubernetes.k8s.translate_outputs' writing output... [ 67%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.kubernetes_driver [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.kubernetes.kubernetes_driver' writing output... [ 68%] contributor/api/tacker.vnfm.infra_drivers.kubernetes.utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.kubernetes.utils' writing output... [ 68%] contributor/api/tacker.vnfm.infra_drivers.noop [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.noop' writing output... [ 68%] contributor/api/tacker.vnfm.infra_drivers.openstack [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.openstack' writing output... [ 69%] contributor/api/tacker.vnfm.infra_drivers.openstack.constants [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.openstack.constants' writing output... [ 69%] contributor/api/tacker.vnfm.infra_drivers.openstack.glance_client [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.openstack.glance_client' writing output... [ 69%] contributor/api/tacker.vnfm.infra_drivers.openstack.heat_client [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.openstack.heat_client' writing output... [ 70%] contributor/api/tacker.vnfm.infra_drivers.openstack.openstack [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.openstack.openstack' writing output... [ 70%] contributor/api/tacker.vnfm.infra_drivers.openstack.translate_template [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.openstack.translate_template' writing output... [ 70%] contributor/api/tacker.vnfm.infra_drivers.openstack.update_template [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.openstack.update_template' writing output... [ 71%] contributor/api/tacker.vnfm.infra_drivers.scale_driver [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.infra_drivers.scale_driver' writing output... [ 71%] contributor/api/tacker.vnfm.keystone [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.keystone' writing output... [ 71%] contributor/api/tacker.vnfm.lcm_user_data [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.lcm_user_data' writing output... [ 72%] contributor/api/tacker.vnfm.lcm_user_data.abstract_user_data [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.lcm_user_data.abstract_user_data' writing output... [ 72%] contributor/api/tacker.vnfm.lcm_user_data.constants [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.lcm_user_data.constants' writing output... [ 72%] contributor/api/tacker.vnfm.lcm_user_data.utils [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.lcm_user_data.utils' writing output... [ 73%] contributor/api/tacker.vnfm.mgmt_drivers [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.mgmt_drivers' writing output... [ 73%] contributor/api/tacker.vnfm.mgmt_drivers.constants [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.mgmt_drivers.constants' writing output... [ 73%] contributor/api/tacker.vnfm.mgmt_drivers.vnflcm_abstract_driver [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.mgmt_drivers.vnflcm_abstract_driver' writing output... [ 74%] contributor/api/tacker.vnfm.mgmt_drivers.vnflcm_noop [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.mgmt_drivers.vnflcm_noop' writing output... [ 74%] contributor/api/tacker.vnfm.nfvo_client [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.nfvo_client' writing output... [ 74%] contributor/api/tacker.vnfm.plugin [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.plugin' writing output... [ 75%] contributor/api/tacker.vnfm.vim_client [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.vnfm.vim_client' writing output... [ 75%] contributor/api/tacker.wsgi [openstackdocstheme] could not determine last_updated for 'contributor/api/tacker.wsgi' writing output... [ 75%] contributor/api_extensions writing output... [ 76%] contributor/api_layer writing output... [ 76%] contributor/contributing writing output... [ 76%] contributor/dashboards writing output... [ 77%] contributor/development.environment writing output... [ 77%] contributor/index writing output... [ 77%] contributor/tacker_compliance_test writing output... [ 78%] contributor/tacker_functional_test writing output... [ 78%] contributor/vagrant_devstack writing output... [ 78%] index writing output... [ 79%] install/devstack writing output... [ 79%] install/index writing output... [ 80%] install/kolla writing output... [ 80%] install/kubernetes_vim_installation writing output... [ 80%] install/manual_installation writing output... [ 81%] install/openstack_helm writing output... [ 81%] reference/index writing output... [ 81%] reference/vim_config writing output... [ 82%] user/architecture writing output... [ 82%] user/encrypt_vim_auth_with_barbican writing output... [ 82%] user/etsi_cnf_healing writing output... [ 83%] user/etsi_cnf_scaling writing output... [ 83%] user/etsi_containerized_vnf_usage_guide writing output... [ 83%] user/etsi_getting_started writing output... [ 84%] user/etsi_use_case_guide writing output... [ 84%] user/etsi_vnf_change_external_vnf_connectivity writing output... [ 84%] user/etsi_vnf_deployment_as_vm_with_tosca writing output... [ 85%] user/etsi_vnf_deployment_as_vm_with_user_data writing output... [ 85%] user/etsi_vnf_error_handling writing output... [ 85%] user/etsi_vnf_healing writing output... [ 86%] user/etsi_vnf_scaling writing output... [ 86%] user/etsi_vnf_update writing output... [ 86%] user/granting_interface writing output... [ 87%] user/index writing output... [ 87%] user/introduction writing output... [ 87%] user/mgmt_driver_deploy_k8s_and_cnf_with_helm writing output... [ 88%] user/mgmt_driver_deploy_k8s_cir_usage_guide writing output... [ 88%] user/mgmt_driver_deploy_k8s_kubespary_usage_guide writing output... [ 88%] user/mgmt_driver_deploy_k8s_pv_usage_guide writing output... [ 89%] user/mgmt_driver_deploy_k8s_usage_guide writing output... [ 89%] user/mgmt_driver_for_ansible_driver_usage_guide writing output... [ 89%] user/mgmt_driver_for_container_update writing output... [ 90%] user/resources writing output... [ 90%] user/sample_package writing output... [ 90%] user/userdata_script writing output... [ 91%] user/v2/cnf/auto_heal_fm/index writing output... [ 91%] user/v2/cnf/auto_scale_pm_job/index writing output... [ 91%] user/v2/cnf/auto_scale_pm_th/index writing output... [ 92%] user/v2/cnf/chg_vnfpkg/index writing output... [ 92%] user/v2/cnf/deployment/index writing output... [ 92%] user/v2/cnf/deployment_using_helm/index writing output... [ 93%] user/v2/cnf/heal/index writing output... [ 93%] user/v2/cnf/scale/index writing output... [ 93%] user/v2/cnf/update writing output... [ 94%] user/v2/cnf/update_with_mgmt_driver/index writing output... [ 94%] user/v2/db_sync_error_handling writing output... [ 94%] user/v2/error_handling writing output... [ 95%] user/v2/fault_notification writing output... [ 95%] user/v2/getting_started/index writing output... [ 95%] user/v2/placement_error_handling writing output... [ 96%] user/v2/prometheus_plugin writing output... [ 96%] user/v2/use_case_guide writing output... [ 96%] user/v2/vnf/chg_ext_conn writing output... [ 97%] user/v2/vnf/chg_vnfpkg/index writing output... [ 97%] user/v2/vnf/chg_vnfpkg_with_standard/index writing output... [ 97%] user/v2/vnf/coordinate_api_client_script writing output... [ 98%] user/v2/vnf/deployment_with_user_data/index writing output... [ 98%] user/v2/vnf/heal/index writing output... [ 98%] user/v2/vnf/scale/index writing output... [ 99%] user/v2/vnf/update writing output... [ 99%] user/vnf-package writing output... [100%] user/vnfd-sol001 generating indices... genindex py-modindex [openstackdocstheme] could not determine last_updated for 'py-modindex' done writing additional pages... search done copying images... [ 3%] contributor/../_images/vagrant-devstack.svg copying images... [ 6%] _images/tacker-design.svg copying images... [ 9%] _images/tacker-design-etsi.svg copying images... [ 12%] _images/openstack_infra_driver.svg copying images... [ 15%] _images/k8s_helm_infra_driver.svg copying images... [ 18%] _images/tacker-design-legacy.svg copying images... [ 21%] _images/etsi_cnf_healing.png copying images... [ 25%] _images/etsi_cnf_scaling.png copying images... [ 28%] user/../_images/etsi_containerized_vnf_usage_guide.png copying images... [ 31%] _images/etsi-getting-started-sample-vnf.png copying images... [ 34%] _images/etsi_vnf_deployment_as_vm_with_tosca.png copying images... [ 37%] _images/etsi_vnf_deployment_as_vm_with_user_data.png copying images... [ 40%] _images/etsi_vnf_healing.png copying images... [ 43%] _images/etsi_vnf_scaling.png copying images... [ 46%] user/../_images/etsi-architecture.png copying images... [ 50%] _images/mgmt_driver_for_container_update.png copying images... [ 53%] user/v2/cnf/auto_heal_fm/img/auto_heal_fm.svg copying images... [ 56%] user/v2/cnf/auto_scale_pm_job/img/auto_scale_pm_job.svg copying images... [ 59%] user/v2/cnf/auto_scale_pm_th/img/auto_scale_pm_th.svg copying images... [ 62%] user/v2/cnf/chg_vnfpkg/img/chg_vnfpkg.svg copying images... [ 65%] user/v2/cnf/deployment/img/deployment.svg copying images... [ 68%] user/v2/cnf/deployment_using_helm/img/deployment_using_helm.svg copying images... [ 71%] user/v2/cnf/heal/img/heal.svg copying images... [ 75%] user/v2/cnf/scale/img/scale.svg copying images... [ 78%] user/v2/cnf/update_with_mgmt_driver/img/update_with_mgmt_driver.svg copying images... [ 81%] user/v2/getting_started/img/sample-vnf.svg copying images... [ 84%] user/v2/vnf/chg_vnfpkg/img/chg_vnfpkg.svg copying images... [ 87%] user/v2/vnf/chg_vnfpkg_with_standard/img/chg_vnfpkg.svg copying images... [ 90%] user/v2/vnf/deployment_with_user_data/img/deployment_with_user_data.svg copying images... [ 93%] user/v2/vnf/heal/img/heal.svg copying images... [ 96%] user/v2/vnf/scale/img/scale.svg copying images... [100%] user/../_images/vnfd-sol001.png copying downloadable files... [ 50%] ../_static/tacker.conf.sample copying downloadable files... [100%] ../_static/tacker.policy.yaml.sample copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in doc/build/html. WARNING:stevedore.named:Could not load tacker ___________________________________ summary ____________________________________ docs: commands succeeded congratulations :) + rm -rf doc/build/html/.doctrees doc/build/html/.buildinfo doc/build/html/.htaccess doc/build/html/_downloads + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rEntA6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64 + cd tacker-11.1.0.dev38 ++ ls /builddir/build/BUILD/tacker-11.1.0.dev38/pyproject-wheeldir/tacker-11.1.0.dev38-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=tacker==11.1.0.dev38 + '[' -z tacker==11.1.0.dev38 ']' + TMPDIR=/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64 --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/tacker-11.1.0.dev38/pyproject-wheeldir tacker==11.1.0.dev38 Using pip 21.3.1 from /usr/lib/python3.9/site-packages/pip (python 3.9) Looking in links: /builddir/build/BUILD/tacker-11.1.0.dev38/pyproject-wheeldir Processing ./pyproject-wheeldir/tacker-11.1.0.dev38-py3-none-any.whl Installing collected packages: tacker Creating /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-conductor to 755 changing mode of /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-db-manage to 755 changing mode of /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-rootwrap to 755 changing mode of /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-server to 755 changing mode of /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-status to 755 Successfully installed tacker-11.1.0.dev38 + '[' -d /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin ']' + '[' -z s ']' + shebang_flags=-kas + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-conductor /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-db-manage /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-rootwrap /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-server /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-status /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-conductor: updating /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-db-manage: updating /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-rootwrap: updating /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-server: updating /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/tacker-status: updating + rm -rfv /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/python3.9/site-packages ']' + site_dirs+=("/usr/lib/python3.9/site-packages") + '[' /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib64/python3.9/site-packages '!=' /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/python3.9/site-packages ']' + '[' -d /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib64/python3.9/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.9/site-packages/tacker-11.1.0.dev38.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/python3.9/site-packages/tacker-11.1.0.dev38.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64 --record /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/python3.9/site-packages/tacker-11.1.0.dev38.dist-info/RECORD --output /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-record + rm -fv /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/python3.9/site-packages/tacker-11.1.0.dev38.dist-info/RECORD removed '/builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/python3.9/site-packages/tacker-11.1.0.dev38.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/python3.9/site-packages/tacker-11.1.0.dev38.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/python3.9/site-packages/tacker-11.1.0.dev38.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + PYTHONPATH=/builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64//usr/lib/python3.9/site-packages + oslo-config-generator --config-file=./etc/config-generator.conf --output-file=./etc/tacker.conf /usr/lib/python3.9/site-packages/requests/__init__.py:86: RequestsDependencyWarning: Unable to find acceptable character detection dependency (chardet or charset_normalizer). warnings.warn( ERROR:stevedore.extension:Could not load 'cinder': No module named 'retrying' ERROR:stevedore.extension:Could not load 'glance.store.cinder.Store': No module named 'retrying' WARNING:stevedore.named:Could not load oslo.service.periodic_tasks ERROR:stevedore.extension:Could not load 'cinder': No module named 'retrying' ERROR:stevedore.extension:Could not load 'glance.store.cinder.Store': No module named 'retrying' + install -d -m 755 /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/share/tacker + install -d -m 755 /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/var/lib/tacker + install -d -m 755 /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/var/log/tacker + install -d -m 755 /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/etc/tacker + mv /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/etc/tacker/api-paste.ini /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/etc/tacker/prometheus-plugin.yaml /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/etc/tacker/rootwrap.conf /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/etc/tacker + mv /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/etc/rootwrap.d /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/etc + install -p -D -m 640 etc/tacker.conf /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/etc/tacker/tacker.conf + install -p -D -m 644 /builddir/build/SOURCES/tacker.logrotate /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/etc/logrotate.d/openstack-tacker + rm -rf /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/etc/ + install -p -D -m 644 /builddir/build/SOURCES/openstack-tacker-server.service /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/systemd/system/openstack-tacker-server.service + install -p -D -m 644 /builddir/build/SOURCES/openstack-tacker-conductor.service /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/systemd/system/openstack-tacker-conductor.service + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 11.1.0-0.20240905153607.7ba267a.el9 --unique-debug-suffix -11.1.0-0.20240905153607.7ba267a.el9.x86_64 --unique-debug-src-base openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/tacker-11.1.0.dev38 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/python3.9/site-packages/tacker/tests/functional/tools/test-setup-mgmt.sh from /bin/bash -xe to #!/usr/bin/bash -xe mangling shebang in /usr/lib/python3.9/site-packages/tacker/tests/functional/tools/test-setup-k8s-vim.sh from /bin/bash -xe to #!/usr/bin/bash -xe mangling shebang in /usr/lib/python3.9/site-packages/tacker/tests/functional/tools/test-setup-default-vim.sh from /bin/bash -xe to #!/usr/bin/bash -xe Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RNtlgl + umask 022 + cd /builddir/build/BUILD + cd tacker-11.1.0.dev38 + TOX_TESTENV_PASSENV='*' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + PATH=/builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/openstack-tacker-11.1.0-0.20240905153607.7ba267a.el9.x86_64/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/tacker-11.1.0.dev38/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py39 -- --exclude-regex 'ipv6|vnfm|vnflcm|sol_refactored' /usr/lib/python3.9/site-packages/requests/__init__.py:86: RequestsDependencyWarning: Unable to find acceptable character detection dependency (chardet or charset_normalizer). warnings.warn( /usr/lib/python3.9/site-packages/requests/__init__.py:86: RequestsDependencyWarning: Unable to find acceptable character detection dependency (chardet or charset_normalizer). warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteEncodeTest.test_decode_return_data [0.098386s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_check_exit_code [0.013872s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_encode_process_input [0.016688s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_execute_raises [0.016268s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_process_input [0.016980s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_return_code_log_debug [0.015943s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_return_code_log_error_change_locale [0.017746s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_return_code_log_error_no_raise_runtime [0.013068s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_return_code_log_error_raise_runtime [0.011384s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_return_code_raise_runtime_log_fail_as_error [0.011791s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_return_str_data [0.011683s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_stderr_true [0.010567s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_with_addl_env [0.010480s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_with_helper [0.010603s] ... ok {0} tacker.tests.unit.agent.linux.test_utils.AgentUtilsExecuteTest.test_without_helper [0.018805s] ... ok {0} tacker.tests.unit.api.test_api_common.APICommonTestCase.test_addr_format_error_exception [0.013464s] ... ok {0} tacker.tests.unit.api.test_api_common.APICommonTestCase.test_get_exception_data [0.009978s] ... ok {0} tacker.tests.unit.api.test_api_common.APICommonTestCase.test_http_client_exception [0.009490s] ... ok {0} tacker.tests.unit.api.test_api_common.APICommonTestCase.test_http_exception [0.009995s] ... ok {0} tacker.tests.unit.api.test_api_common.APICommonTestCase.test_not_implemented_error_exception [0.010664s] ... ok {0} tacker.tests.unit.api.test_api_common.APICommonTestCase.test_policy_not_authorized_exception [0.009064s] ... ok {0} tacker.tests.unit.api.test_api_common.APICommonTestCase.test_prepare_request_body [0.010083s] ... ok {0} tacker.tests.unit.api.test_api_common.APICommonTestCase.test_prepare_request_body_keyerror [0.008923s] ... ok {0} tacker.tests.unit.api.test_api_common.APICommonTestCase.test_prepare_request_body_none [0.008630s] ... ok Failed to parse request. Parameter 'name' not specified {0} tacker.tests.unit.api.test_api_common.APICommonTestCase.test_prepare_request_param_value_none [0.010564s] ... ok {0} tacker.tests.unit.api.test_api_common.APICommonTestCase.test_tacker_exception [0.010942s] ... ok {0} tacker.tests.unit.api.test_api_common.PaginationEmulatedHelperTestcase.test_get_links [0.010281s] ... ok {0} tacker.tests.unit.api.test_api_common.PaginationEmulatedHelperTestcase.test_paginate [0.010393s] ... ok {0} tacker.tests.unit.api.test_api_common.PaginationEmulatedHelperTestcase.test_pagination_emulate_class [0.009883s] ... ok {0} tacker.tests.unit.api.test_api_common.PaginationEmulatedHelperTestcase.test_update_fields [0.009371s] ... ok {0} tacker.tests.unit.api.test_api_common.SortingEmulatedHelperTestcase.test_sort [0.009559s] ... ok {0} tacker.tests.unit.api.test_api_common.SortingEmulatedHelperTestcase.test_sort_emulate_class [0.009612s] ... ok {0} tacker.tests.unit.api.test_api_common.SortingEmulatedHelperTestcase.test_update_fields [0.009593s] ... ok {0} tacker.tests.unit.api.test_extensions.ActionExtensionTest.test_extended_action_for_adding_extra_data ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.test_extensions.ActionExtensionTest.test_extended_action_for_deleting_extra_data ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.test_extensions.ActionExtensionTest.test_returns_404_for_non_existent_action ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.test_extensions.ActionExtensionTest.test_returns_404_for_non_existent_resource ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.test_extensions.ExtensionControllerTest.test_extension_can_be_accessed_by_alias ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.test_extensions.ExtensionControllerTest.test_index_gets_all_registerd_extensions ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.test_extensions.ExtensionControllerTest.test_show_returns_not_found_for_non_existent_extension ... SKIPPED: Not ready yet Extension path '' doesn't exist! Exception loading extension: 'InvalidExtension' object has no attribute 'get_name' Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/extensions.py", line 506, in _check_extension LOG.debug('Ext name: %s', extension.get_name()) AttributeError: 'InvalidExtension' object has no attribute 'get_name' {0} tacker.tests.unit.api.test_extensions.ExtensionManagerTest.test_invalid_extensions_are_not_registered [0.011045s] ... ok {0} tacker.tests.unit.api.test_extensions.PluginInterfaceTest.test_issubclass_hook [0.011914s] ... ok {0} tacker.tests.unit.api.test_extensions.PluginInterfaceTest.test_issubclass_hook_class_without_abstract_methods [0.010242s] ... ok {0} tacker.tests.unit.api.test_extensions.PluginInterfaceTest.test_issubclass_hook_not_all_methods_implemented [0.008973s] ... ok {0} tacker.tests.unit.api.test_extensions.RequestExtensionTest.test_edit_previously_uneditable_field [0.019633s] ... ok {0} tacker.tests.unit.api.test_extensions.RequestExtensionTest.test_extend_get_resource_response [0.012755s] ... ok {0} tacker.tests.unit.api.test_extensions.RequestExtensionTest.test_get_resources ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.test_extensions.RequestExtensionTest.test_headers_can_be_extended [0.146280s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_exceptions_notimplemented [0.018314s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_plugin_prefix_with_parent_resource [0.016500s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_resource_can_be_added_as_extension [0.013060s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_resource_ext_for_formatted_req_on_custom_collection_action [0.015254s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_resource_ext_for_nested_resource_custom_collection_action [0.015961s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_resource_ext_with_custom_member_action_gets_plugin_prefix [0.016704s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_resource_extension_for_delete_custom_collection_action [0.013306s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_resource_extension_for_get_custom_collection_action [0.017065s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_resource_extension_for_post_custom_collection_action [0.014363s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_resource_extension_for_put_custom_collection_action [0.013820s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_resource_extension_with_custom_member_action [0.014904s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_resource_extension_with_custom_member_action_and_attr_map [0.012470s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_resource_gets_prefix_of_plugin [0.014851s] ... ok {0} tacker.tests.unit.api.test_extensions.ResourceExtensionTest.test_returns_404_for_non_existent_extension [0.011619s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_hostname_pattern [0.009991s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_is_attr_set [0.012339s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_mac_pattern [0.028704s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_subdictionary [0.012012s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_uuid_pattern [0.008697s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_a_valid_dict_with_constraints [0.008668s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_dict_convert_boolean [0.008445s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_dict_not_required_keys [0.008191s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_dict_or_empty [0.008001s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_dict_or_none [0.008141s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_dict_or_not_empty [0.008042s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_dict_required_keys [0.008599s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_dict_type [0.008432s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_dict_with_invalid_validator [0.008170s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_dict_without_constraints [0.007761s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_dict_wrong_values [0.008221s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_fixed_ips [0.007771s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_hostroutes [0.008062s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_ip_address [0.007997s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_ip_address_or_none [0.007964s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_ip_pools [0.007878s] ... ok MAC address must be string: 'NoneType' object has no attribute 'split' Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/v1/attributes.py", line 157, in _validate_mac_address valid_mac = netaddr.valid_mac(_validate_no_whitespace(data)) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/v1/attributes.py", line 148, in _validate_no_whitespace if len(data.split()) > 1: AttributeError: 'NoneType' object has no attribute 'split' {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_mac_address [0.008311s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_mac_address_or_none [0.007908s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_nameservers [0.008010s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_no_whitespace [0.008298s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_non_negative [0.007875s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_not_empty_string [0.008144s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_not_empty_string_or_none [0.008414s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_range [0.008073s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_regex [0.008403s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_regex_or_none [0.007853s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_string [0.008313s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_string_or_none [0.008316s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_subnet [0.010327s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_subnet_list [0.008887s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_subnet_or_none [0.009788s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_uuid [0.008014s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_uuid_list [0.007976s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestAttributes.test_validate_values [0.007811s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertKvp.test_convert_kvp_list_to_dict_succeeds_for_missing_values [0.007891s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertKvp.test_convert_kvp_list_to_dict_succeeds_for_multiple_values ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v1.test_attributes.TestConvertKvp.test_convert_kvp_list_to_dict_succeeds_for_values [0.007929s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertKvp.test_convert_kvp_str_to_list_fails_for_missing_equals [0.008184s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertKvp.test_convert_kvp_str_to_list_fails_for_missing_key [0.008179s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertKvp.test_convert_kvp_str_to_list_succeeds_for_one_equals [0.008000s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertKvp.test_convert_kvp_str_to_list_succeeds_for_two_equals [0.007786s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToBoolean.test_convert_to_boolean_bool [0.007619s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToBoolean.test_convert_to_boolean_int [0.008151s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToBoolean.test_convert_to_boolean_str [0.010563s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToInt.test_convert_none_to_empty_dict [0.007853s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToInt.test_convert_none_to_empty_list_none [0.013835s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToInt.test_convert_none_to_empty_list_value [0.007800s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToInt.test_convert_to_int_int [0.017461s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToInt.test_convert_to_int_none [0.008459s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToInt.test_convert_to_int_str [0.008558s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToList.test_convert_to_empty_list [0.008739s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToList.test_convert_to_list_iterable [0.009331s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToList.test_convert_to_list_non_iterable [0.008854s] ... ok {0} tacker.tests.unit.api.v1.test_attributes.TestConvertToList.test_convert_to_list_string [0.008937s] ... ok {0} tacker.tests.unit.api.v1.test_resource.RequestTestCase.test_context_with_tacker_context [0.008815s] ... ok {0} tacker.tests.unit.api.v1.test_resource.RequestTestCase.test_context_without_tacker_context [0.008159s] ... ok {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_4xx_error_logged_info_level [0.009356s] ... ok test failed: No details. Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/v1/resource.py", line 78, in resource result = method(request=request, **args) File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect webob.exc.HTTPGatewayTimeout: The gateway has timed out. {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_http_error [0.009185s] ... ok test failed: No details. Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/v1/resource.py", line 78, in resource result = method(request=request, **args) File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_mapped_tacker_error_localized..TestException: Translated error {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_mapped_tacker_error_localized [0.009222s] ... ok test failed: No details. Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/v1/resource.py", line 78, in resource result = method(request=request, **args) File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_mapped_tacker_error_with_json..TestException: 网络 {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_mapped_tacker_error_with_json [0.009677s] ... ok None failed: No details. Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/v1/resource.py", line 76, in resource method = getattr(controller, action) TypeError: getattr(): attribute name must be string {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_no_route_args [0.009483s] ... ok {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_non_4xx_error_logged_exception_level [0.010137s] ... ok {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_post_with_body [0.008760s] ... ok {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_status_200 [0.008288s] ... ok {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_status_204 [0.008818s] ... ok test failed: No details. Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/v1/resource.py", line 78, in resource result = method(request=request, **args) File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect Exception {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_unhandled_error_with_json [0.009196s] ... ok {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_unmapped_error_logged_exception_level [0.009270s] ... ok test failed: No details. Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/v1/resource.py", line 78, in resource result = method(request=request, **args) File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_unmapped_tacker_error_localized..TestException: Translated error {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_unmapped_tacker_error_localized [0.009997s] ... ok test failed: No details. Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/v1/resource.py", line 78, in resource result = method(request=request, **args) File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_unmapped_tacker_error_with_json..TestException: 网络 {0} tacker.tests.unit.api.v1.test_resource.ResourceTestCase.test_unmapped_tacker_error_with_json [0.008857s] ... ok {0} tacker.tests.unit.api.v1.test_resource_helper.ResourceHelperTestCase.test_build_plural_mappings [0.008115s] ... ok {0} tacker.tests.unit.api.v1.test_resource_helper.ResourceHelperTestCase.test_build_plural_mappings_with_suffix_y [0.007855s] ... ok {0} tacker.tests.unit.api.v1.test_resource_helper.ResourceHelperTestCase.test_build_resource_info [0.008300s] ... ok Extension path 'unit/extensions' doesn't exist! {0} tacker.tests.unit.api.v1.test_router.TestAPIRouter.test_api_factory [0.008433s] ... ok {0} tacker.tests.unit.api.v1.test_router.TestIndex.test_index [0.008245s] ... ok [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim [0.010479s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_invalid_vim_project_1_ [0.009692s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_invalid_vim_project_2_testing [0.012061s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_invalid_vim_project_3 [0.009881s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_with_invalid_auth_cred_1_ [0.010203s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_with_invalid_auth_cred_2_testing [0.009936s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_with_invalid_auth_cred_3 [0.009811s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_with_invalid_is_default_1 [0.009786s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_with_invalid_is_default_2 [0.010365s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_with_invalid_is_default_3 [0.015000s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_with_invalid_type_1_ [0.013405s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_with_invalid_type_2__ [0.009665s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_with_invalid_type_3_None [0.009773s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.api.v1.test_vim.VIMCreateTestCase.test_create_vim_with_invalid_type_4_123 [0.009548s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.api.v1.test_vnf_instance.TestVnfInstance.test_vnf_instance_info_with_vnf_desc [0.094399s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.api.v1.test_vnf_instance.TestVnfInstance.test_vnf_instance_info_without_vnf_desc [0.015531s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_emulated_pagination ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_emulated_sort ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_emulated_sort_without_sort_field ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_fields ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_fields_empty ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_fields_multiple ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_fields_multiple_empty ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_fields_multiple_with_empty ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_filters ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_filters_empty ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_filters_multiple ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_filters_multiple_empty ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_filters_multiple_values ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_filters_multiple_with_empty ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_filters_with_convert_list_to ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_filters_with_convert_to ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_filters_with_fields ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_limit ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_limit_with_great_than_max_limit ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_limit_with_infinite_pagination_max_limit ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_limit_with_negative_pagination_max_limit ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_limit_with_negative_value ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_limit_with_non_integer ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_limit_with_non_integer_pagination_max_limit ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_limit_with_unspecific ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_limit_with_zero ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_marker ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_native_pagination_without_allow_sorting ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_native_pagination_without_native_sorting ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_page_reverse ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_page_reverse_with_non_bool ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_page_reverse_with_unspecific ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_sort ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_sort_with_invalid_attribute ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_sort_with_invalid_dirs ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_sort_with_primary_key ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.APIv2TestCase.test_sort_without_direction ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.CreateResourceTestCase.test_resource_creation [0.008773s] ... ok {0} tacker.tests.unit.api.v2.test_api_v2.ExtensionTestCase.test_extended_create ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.FiltersTestCase.test_all_skip_args ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.FiltersTestCase.test_attr_info_with_convert_list_to ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.FiltersTestCase.test_attr_info_with_convert_to ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.FiltersTestCase.test_attr_info_without_conversion ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.FiltersTestCase.test_blank_values ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.FiltersTestCase.test_no_attr_info ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_attr_not_specified ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_bad_keystone_tenant ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_bulk ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_bulk_missing_attr ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_bulk_no_networks ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_bulk_partial_body ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_missing_attr ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_no_body ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_no_keystone_env ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_no_resource ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_readonly_attr ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_return_extra_attr ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_use_defaults ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_create_with_keystone_env ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_delete_keystone ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_delete_keystone_bad_tenant ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_delete_noauth ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_fields ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_get_keystone ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_get_keystone_bad_tenant ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_get_keystone_shared_network ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_get_keystone_strip_admin_only_attribute ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_get_noauth ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_invalid_attribute_field ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_list_keystone ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_list_keystone_bad ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_list_noauth ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_list_pagination ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_list_pagination_reverse_with_empty_page ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_list_pagination_reverse_with_last_page ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_list_pagination_with_empty_page ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_list_pagination_with_last_page ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_update_keystone ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_update_keystone_bad_tenant ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_update_noauth ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.JSONV2TestCase.test_update_readonly_field ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.ListArgsTestCase.test_list_args [0.008131s] ... ok {0} tacker.tests.unit.api.v2.test_api_v2.ListArgsTestCase.test_list_args_with_empty [0.008038s] ... ok {0} tacker.tests.unit.api.v2.test_api_v2.NotificationTest.test_network_create_notifer ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.NotificationTest.test_network_delete_notifer ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.NotificationTest.test_network_update_notifer ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.ResourceIndexTestCase.test_index_json [0.008217s] ... ok {0} tacker.tests.unit.api.v2.test_api_v2.SubresourceTest.test_create_sub_resource ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.SubresourceTest.test_delete_sub_resource ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.SubresourceTest.test_index_sub_resource ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.SubresourceTest.test_show_sub_resource ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.SubresourceTest.test_update_sub_resource ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.V2Views.test_network ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.V2Views.test_port ... SKIPPED: Not ready yet {0} tacker.tests.unit.api.v2.test_api_v2.V2Views.test_subnet ... SKIPPED: Not ready yet {0} tacker.tests.unit.cmd.test_status.TestUpgradeChecks.test_checks [0.010190s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.common.container.test_kubernetes_utils.TestKubernetesHTTPAPI.test_get_core_api_client [0.009479s] ... ok {0} tacker.tests.unit.common.container.test_kubernetes_utils.TestKubernetesHTTPAPI.test_get_extension_api_client ... SKIPPED: Delete deprecated api test {0} tacker.tests.unit.common.container.test_kubernetes_utils.TestKubernetesHTTPAPI.test_get_k8s_client_oidc_auth [0.009235s] ... ok {0} tacker.tests.unit.common.container.test_kubernetes_utils.TestKubernetesHTTPAPI.test_get_k8s_client_oidc_auth_id_token_exsits [0.009139s] ... ok {0} tacker.tests.unit.common.container.test_kubernetes_utils.TestKubernetesHTTPAPI.test_get_k8s_client_oidc_auth_no_cert [0.009448s] ... ok {0} tacker.tests.unit.common.container.test_kubernetes_utils.TestKubernetesHTTPAPI.test_get_k8s_client_service_account_token_auth [0.009581s] ... ok {0} tacker.tests.unit.common.test_config.ConfigurationTest.test_defaults [0.009205s] ... ok {0} tacker.tests.unit.common.test_config.ConfigurationTest.test_load_paste_app [0.009637s] ... ok {0} tacker.tests.unit.common.test_config.ConfigurationTest.test_load_paste_app_not_found [0.009700s] ... ok {0} tacker.tests.unit.common.test_config.ConfigurationTest.test_load_paste_app_runtime_error [0.010343s] ... ok The keymanager_type specified in config does not match the keyType stored in DB. {0} tacker.tests.unit.common.test_crypt_utils.TestCryptUtils.test_change_from_barbican_to_local [0.011915s] ... ok {0} tacker.tests.unit.common.test_crypt_utils.TestCryptUtils.test_change_from_local_to_barbican [0.010992s] ... ok {0} tacker.tests.unit.common.test_crypt_utils.TestCryptUtils.test_create_crypt_key_to_barbican [0.009227s] ... ok {0} tacker.tests.unit.common.test_crypt_utils.TestCryptUtils.test_create_crypt_key_to_local [0.008893s] ... ok {0} tacker.tests.unit.common.test_crypt_utils.TestCryptUtils.test_load_crypt_key_from_barbican [0.009717s] ... ok {0} tacker.tests.unit.common.test_crypt_utils.TestCryptUtils.test_load_crypt_key_from_local [0.010246s] ... ok The required parameter descriptor_id is not provided The required parameter descriptor_version is not provided The required parameter provider is not provided The required parameter product_name is not provided The required parameter software_version is not provided The required parameter vnfm_info is not provided The required parameter flavour_id is not provided The required parameter flavour_description is not provided Error processing CSAR file /tmp/cc648a93-f23f-47cb-b609-08c9829af9d3/tmpubi7ctau.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: Node property "sw_image_data" is missing for artifact sw_image for node VDU1.. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_csar_with_missing_sw_image_data_in_main_template [0.360201s] ... ok {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_delete_csar_data [0.001556s] ... ok {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_extract_csar_zip_file_for_file_permissions [0.000744s] ... ok The required parameter selected_flavour is not provided {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data [0.821648s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /builddir/build/BUILD/tacker-11.1.0.dev38/samples/tests/etc/samples/etsi/nfv/tmpvmelcnaz.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: The algorithm("sha-255") of artifact("Scripts/install.sh") is an invalid value.. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_false_algorithm_with_vnf_artifact [0.645340s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /builddir/build/BUILD/tacker-11.1.0.dev38/samples/tests/etc/samples/etsi/nfv/tmp29_02owm.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: The hash "27bbdb25d8f4ed6d07d6f6581b86515e8b2f0059b236ef7b6f50d6674b34f02" of artifact file "Scripts/install.sh" is an invalid value.. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_false_hash_with_vnf_artifact [0.785241s] ... ok Error processing CSAR file /builddir/build/BUILD/tacker-11.1.0.dev38/samples/tests/etc/samples/etsi/nfv/tmpjypcrw8b.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: The filename "VNF1.mf" is an invalid name.The name must be the same as the main template file name.. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_false_mf_name_with_vnf_artifact [0.852329s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /builddir/build/BUILD/tacker-11.1.0.dev38/samples/tests/etc/samples/etsi/nfv/tmpr_j_0if3.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: The file "manifest.mf1" in the CSAR "/builddir/build/BUILD/tacker-11.1.0.dev38/samples/tests/etc/samples/etsi/nfv/tmpr_j_0if3.zip" does not contain valid manifest.. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_false_mf_with_vnf_artifact [0.786955s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /builddir/build/BUILD/tacker-11.1.0.dev38/samples/tests/etc/samples/etsi/nfv/tmpxp4gm2r1.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: The path("Scripts/install.s") of artifact Source is an invalid value.. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_false_source_with_vnf_artifact [0.753737s] ... ok The required parameter selected_flavour is not provided {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_in_meta_and_manifest_with_vnf_artifact [0.766157s] ... ok The required parameter selected_flavour is not provided {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_meta_in_manifest_with_vnf_artifact [0.882299s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /builddir/build/BUILD/tacker-11.1.0.dev38/samples/tests/etc/samples/etsi/nfv/tmpbkl4zuzv.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: One of the artifact information may not have the key("['Algorithm']"). {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_missing_key_with_vnf_artifact [0.732030s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /builddir/build/BUILD/tacker-11.1.0.dev38/samples/tests/etc/samples/etsi/nfv/tmpw9wxwbh5.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: One of the artifact information may not have the key value("Algorithm"). {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_missing_value_with_vnf_artifact [0.850964s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /tmp/9d14f725-e9de-4237-b3d7-59649a31cd31/tmpq04vb043.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: Node property "sw_image_data" is missing for artifact sw_image for node VDU1.. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_artifacts_and_without_sw_image_data [0.629641s] ... ok The required parameter selected_flavour is not provided {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_artifacts_short_notation [0.806355s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /tmp/45cc5156-a624-4a91-aa77-40d7f33dd8b7/tmpslj48kxx.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: Level instantiation_level_3 not found in defined levels instantiation_level_1,instantiation_level_2. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_invalid_default_instantiation_level [0.529104s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /tmp/b64028a9-dd3f-4ad5-9315-2dcd1ee6c124/tmp88xjpt7y.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: Level(s) instantiation_level_3 not found in defined levels instantiation_level_1,instantiation_level_2. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_invalid_instantiation_level [0.591440s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /tmp/8d280bb7-219d-42aa-b003-b6e3faed6d00/tmpobbngd8y.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: artifacts of type "tosca.artifacts.nfv.SwImage" is added more than one time for node VDU1.. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_multiple_sw_image_data [0.505447s] ... ok Error processing CSAR file /builddir/build/BUILD/tacker-11.1.0.dev38/samples/tests/etc/samples/etsi/nfv/tmped5smmxo.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: artifacts of type "tosca.artifacts.nfv.SwImage" is added more than one time for node VDU1.. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_multiple_sw_image_data_with_short_notation [0.162371s] ... ok {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_single_manifest_with_vnf_artifact [0.854381s] ... ok The required parameter selected_flavour is not provided {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_single_meta_with_vnf_artifact [0.628120s] ... ok {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_single_yaml [1.014927s] ... ok The required parameter selected_flavour is not provided {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_unit_conversion [0.744915s] ... ok Error processing CSAR file /tmp/3675da0e-ea5d-4cb6-9c8e-89426e05c6c3/tmp_hb1scm8.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: No VNF flavours are available. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_without_flavour_info [0.474750s] ... ok The required parameter descriptor_id is not provided The required parameter descriptor_version is not provided The required parameter provider is not provided The required parameter product_name is not provided The required parameter software_version is not provided The required parameter vnfm_info is not provided The required parameter flavour_id is not provided The required parameter flavour_description is not provided Error processing CSAR file /tmp/17fdbd8f-9af3-492d-9d13-55cf96ccbd40/tmp7q5rh5un.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: No VNF flavours are available. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_without_flavour_info_in_main_template [0.360998s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /tmp/7797b470-8174-4447-86fa-b338c5da8f9b/tmp_0sofld6.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: Policy of type "tosca.policies.nfv.InstantiationLevels is not defined.. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_without_instantiation_level [0.485516s] ... ok The required parameter selected_flavour is not provided {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_without_policies [0.697793s] ... ok The required parameter selected_flavour is not provided Error processing CSAR file /tmp/e26d5668-7cc5-4e4f-a37b-024c63e19460/tmpr4l2foxb.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: VNF properties are mandatory. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_without_vnfd_info [0.598606s] ... ok Error processing CSAR file /builddir/build/BUILD/tacker-11.1.0.dev38/samples/tests/etc/samples/etsi/nfv/tmp1jyfdjw_.zip for vnf package f26f181d-7891-4720-b022-b074ec1733ef: Error: Node property "sw_image_data" is missing for artifact sw_image for node VDU1.. {0} tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_with_artifacts_short_notation_without_sw_image_data [0.156805s] ... ok {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_create_session [0.011550s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_get_connection_params [0.011680s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_get_headers_client_secret_basic [0.012088s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_get_headers_client_secret_jwt [0.012147s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_get_headers_client_secret_post [0.011613s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Unable to get an access token: connect time out. (HTTP 408) {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_get_headers_connect_fail [0.011908s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( The value is incorrect for option auth_method in group [ext_oauth2_auth] {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_get_headers_invalid_auth_method [0.011803s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( The OAuth2.0 access token API returns an incorrect response. response_status: 201, response_text: {"error": "error_title", "error_description": "error message"} {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_get_headers_is_not_200 [0.012338s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Failed to get an access token: {"error": "invalid_client", "error_description": "The client is not found."} {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_get_headers_not_include_access_token [0.013674s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_get_headers_private_key_jwt [0.294032s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_get_headers_tls_client_auth [0.012678s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Unable to get an access token: unknown error occurred. {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_get_headers_unknown_error [0.012741s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( The value is required for option auth_method in group [ext_oauth2_auth] {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_init_without_keystone_middleware_opts [0.013870s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( The value is required for option scope in group [ext_oauth2_auth] {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_init_without_scope [0.011632s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( The value is required for option token_endpoint in group [ext_oauth2_auth] {0} tacker.tests.unit.common.test_ext_oauth2_auth.TestExtOAuth2Auth.test_init_without_token_endpoint [0.013059s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.common.test_log.TestCallLog.test_call_log_all_args ... SKIPPED: Not ready yet {0} tacker.tests.unit.common.test_log.TestCallLog.test_call_log_all_kwargs ... SKIPPED: Not ready yet {0} tacker.tests.unit.common.test_log.TestCallLog.test_call_log_known_args_kwargs_unknown_kwargs ... SKIPPED: Not ready yet {0} tacker.tests.unit.common.test_log.TestCallLog.test_call_log_known_args_unknown_args_kwargs ... SKIPPED: Not ready yet {0} tacker.tests.unit.common.test_log.TestCallLog.test_call_log_password_mask_args_kwargs ... SKIPPED: Not ready yet {0} tacker.tests.unit.common.test_oidc_utils.TestOidcUtils.test_get_id_token_with_password_grant [0.009916s] ... ok {0} tacker.tests.unit.common.test_oidc_utils.TestOidcUtils.test_get_id_token_with_password_grant_401 [0.010800s] ... ok {0} tacker.tests.unit.common.test_oidc_utils.TestOidcUtils.test_get_id_token_with_password_grant_no_option_param [0.010278s] ... ok {0} tacker.tests.unit.common.test_oidc_utils.TestOidcUtils.test_get_id_token_with_password_grant_request_exception [0.011001s] ... ok {0} tacker.tests.unit.common.test_oidc_utils.TestOidcUtils.test_get_id_token_with_password_grant_required_param_is_none [0.009479s] ... ok Failed to get csar data from glance store Invalid/path for package f26f181d-7891-4720-b022-b074ec1733ef Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/glance_store/store.py", line 102, in get_csar_size return glance_store.backend.get_size_from_backend(location) File "/usr/lib/python3.9/site-packages/glance_store/backend.py", line 348, in get_size_from_backend loc = location.get_location_from_uri(uri, conf=CONF) File "/usr/lib/python3.9/site-packages/glance_store/location.py", line 77, in get_location_from_uri raise exceptions.UnknownScheme(scheme=pieces.scheme) glance_store.exceptions.UnknownScheme: Unknown scheme '' found in URI Failed to get csar data from glance store Invalid/path for package f26f181d-7891-4720-b022-b074ec1733ef Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/glance_store/store.py", line 138, in _get_csar_chunks resp, size = glance_store.backend.get_from_backend(location, File "/usr/lib/python3.9/site-packages/glance_store/backend.py", line 337, in get_from_backend loc = location.get_location_from_uri(uri, conf=CONF) File "/usr/lib/python3.9/site-packages/glance_store/location.py", line 77, in get_location_from_uri raise exceptions.UnknownScheme(scheme=pieces.scheme) glance_store.exceptions.UnknownScheme: Unknown scheme '' found in URI {0} tacker.tests.unit.common.test_store.TestStore.test_get_csar_size_invalid_path [0.001230s] ... ok {0} tacker.tests.unit.common.test_store.TestStore.test_load_csar_iter_invalid_path [0.000253s] ... ok {0} tacker.tests.unit.common.test_utils.TestCamelToSnakeCase.test_convert_camelcase_to_snakecase_dict [0.000100s] ... ok {0} tacker.tests.unit.common.test_utils.TestCamelToSnakeCase.test_convert_camelcase_to_snakecase_list_with_dict_items [0.000059s] ... ok {0} tacker.tests.unit.common.test_utils.TestCamelToSnakeCase.test_convert_camelcase_to_snakecase_list_with_string_items [0.000052s] ... ok {0} tacker.tests.unit.common.test_utils.TestCamelToSnakeCase.test_convert_camelcase_to_snakecase_with_additional_params [0.000162s] ... ok {0} tacker.tests.unit.common.test_utils.TestChangeMemory.test_change_memory_from_gb_to_mb [0.000230s] ... ok {0} tacker.tests.unit.common.test_utils.TestChangeMemory.test_change_memory_from_mb_to_gb [0.000057s] ... ok {0} tacker.tests.unit.common.test_utils.TestDict2Tuples.test_dict [0.011524s] ... ok {0} tacker.tests.unit.common.test_utils.TestSnakeToCamelCase.test_convert_snakecase_to_camelcase_dict [0.000170s] ... ok {0} tacker.tests.unit.common.test_utils.TestSnakeToCamelCase.test_convert_snakecase_to_camelcase_list_with_dict_items [0.000051s] ... ok {0} tacker.tests.unit.common.test_utils.TestSnakeToCamelCase.test_convert_snakecase_to_camelcase_list_with_string_items [0.000041s] ... ok {0} tacker.tests.unit.common.test_utils.TestSnakeToCamelCase.test_convert_snakecase_to_camelcase_with_additional_params [0.000043s] ... ok {0} tacker.tests.unit.common.test_utils.TestValidateUrl.test_invalid_scheme [0.000073s] ... ok {0} tacker.tests.unit.common.test_utils.TestValidateUrl.test_no_path_in_url [0.000048s] ... ok {0} tacker.tests.unit.common.test_utils.TestValidateUrl.test_no_scheme [0.000062s] ... ok {0} tacker.tests.unit.common.test_utils.TestValidateUrl.test_valid_url [0.000053s] ... ok {0} tacker.tests.unit.conductor.conductorrpc.test_vnf_lcm_rpc.VnfLcmRPCTestCase.test_heal [0.012049s] ... ok {0} tacker.tests.unit.conductor.conductorrpc.test_vnf_lcm_rpc.VnfLcmRPCTestCase.test_instantiate [0.010055s] ... ok {0} tacker.tests.unit.conductor.conductorrpc.test_vnf_lcm_rpc.VnfLcmRPCTestCase.test_rollback [0.010006s] ... ok {0} tacker.tests.unit.conductor.conductorrpc.test_vnf_lcm_rpc.VnfLcmRPCTestCase.test_scale [0.010618s] ... ok {0} tacker.tests.unit.conductor.conductorrpc.test_vnf_lcm_rpc.VnfLcmRPCTestCase.test_terminate [0.010068s] ... ok {0} tacker.tests.unit.conductor.conductorrpc.test_vnf_lcm_rpc.VnfLcmRPCTestCase.test_update [0.009802s] ... ok {0} tacker.tests.unit.conductor.conductorrpc.test_vnf_pkgm_rpc.VnfPackageRPCTestCase.test_delete_vnf_package [0.010086s] ... ok {0} tacker.tests.unit.conductor.conductorrpc.test_vnf_pkgm_rpc.VnfPackageRPCTestCase.test_get_vnf_package_vnfd [0.009413s] ... ok {0} tacker.tests.unit.conductor.conductorrpc.test_vnf_pkgm_rpc.VnfPackageRPCTestCase.test_upload_vnf_package_content [0.009429s] ... ok {0} tacker.tests.unit.conductor.conductorrpc.test_vnf_pkgm_rpc.VnfPackageRPCTestCase.test_upload_vnf_package_from_uri [0.010222s] ... ok Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_change_ext_conn [0.077285s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_change_ext_conn_failed_with_exception [0.069516s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "8e921e2c-9513-41e6-9dc7-e02dd8d1096a", "vnfLcmOpOccId": "9ff51455-570e-444c-880b-30500323a592", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "CHANGE_EXT_CONN", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/8e921e2c-9513-41e6-9dc7-e02dd8d1096a"}}, "updateResources": [{"id": "f579f294-0599-4b8b-a66d-a686375072c5", "type": "LINKPORT", "resourceTemplateId": "CP1", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "29959b4b-57d6-491e-867a-d92d031cabc3", "vimLevelResourceType": "OS::Neutron::Port"}}, {"id": "d2f7fcf1-1619-43a2-9ee5-4110ca83d1c0", "type": "LINKPORT", "resourceTemplateId": "CP2", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "71c50c97-25b9-47a1-8d05-e31d1206780f", "vimLevelResourceType": "OS::Neutron::Port"}}, {"id": "bcd4670e-3995-4c80-871b-40eaaf6f90a9", "type": "LINKPORT", "resourceTemplateId": "CP5", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "ab034f69-4efb-41c3-9f5b-092aa17b636a", "vimLevelResourceType": "OS::Neutron::Port"}}, {"id": "dfe6991a-e7d3-47e9-89b6-47332113f2dd", "type": "LINKPORT", "resourceTemplateId": "CP3", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "098de0bc-a371-4e1d-8216-9760ef1d5b0f", "vimLevelResourceType": "OS::Neutron::Port"}}]}] grant end res_body[{'id': '1dcdaa57-c7ab-45d4-95c7-770649add2f7', 'vnf_instance_id': '8e921e2c-9513-41e6-9dc7-e02dd8d1096a', 'vnf_lcm_op_occ_id': '9ff51455-570e-444c-880b-30500323a592', 'update_resources': [{'resource_definition_id': 'f579f294-0599-4b8b-a66d-a686375072c5'}, {'resource_definition_id': 'd2f7fcf1-1619-43a2-9ee5-4110ca83d1c0'}, {'resource_definition_id': 'dfe6991a-e7d3-47e9-89b6-47332113f2dd'}, {'resource_definition_id': 'bcd4670e-3995-4c80-871b-40eaaf6f90a9'}]}] Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_change_ext_conn_grant [0.067463s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "94b61417-93ce-4e83-b33f-eecd880d1ec2", "vnfLcmOpOccId": "9ff51455-570e-444c-880b-30500323a592", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "CHANGE_EXT_CONN", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/94b61417-93ce-4e83-b33f-eecd880d1ec2"}}, "updateResources": [{"id": "f579f294-0599-4b8b-a66d-a686375072c5", "type": "LINKPORT", "resourceTemplateId": "CP1", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "29959b4b-57d6-491e-867a-d92d031cabc3", "vimLevelResourceType": "OS::Neutron::Port"}}, {"id": "d2f7fcf1-1619-43a2-9ee5-4110ca83d1c0", "type": "LINKPORT", "resourceTemplateId": "CP2", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "71c50c97-25b9-47a1-8d05-e31d1206780f", "vimLevelResourceType": "OS::Neutron::Port"}}, {"id": "bcd4670e-3995-4c80-871b-40eaaf6f90a9", "type": "LINKPORT", "resourceTemplateId": "CP5", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "ab034f69-4efb-41c3-9f5b-092aa17b636a", "vimLevelResourceType": "OS::Neutron::Port"}}, {"id": "dfe6991a-e7d3-47e9-89b6-47332113f2dd", "type": "LINKPORT", "resourceTemplateId": "CP3", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "098de0bc-a371-4e1d-8216-9760ef1d5b0f", "vimLevelResourceType": "OS::Neutron::Port"}}]}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_change_ext_conn_grant_exception_http_error [0.065891s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "f1212cfd-6e3a-4eee-9be4-7a67a90abe2b", "vnfLcmOpOccId": "9ff51455-570e-444c-880b-30500323a592", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "CHANGE_EXT_CONN", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/f1212cfd-6e3a-4eee-9be4-7a67a90abe2b"}}, "updateResources": [{"id": "f579f294-0599-4b8b-a66d-a686375072c5", "type": "LINKPORT", "resourceTemplateId": "CP1", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "29959b4b-57d6-491e-867a-d92d031cabc3", "vimLevelResourceType": "OS::Neutron::Port"}}, {"id": "d2f7fcf1-1619-43a2-9ee5-4110ca83d1c0", "type": "LINKPORT", "resourceTemplateId": "CP2", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "71c50c97-25b9-47a1-8d05-e31d1206780f", "vimLevelResourceType": "OS::Neutron::Port"}}, {"id": "bcd4670e-3995-4c80-871b-40eaaf6f90a9", "type": "LINKPORT", "resourceTemplateId": "CP5", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "ab034f69-4efb-41c3-9f5b-092aa17b636a", "vimLevelResourceType": "OS::Neutron::Port"}}, {"id": "dfe6991a-e7d3-47e9-89b6-47332113f2dd", "type": "LINKPORT", "resourceTemplateId": "CP3", "resource": {"vimConnectionId": "6415bc7f-4e16-4b81-a765-fa2ea04b0022", "resourceId": "098de0bc-a371-4e1d-8216-9760ef1d5b0f", "vimLevelResourceType": "OS::Neutron::Port"}}]}] grant end res_body[{'id': '1dcdaa57-c7ab-45d4-95c7-770649add2f7', 'vnf_instance_id': 'f1212cfd-6e3a-4eee-9be4-7a67a90abe2b', 'vnf_lcm_op_occ_id': '9ff51455-570e-444c-880b-30500323a592', 'update_resources': [{'resource_definition_id': 'c8eb5824-a3f7-4451-a0ee-fc53640884e6', 'vim_connection_id': '1ffcd358-bee3-4bfb-bc3a-920db09f5da5'}]}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_change_ext_conn_grant_exception_validation_error [0.064230s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_change_ext_conn_retry_error_point_1 [0.066145s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_change_ext_conn_retry_error_point_7 [0.066915s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_delete_vnf_package [0.049468s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_notification [0.049491s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Callback URI is False {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_notification_callback_uri_false [0.048739s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Notification failed status[400] callback_uri[https://localhost/callback] Notification failed status[400] callback_uri[https://localhost/callback] Notification failed status[400] callback_uri[https://localhost/callback] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_notification_retry [0.051853s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Notification request timed out. callback_uri[https://localhost/callback] reason[] Notification request timed out. callback_uri[https://localhost/callback] reason[] Notification request timed out. callback_uri[https://localhost/callback] reason[] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_notification_timeout [0.051297s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_notification_unknown_auth_type [0.049738s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_vnf_package_vnfd_download_from_glance_store [2.007300s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_vnf_package_vnfd_exception_from_glance_store [0.049617s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_vnf_package_vnfd_exception_from_read_vnfd_files [0.062508s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_vnf_package_vnfd_with_single_yaml_csar [0.269473s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_vnf_package_vnfd_with_tosca_meta_file_in_csar [1.891723s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': '7e468277-9117-4390-a495-6e484314ca91', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/7e468277-9117-4390-a495-6e484314ca91'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED Error in getting resources for op id - 9ff51455-570e-444c-880b-30500323a592. Details: 'NoneType' object has no attribute 'vnf_virtual_link_resource_info' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'COMPLETED', 'vnfInstanceId': '7e468277-9117-4390-a495-6e484314ca91', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/7e468277-9117-4390-a495-6e484314ca91'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_heal_vnf_instance [0.063390s] ... ok {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_heal_vnf_instance_already_not_instantiated ... SKIPPED: Such test is no longer feasible. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': '29951d30-4cc1-4ca3-b0d2-398665c98460', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/29951d30-4cc1-4ca3-b0d2-398665c98460'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED Error in getting resources for op id - 9ff51455-570e-444c-880b-30500323a592. Details: 'NoneType' object has no attribute 'vnf_virtual_link_resource_info' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'COMPLETED', 'vnfInstanceId': '29951d30-4cc1-4ca3-b0d2-398665c98460', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/29951d30-4cc1-4ca3-b0d2-398665c98460'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_heal_vnf_instance_error_point_internal_processing [0.086082s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': '0d4b7f97-39d6-40d8-b8e3-7d4bab4d38d8', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/0d4b7f97-39d6-40d8-b8e3-7d4bab4d38d8'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED Error in getting resources for op id - 9ff51455-570e-444c-880b-30500323a592. Details: 'NoneType' object has no attribute 'vnf_virtual_link_resource_info' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'COMPLETED', 'vnfInstanceId': '0d4b7f97-39d6-40d8-b8e3-7d4bab4d38d8', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/0d4b7f97-39d6-40d8-b8e3-7d4bab4d38d8'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_heal_vnf_instance_error_point_notify_completed [0.069085s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': '86438b10-eb2d-4369-91f9-a44efebc1474', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/86438b10-eb2d-4369-91f9-a44efebc1474'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED Error in getting resources for op id - 9ff51455-570e-444c-880b-30500323a592. Details: 'NoneType' object has no attribute 'vnf_virtual_link_resource_info' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'COMPLETED', 'vnfInstanceId': '86438b10-eb2d-4369-91f9-a44efebc1474', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/86438b10-eb2d-4369-91f9-a44efebc1474'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_heal_vnf_instance_error_point_notify_processing [0.071117s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_heal_vnf_instance_exception [0.060643s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "8cb8e3dd-fd44-4a98-a14c-3135833a5536", "vnfLcmOpOccId": "a9c36d21-21aa-4692-8922-7999bbcae08c", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "HEAL", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/8cb8e3dd-fd44-4a98-a14c-3135833a5536"}}}] grant end res_body[{'id': 'c213e465-8220-487e-9464-f79104e81e96', 'vnf_instance_id': '8cb8e3dd-fd44-4a98-a14c-3135833a5536', 'vnf_lcm_op_occ_id': 'a9c36d21-21aa-4692-8922-7999bbcae08c', 'add_resources': [], 'vim_assets': {'compute_resource_flavours': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_virtual_compute_desc_id': 'CDU1', 'vim_flavour_id': 'm1.tiny'}], 'software_images': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_software_image_id': 'VDU1', 'vim_software_image_id': 'cirros'}]}}] Update vnf lcm a9c36d21-21aa-4692-8922-7999bbcae08c PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': '8cb8e3dd-fd44-4a98-a14c-3135833a5536', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': 'a9c36d21-21aa-4692-8922-7999bbcae08c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/8cb8e3dd-fd44-4a98-a14c-3135833a5536'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm a9c36d21-21aa-4692-8922-7999bbcae08c COMPLETED send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'RESULT', 'operationState': 'COMPLETED', 'vnfInstanceId': '8cb8e3dd-fd44-4a98-a14c-3135833a5536', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': 'a9c36d21-21aa-4692-8922-7999bbcae08c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/8cb8e3dd-fd44-4a98-a14c-3135833a5536'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c'}}, 'changedExtConnectivity': []}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_heal_vnf_instance_grant [0.080328s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( The pre-parsed input successfully passed validation. grant start grant_request[{"vnfInstanceId": "96fd82f1-7e72-4f9e-b0fd-8922ce35a751", "vnfLcmOpOccId": "a9c36d21-21aa-4692-8922-7999bbcae08c", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "HEAL", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/96fd82f1-7e72-4f9e-b0fd-8922ce35a751"}}, "addResources": [{"id": "f376b9a2-41f3-409e-8322-37ea987814b5", "type": "COMPUTE", "resourceTemplateId": "VDU1", "vduId": "VDU1"}, {"id": "6ae4be4e-20d9-4f21-8767-3f7b2b776209", "type": "COMPUTE", "resourceTemplateId": "VDU1", "vduId": "VDU1"}], "removeResources": [{"id": "2c6e5cc7-240d-4458-a683-1fe648351280", "type": "COMPUTE", "resourceTemplateId": "VDU1", "vduId": "VDU1", "resource": {"vimConnectionId": "df3bf5ad-ec55-430c-b861-f9bd6699d491", "resourceId": "6e1c286d-c023-4b34-8369-831c6e84cce2", "vimLevelResourceType": null}}, {"id": "faf14707-da7c-4eec-be99-8099fa1e9fa1", "type": "VL", "resourceTemplateId": "VL1", "resource": {"vimConnectionId": "df3bf5ad-ec55-430c-b861-f9bd6699d491", "resourceId": "6e1c286d-c023-4b34-8369-831c6e84cce5", "vimLevelResourceType": null}}, {"id": "faf14707-da7c-4eec-be99-8099fa1e9fb9", "type": "LINKPORT", "resourceTemplateId": "PORT1", "vduId": "VDU1", "resource": {"vimConnectionId": "df3bf5ad-ec55-430c-b861-f9bd6699d491", "resourceId": "6e1c286d-c023-4b34-8369-831c6e84cce3", "vimLevelResourceType": null}}, {"id": "faf14707-da7c-4eec-be99-8099fa1e9fa0", "type": "STORAGE", "resourceTemplateId": "ST1", "vduId": "VDU1", "resource": {"vimConnectionId": "df3bf5ad-ec55-430c-b861-f9bd6699d491", "resourceId": "6e1c286d-c023-4b34-8369-831c6e84cce4", "vimLevelResourceType": null}}], "placementConstraints": [{"affinityOrAntiAffinity": "ANTI_AFFINITY", "scope": "ZONE", "fallbackBestEffort": true, "resource": [{"idType": "RES_MGMT", "resourceId": "2c6e5cc7-240d-4458-a683-1fe648351200"}]}]}] grant end res_body[{'id': 'c213e465-8220-487e-9464-f79104e81e96', 'vnf_instance_id': '96fd82f1-7e72-4f9e-b0fd-8922ce35a751', 'vnf_lcm_op_occ_id': 'a9c36d21-21aa-4692-8922-7999bbcae08c', 'add_resources': [{'resource_definition_id': '2c6e5cc7-240d-4458-a683-1fe648351281', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': '2c6e5cc7-240d-4458-a683-1fe648351282', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}], 'remove_resources': [{'resource_definition_id': '2c6e5cc7-240d-4458-a683-1fe648351280'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa0'}, {'resource_definition_id': 'c91e0e86-e555-71fc-0f6b-e3d2945f2fd6'}, {'resource_definition_id': '5d84a03c-07e9-4978-b0cd-6450482189b7'}], 'vim_assets': {'compute_resource_flavours': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_virtual_compute_desc_id': 'CDU1', 'vim_flavour_id': 'm1.tiny'}], 'software_images': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_software_image_id': 'VDU1', 'vim_software_image_id': 'cirros'}]}}] Update vnf lcm a9c36d21-21aa-4692-8922-7999bbcae08c PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': '96fd82f1-7e72-4f9e-b0fd-8922ce35a751', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': 'a9c36d21-21aa-4692-8922-7999bbcae08c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/96fd82f1-7e72-4f9e-b0fd-8922ce35a751'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm a9c36d21-21aa-4692-8922-7999bbcae08c COMPLETED send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'RESULT', 'operationState': 'COMPLETED', 'vnfInstanceId': '96fd82f1-7e72-4f9e-b0fd-8922ce35a751', 'operation': 'HEAL', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': 'a9c36d21-21aa-4692-8922-7999bbcae08c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/96fd82f1-7e72-4f9e-b0fd-8922ce35a751'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c'}}, 'changedExtConnectivity': []}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["HEAL"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_heal_vnf_instance_grant_1 [0.548253s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "23d21fe7-0fdc-4798-a42c-7a82b8a13d65", "vnfLcmOpOccId": "a9c36d21-21aa-4692-8922-7999bbcae08c", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "HEAL", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/23d21fe7-0fdc-4798-a42c-7a82b8a13d65"}}}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_heal_vnf_instance_grant_exception [0.075933s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "4e95b460-7ace-40e0-ab95-7eb0adbcc5e9", "vnfLcmOpOccId": "a9c36d21-21aa-4692-8922-7999bbcae08c", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "HEAL", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/4e95b460-7ace-40e0-ab95-7eb0adbcc5e9"}}}] grant end res_body[{'id': 'c213e465-8220-487e-9464-f79104e81e96', 'vnf_instance_id': '4e95b460-7ace-40e0-ab95-7eb0adbcc5e9', 'vnf_lcm_op_occ_id': 'a9c36d21-21aa-4692-8922-7999bbcae08c', 'add_resources': [{'resource_definition_id': '2c6e5cc7-240d-4458-a683-1fe648351281', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}], 'vim_assets': {'compute_resource_flavours': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_virtual_compute_desc_id': 'CDU1', 'vim_flavour_id': 'm1.tiny'}], 'software_images': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_software_image_id': 'VDU1', 'vim_software_image_id': 'cirros'}]}}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_heal_vnf_instance_grant_resource_exception [0.075832s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_init_csar_files [0.051648s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_init_csar_files_exception [0.049655s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_init_host [0.053736s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "217356ea-799d-41eb-975b-766278cfb70b", "vnfLcmOpOccId": "9ff51455-570e-444c-880b-30500323a592", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "test", "operation": "INSTANTIATE", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/217356ea-799d-41eb-975b-766278cfb70b"}}, "addResources": [{"id": "67515d79-2aee-4759-b8c2-2db88f3a58c0", "type": "COMPUTE", "resourceTemplateId": "VDU1", "vduId": "VDU1"}, {"id": "03eaf6ac-87c1-4c5c-a8e3-1936f1b60bea", "type": "VL", "resourceTemplateId": "VL3"}, {"id": "bf7b128f-7c45-489e-80a1-062cd1e54cc8", "type": "LINKPORT", "resourceTemplateId": "CP1", "vduId": "VDU1"}, {"id": "3068a9db-6945-40aa-b99b-58746e7daf5e", "type": "STORAGE", "resourceTemplateId": "VB1", "vduId": "VDU1"}], "placementConstraints": [{"affinityOrAntiAffinity": "ANTI_AFFINITY", "scope": "ZONE", "fallbackBestEffort": true, "resource": [{"idType": "GRANT", "resourceId": "67515d79-2aee-4759-b8c2-2db88f3a58c0"}]}]}] grant end res_body[{'id': 'c213e465-8220-487e-9464-f79104e81e96', 'vnf_instance_id': '217356ea-799d-41eb-975b-766278cfb70b', 'vnf_lcm_op_occ_id': '9ff51455-570e-444c-880b-30500323a592', 'add_resources': [{'resource_definition_id': '2c6e5cc7-240d-4458-a683-1fe648351280', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa9', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa0', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa1', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}], 'vim_assets': {'compute_resource_flavours': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_virtual_compute_desc_id': 'CDU1', 'vim_flavour_id': 'm1.tiny'}], 'software_images': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_software_image_id': 'VDU1', 'vim_software_image_id': 'cirros'}]}}] Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED Error in getting resources for op id - 9ff51455-570e-444c-880b-30500323a592. Details: 'affectedVnfcs' {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_grant [0.077127s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': '00c3ea51-0281-4f00-93fe-208a3e5eb5da', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/00c3ea51-0281-4f00-93fe-208a3e5eb5da'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED Error in getting resources for op id - 9ff51455-570e-444c-880b-30500323a592. Details: 'affectedVnfcs' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'COMPLETED', 'vnfInstanceId': '00c3ea51-0281-4f00-93fe-208a3e5eb5da', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/00c3ea51-0281-4f00-93fe-208a3e5eb5da'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance [0.076937s] ... ok {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance_already_instantiated ... SKIPPED: Such test is no longer feasible. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': 'b11fcab5-26d9-4987-9295-81600eb9efa3', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/b11fcab5-26d9-4987-9295-81600eb9efa3'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED Error in getting resources for op id - 9ff51455-570e-444c-880b-30500323a592. Details: 'affectedVnfcs' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'COMPLETED', 'vnfInstanceId': 'b11fcab5-26d9-4987-9295-81600eb9efa3', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/b11fcab5-26d9-4987-9295-81600eb9efa3'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance_error_point_notify_completed [0.072900s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': 'fd011b59-8c53-45e7-aae1-be6ca567ff20', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/fd011b59-8c53-45e7-aae1-be6ca567ff20'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED Error in getting resources for op id - 9ff51455-570e-444c-880b-30500323a592. Details: 'affectedVnfcs' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'COMPLETED', 'vnfInstanceId': 'fd011b59-8c53-45e7-aae1-be6ca567ff20', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/fd011b59-8c53-45e7-aae1-be6ca567ff20'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance_error_point_notify_processing [0.075772s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': '2d729ed9-54d9-498f-8306-f596f6aedfd6', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/2d729ed9-54d9-498f-8306-f596f6aedfd6'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED Error in getting resources for op id - 9ff51455-570e-444c-880b-30500323a592. Details: 'affectedVnfcs' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'COMPLETED', 'vnfInstanceId': '2d729ed9-54d9-498f-8306-f596f6aedfd6', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/2d729ed9-54d9-498f-8306-f596f6aedfd6'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance_error_point_vnf_config_end [0.075389s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance_failed_with_exception [0.074588s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "86c6b748-35bb-4be8-ad4a-3d9d00d3840e", "vnfLcmOpOccId": "a9c36d21-21aa-4692-8922-7999bbcae08c", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "test", "operation": "INSTANTIATE", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/86c6b748-35bb-4be8-ad4a-3d9d00d3840e"}}, "addResources": [{"id": "d3dc69e3-eece-45c4-9929-5f05cf03446d", "type": "COMPUTE", "resourceTemplateId": "VDU1", "vduId": "VDU1"}, {"id": "d46ef37f-2261-4e28-ace6-d6c4bb74b6c5", "type": "VL", "resourceTemplateId": "VL3"}, {"id": "04a255c3-7574-478e-9310-76918977746c", "type": "LINKPORT", "resourceTemplateId": "CP1", "vduId": "VDU1"}, {"id": "29d60694-4790-4fed-b7e9-f2258e421525", "type": "STORAGE", "resourceTemplateId": "VB1", "vduId": "VDU1"}]}] grant end res_body[{'id': 'c213e465-8220-487e-9464-f79104e81e96', 'vnf_instance_id': '86c6b748-35bb-4be8-ad4a-3d9d00d3840e', 'vnf_lcm_op_occ_id': 'a9c36d21-21aa-4692-8922-7999bbcae08c', 'add_resources': [{'resource_definition_id': '2c6e5cc7-240d-4458-a683-1fe648351280', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa9', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa0', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa1', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}], 'vim_assets': {'compute_resource_flavours': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_virtual_compute_desc_id': 'CDU1', 'vim_flavour_id': 'm1.tiny'}], 'software_images': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_software_image_id': 'VDU1', 'vim_software_image_id': 'cirros'}]}}] Update vnf lcm a9c36d21-21aa-4692-8922-7999bbcae08c PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': '86c6b748-35bb-4be8-ad4a-3d9d00d3840e', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': 'a9c36d21-21aa-4692-8922-7999bbcae08c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/86c6b748-35bb-4be8-ad4a-3d9d00d3840e'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Error in updating tables VNF eb84260e-5ff7-4332-b032-50a14d6c1123 not found Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 2075, in instantiate self._update_vnf_attributes(context, vnf_instance, vnf_dict, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 799, in _update_vnf_attributes context.session.commit() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 742, in _update_vnf_attributes raise exceptions.VnfInstanceNotFound( tacker.common.exceptions.VnfInstanceNotFound: VNF eb84260e-5ff7-4332-b032-50a14d6c1123 not found Exception occured in instantiation for vnf instance 86c6b748-35bb-4be8-ad4a-3d9d00d3840e. Error: VNF eb84260e-5ff7-4332-b032-50a14d6c1123 not found Update vnf lcm a9c36d21-21aa-4692-8922-7999bbcae08c FAILED_TEMP Error in getting resources for op id - a9c36d21-21aa-4692-8922-7999bbcae08c. Details: 'affectedVnfcs' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'FAILED_TEMP', 'vnfInstanceId': '86c6b748-35bb-4be8-ad4a-3d9d00d3840e', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': 'a9c36d21-21aa-4692-8922-7999bbcae08c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/86c6b748-35bb-4be8-ad4a-3d9d00d3840e'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 2075, in instantiate self._update_vnf_attributes(context, vnf_instance, vnf_dict, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 799, in _update_vnf_attributes context.session.commit() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 742, in _update_vnf_attributes raise exceptions.VnfInstanceNotFound( tacker.common.exceptions.VnfInstanceNotFound: VNF eb84260e-5ff7-4332-b032-50a14d6c1123 not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance_grant [0.083712s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "b807c63d-62b5-4b83-9f16-1e9d6dd50de5", "vnfLcmOpOccId": "a9c36d21-21aa-4692-8922-7999bbcae08c", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "test", "operation": "INSTANTIATE", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/b807c63d-62b5-4b83-9f16-1e9d6dd50de5"}}, "addResources": [{"id": "668c4017-ff54-4370-929f-d2df95bb540b", "type": "COMPUTE", "resourceTemplateId": "VDU1", "vduId": "VDU1"}, {"id": "ca9ca464-3d3e-4633-b1c7-11f9a54bea0c", "type": "VL", "resourceTemplateId": "VL3"}, {"id": "0dc7186b-e745-4b8e-aa11-c5bcaa76bddf", "type": "LINKPORT", "resourceTemplateId": "CP1", "vduId": "VDU1"}, {"id": "89eb76a6-b090-4ee9-8f1c-2ada99023d5a", "type": "STORAGE", "resourceTemplateId": "VB1", "vduId": "VDU1"}]}] /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance_grant_exception [0.073973s] ... ok grant start grant_request[{"vnfInstanceId": "152b6ba5-5927-4299-a271-7a8da7dd824e", "vnfLcmOpOccId": "a9c36d21-21aa-4692-8922-7999bbcae08c", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "test", "operation": "INSTANTIATE", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/152b6ba5-5927-4299-a271-7a8da7dd824e"}}}] grant end res_body[{'id': 'c213e465-8220-487e-9464-f79104e81e96', 'vnf_instance_id': '152b6ba5-5927-4299-a271-7a8da7dd824e', 'vnf_lcm_op_occ_id': 'a9c36d21-21aa-4692-8922-7999bbcae08c', 'add_resources': [{'resource_definition_id': '2c6e5cc7-240d-4458-a683-1fe648351280', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa9', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa0', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}], 'vim_assets': {'compute_resource_flavours': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_virtual_compute_desc_id': 'CDU1', 'vim_flavour_id': 'm1.tiny'}], 'software_images': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_software_image_id': 'VDU1', 'vim_software_image_id': 'cirros'}]}}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance_grant_resource_exception [0.066372s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': '0815386c-0330-40f1-b9df-c3f2354fd8ac', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/0815386c-0330-40f1-b9df-c3f2354fd8ac'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED Error in getting resources for op id - 9ff51455-570e-444c-880b-30500323a592. Details: 'affectedVnfcs' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'COMPLETED', 'vnfInstanceId': '0815386c-0330-40f1-b9df-c3f2354fd8ac', 'operation': 'INSTANTIATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '9ff51455-570e-444c-880b-30500323a592', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/0815386c-0330-40f1-b9df-c3f2354fd8ac'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/9ff51455-570e-444c-880b-30500323a592'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["INSTANTIATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance_with_vim_id_update [0.070935s] ... ok {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance_with_vnf_package_in_use ... SKIPPED: Such test is no longer feasible. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 PROCESSING Update vnf lcm 9ff51455-570e-444c-880b-30500323a592 COMPLETED {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_instantiate_vnf_instance_without_virtual_storage [0.076440s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_lcm_notification_exception_in_exception [0.080617s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_load_csar_data [0.060742s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_load_csar_data_downloading_not_completed [0.058248s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_load_csar_data_with_onboarding_state_created [0.059882s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_onboard_vnf_package_through_upload_vnf_package_content [0.052357s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_revert_upload_vnf_package_in_load_csar_data [0.061229s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_run_cleanup_vnf_packages [0.098153s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "a6b083fd-9643-47d0-873f-ac41ef9fabf9", "vnfLcmOpOccId": "00e1314d-2a82-40bd-b318-cc881243843d", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "SCALE", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/00e1314d-2a82-40bd-b318-cc881243843d"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9"}}, "addResources": [{"id": "2c6e5cc7-240d-4458-a683-1fe648351280", "type": "COMPUTE", "resourceTemplateId": "VDU1", "vduId": "VDU1"}, {"id": "faf14707-da7c-4eec-be99-8099fa1e9fa9", "type": "LINKPORT", "resourceTemplateId": "PORT1", "vduId": "VDU1"}, {"id": "faf14707-da7c-4eec-be99-8099fa1e9fa9", "type": "STORAGE", "resourceTemplateId": "ST1", "vduId": "VDU1"}]}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_scale_grants_exception [0.075120s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "a6b083fd-9643-47d0-873f-ac41ef9fabf9", "vnfLcmOpOccId": "00e1314d-2a82-40bd-b318-cc881243842d", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "SCALE", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/00e1314d-2a82-40bd-b318-cc881243842d"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9"}}, "addResources": [{"id": "2c6e5cc7-240d-4458-a683-1fe648351280", "type": "COMPUTE", "resourceTemplateId": "VDU1", "vduId": "VDU1"}, {"id": "faf14707-da7c-4eec-be99-8099fa1e9fa9", "type": "LINKPORT", "resourceTemplateId": "PORT1", "vduId": "VDU1"}, {"id": "faf14707-da7c-4eec-be99-8099fa1e9fa9", "type": "STORAGE", "resourceTemplateId": "ST1", "vduId": "VDU1"}], "placementConstraints": [{"affinityOrAntiAffinity": "ANTI_AFFINITY", "scope": "ZONE", "fallbackBestEffort": true, "resource": [{"idType": "RES_MGMT", "resourceId": "2c6e5cc7-240d-4458-a683-1fe648351200", "vimConnectionId": "df3bf5ad-ec55-430c-b861-f9bd6699d491"}, {"idType": "GRANT", "resourceId": "2c6e5cc7-240d-4458-a683-1fe648351280"}]}]}] grant end res_body[{'id': 'c213e465-8220-487e-9464-f79104e81e96', 'vnf_instance_id': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'vnf_lcm_op_occ_id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'add_resources': [{'resource_definition_id': '2c6e5cc7-240d-4458-a683-1fe648351280', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa9', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa9', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}], 'vim_assets': {'compute_resource_flavours': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_virtual_compute_desc_id': 'CDU1', 'vim_flavour_id': 'm1.tiny'}], 'software_images': [{'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'vnfd_software_image_id': 'VDU1', 'vim_software_image_id': 'cirros'}]}}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_scale_grants_out [0.066302s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "a6b083fd-9643-47d0-873f-ac41ef9fabf9", "vnfLcmOpOccId": "00e1314d-2a82-40bd-b318-cc881243843d", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "SCALE", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/00e1314d-2a82-40bd-b318-cc881243843d"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9"}}, "addResources": [{"id": "2c6e5cc7-240d-4458-a683-1fe648351280", "type": "COMPUTE", "resourceTemplateId": "VDU1", "vduId": "VDU1"}, {"id": "faf14707-da7c-4eec-be99-8099fa1e9fa9", "type": "LINKPORT", "resourceTemplateId": "PORT1", "vduId": "VDU1"}, {"id": "faf14707-da7c-4eec-be99-8099fa1e9fa9", "type": "STORAGE", "resourceTemplateId": "ST1", "vduId": "VDU1"}]}] grant end res_body[{'id': 'c213e465-8220-487e-9464-f79104e81e96', 'vnf_instance_id': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'vnf_lcm_op_occ_id': 'f26f181d-7891-4720-b022-b074ec1733ef'}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_scale_grants_out_resource_exception [0.069691s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_scale_in [0.054842s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "a6b083fd-9643-47d0-873f-ac41ef9fabf9", "vnfLcmOpOccId": "f26f181d-7891-4720-b022-b074ec1733ef", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "SCALE", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/f26f181d-7891-4720-b022-b074ec1733ef"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9"}}, "removeResources": [{"id": "2c6e5cc7-240d-4458-a683-1fe648351280", "type": "COMPUTE", "resourceTemplateId": "VDU1", "vduId": "VDU1", "resource": {"vimConnectionId": "df3bf5ad-ec55-430c-b861-f9bd6699d491", "resourceId": "6e1c286d-c023-4b34-8369-831c6e84cce2", "vimLevelResourceType": null}}, {"id": "faf14707-da7c-4eec-be99-8099fa1e9fa9", "type": "LINKPORT", "resourceTemplateId": "PORT1", "vduId": "VDU1", "resource": {"vimConnectionId": "df3bf5ad-ec55-430c-b861-f9bd6699d491", "resourceId": "6e1c286d-c023-4b34-8369-831c6e84cce3", "vimLevelResourceType": null}}, {"id": "faf14707-da7c-4eec-be99-8099fa1e9fa9", "type": "STORAGE", "resourceTemplateId": "ST1", "vduId": "VDU1", "resource": {"vimConnectionId": "df3bf5ad-ec55-430c-b861-f9bd6699d491", "resourceId": "6e1c286d-c023-4b34-8369-831c6e84cce4", "vimLevelResourceType": null}}]}] grant end res_body[{'id': 'c213e465-8220-487e-9464-f79104e81e96', 'vnf_instance_id': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'vnf_lcm_op_occ_id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'remove_resources': [{'resource_definition_id': '2c6e5cc7-240d-4458-a683-1fe648351280', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa9', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}, {'resource_definition_id': 'faf14707-da7c-4eec-be99-8099fa1e9fa9', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}]}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_scale_in_grants [0.198267s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'notificationTypes': 'VnfIdentifierCreationNotification', 'links': {}}] Internal Sever Error[MockException] Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1866, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect Exception: MockException {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_send_notification_internal_server_error [0.047937s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'notificationType': 'VnfLcmOperationOccurrenceNotification'}] Can not find vnf instance for notification: vnf_lcm_subscription not found id[a6b083fd-9643-47d0-873f-ac41ef9fabf9] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_send_notification_not_found_subscription [0.049796s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'notificationType': 'VnfIdentifierCreationNotification', 'links': {}}] Notification failed id[9c52df86-27dd-4c8c-a5f9-1e053d5d303b] status[400] callback_uri[b'https://localhost/callback'] Notification failed id[9c52df86-27dd-4c8c-a5f9-1e053d5d303b] status[400] callback_uri[b'https://localhost/callback'] Notification failed id[9c52df86-27dd-4c8c-a5f9-1e053d5d303b] status[400] callback_uri[b'https://localhost/callback'] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_send_notification_retry_notification [0.050057s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'notificationType': 'VnfIdentifierCreationNotification', 'links': {}}] send error[MockException] Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1908, in send_notification response = auth_client.post( File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 637, in post return self.request("POST", url, data=data, json=json, **kwargs) File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.9/site-packages/requests_mock/mocker.py", line 185, in _fake_send return _original_send(session, request, **kwargs) File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.9/site-packages/requests_mock/adapter.py", line 248, in send resp = matcher(request) File "/usr/lib/python3.9/site-packages/requests_mock/adapter.py", line 228, in __call__ return response_matcher.get_response(request) File "/usr/lib/python3.9/site-packages/requests_mock/response.py", line 253, in get_response raise self._exc requests.exceptions.HTTPError: MockException {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_send_notification_send_error [0.050044s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'notificationType': 'VnfIdentifierCreationNotification', 'links': {}}] Notification request timed out. id[810b5cfe-f6a4-4dfa-9877-515d7319e82d] callback_uri[b'https://localhost/callback'] reason[] Notification request timed out. id[810b5cfe-f6a4-4dfa-9877-515d7319e82d] callback_uri[b'https://localhost/callback'] reason[] Notification request timed out. id[810b5cfe-f6a4-4dfa-9877-515d7319e82d] callback_uri[b'https://localhost/callback'] reason[] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_send_notification_timeout [0.051364s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'notificationType': 'VnfIdentifierCreationNotification', 'links': {}}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_send_notification_vnf_identifier_creation [0.050203s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'notificationType': 'VnfLcmOperationOccurrenceNotification', 'operationTypes': 'SCALE', 'operationStates': 'RESULT', '_links': {}}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_send_notification_vnf_lcm_operation_occurrence [0.050681s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'notificationType': 'VnfIdentifierCreationNotification', 'links': {}}] {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_send_notification_with_auth_basic [0.051094s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'notificationType': 'VnfIdentifierCreationNotification', 'links': {}}] Get Access Token, Connecting to {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_send_notification_with_auth_client_credentials [0.052021s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_sync_db [0.055595s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance [0.061641s] ... ok {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_already_not_instantiated ... SKIPPED: Such test is no longer feasible. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_error_point_internal_processing [0.069532s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_error_point_notify_completed [0.062504s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_error_point_notify_processing [0.062894s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_exception [0.062019s] ... ok {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_failed_to_update_usage_state ... SKIPPED: Such test is no longer feasible. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm a9c36d21-21aa-4692-8922-7999bbcae08c PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': '5f090994-e47a-4d7a-a1cf-0a45b3fcfced', 'operation': 'TERMINATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': 'a9c36d21-21aa-4692-8922-7999bbcae08c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/5f090994-e47a-4d7a-a1cf-0a45b3fcfced'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["TERMINATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["TERMINATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm a9c36d21-21aa-4692-8922-7999bbcae08c COMPLETED Error in getting resources for op id - a9c36d21-21aa-4692-8922-7999bbcae08c. Details: 'affectedVnfcs' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'COMPLETED', 'vnfInstanceId': '5f090994-e47a-4d7a-a1cf-0a45b3fcfced', 'operation': 'TERMINATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': 'a9c36d21-21aa-4692-8922-7999bbcae08c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/5f090994-e47a-4d7a-a1cf-0a45b3fcfced'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["TERMINATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["TERMINATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_grant [0.074288s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Update vnf lcm a9c36d21-21aa-4692-8922-7999bbcae08c PROCESSING send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': 'cb00ea3a-ae6c-4b1b-be52-6ee0881ddbec', 'operation': 'TERMINATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': 'a9c36d21-21aa-4692-8922-7999bbcae08c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/cb00ea3a-ae6c-4b1b-be52-6ee0881ddbec'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["TERMINATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["TERMINATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) Update vnf lcm a9c36d21-21aa-4692-8922-7999bbcae08c COMPLETED Error in getting resources for op id - a9c36d21-21aa-4692-8922-7999bbcae08c. Details: 'affectedVnfcs' send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'COMPLETED', 'vnfInstanceId': 'cb00ea3a-ae6c-4b1b-be52-6ee0881ddbec', 'operation': 'TERMINATE', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': 'a9c36d21-21aa-4692-8922-7999bbcae08c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/cb00ea3a-ae6c-4b1b-be52-6ee0881ddbec'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["TERMINATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["TERMINATE"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_grant_1 [0.073347s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_grant_and_vnf_instance_update_exception [0.079500s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "76d24972-5aa2-4c56-b24b-731486d1fccf", "vnfLcmOpOccId": "a9c36d21-21aa-4692-8922-7999bbcae08c", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "TERMINATE", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/76d24972-5aa2-4c56-b24b-731486d1fccf"}}}] Failed to revert task state for vnf instance 76d24972-5aa2-4c56-b24b-731486d1fccf. Error: test_ex {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_grant_exception [0.076547s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( grant start grant_request[{"vnfInstanceId": "ea9ecf5e-72ca-45dd-959c-a2cef7de7510", "vnfLcmOpOccId": "a9c36d21-21aa-4692-8922-7999bbcae08c", "vnfdId": "ad6be9a0-7e34-4961-8810-b36cab4e80cd", "flavourId": "simple", "operation": "TERMINATE", "isAutomaticInvocation": false, "_links": {"vnfLcmOpOcc": {"href": "http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/a9c36d21-21aa-4692-8922-7999bbcae08c"}, "vnfInstance": {"href": "http://localhost:9890//vnflcm/v1/vnf_instances/ea9ecf5e-72ca-45dd-959c-a2cef7de7510"}}}] grant end res_body[{'id': 'c213e465-8220-487e-9464-f79104e81e96', 'vnf_instance_id': 'ea9ecf5e-72ca-45dd-959c-a2cef7de7510', 'vnf_lcm_op_occ_id': 'a9c36d21-21aa-4692-8922-7999bbcae08c', 'remove_resources': [{'resource_definition_id': '2c6e5cc7-240d-4458-a683-1fe648351280', 'vim_connection_id': 'df3bf5ad-ec55-430c-b861-f9bd6699d491', 'zone_id': '5e4da3c3-4a55-412a-b624-843921f8b51d'}]}] Failed to revert task state for vnf instance ea9ecf5e-72ca-45dd-959c-a2cef7de7510. Error: test_ex {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_grant_resource_exception [0.073460s] ... ok {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_with_usage_state_already_in_use ... SKIPPED: Such test is no longer feasible. {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_terminate_vnf_instance_with_usage_state_not_in_use ... SKIPPED: Such test is no longer feasible. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'operation': 'MODIFY_INFO', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '0347c896-53b4-4b16-a1cf-d72f07006b9c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/0347c896-53b4-4b16-a1cf-d72f07006b9c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'RESULT', 'operationState': 'COMPLETED', 'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'operation': 'MODIFY_INFO', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '0347c896-53b4-4b16-a1cf-d72f07006b9c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/0347c896-53b4-4b16-a1cf-d72f07006b9c'}}, 'changed_info': {'vnf_instance_name': 'new_instance_name', 'vnf_instance_description': 'new_instance_discription', 'vnf_provider': 'test vnf provider', 'vnf_product_name': 'Sample VNF', 'vnf_software_version': '1.0', 'vnfd_version': '1.0'}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_update [0.061616s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'operation': 'MODIFY_INFO', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '0347c896-53b4-4b16-a1cf-d72f07006b9c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/0347c896-53b4-4b16-a1cf-d72f07006b9c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'RESULT', 'operationState': 'COMPLETED', 'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'operation': 'MODIFY_INFO', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '0347c896-53b4-4b16-a1cf-d72f07006b9c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/0347c896-53b4-4b16-a1cf-d72f07006b9c'}}, 'changed_info': {'vnf_instance_name': 'new_instance_name', 'vnf_instance_description': 'new_instance_discription', 'vnf_provider': 'test vnf provider', 'vnf_product_name': 'Sample VNF', 'vnf_software_version': '1.0', 'vnfd_version': '1.0'}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_update_lcm_with_vnf_pkg_id [0.062228s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'operation': 'MODIFY_INFO', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '0347c896-53b4-4b16-a1cf-d72f07006b9c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/0347c896-53b4-4b16-a1cf-d72f07006b9c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'RESULT', 'operationState': 'COMPLETED', 'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'operation': 'MODIFY_INFO', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '0347c896-53b4-4b16-a1cf-d72f07006b9c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/0347c896-53b4-4b16-a1cf-d72f07006b9c'}}, 'changed_info': {'vnf_instance_name': 'new_instance_name', 'vnf_provider': 'test vnf provider', 'vnf_product_name': 'Sample VNF', 'vnf_software_version': '1.0', 'vnfd_version': '1.0'}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_update_lcm_without_vnf_instance_description [0.060565s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'START', 'operationState': 'PROCESSING', 'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'operation': 'MODIFY_INFO', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '0347c896-53b4-4b16-a1cf-d72f07006b9c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/0347c896-53b4-4b16-a1cf-d72f07006b9c'}}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) send_notification start notification[{'notificationType': 'VnfLcmOperationOccurrenceNotification', 'notificationStatus': 'RESULT', 'operationState': 'COMPLETED', 'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'operation': 'MODIFY_INFO', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '0347c896-53b4-4b16-a1cf-d72f07006b9c', '_links': {'vnfInstance': {'href': 'http://localhost:9890/vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890/vnflcm/v1/vnf_lcm_op_occs/0347c896-53b4-4b16-a1cf-d72f07006b9c'}}, 'changed_info': {'vnf_instance_description': 'new_instance_discription', 'vnf_provider': 'test vnf provider', 'vnf_product_name': 'Sample VNF', 'vnf_software_version': '1.0', 'vnfd_version': '1.0'}}] Internal Sever Error[(sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8)] Traceback (most recent call last): File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: no such function: JSON_CONTAINS The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/conductor/conductor_server.py", line 1859, in send_notification objects.LccnSubscriptionRequest.vnf_lcm_subscriptions_get( File "/usr/lib/python3.9/site-packages/oslo_versionedobjects/base.py", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 568, in vnf_lcm_subscriptions_get return _vnf_lcm_subscriptions_get(context, File "/usr/lib/python3.9/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 998, in wrapper return fn(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/objects/vnf_lcm_subscriptions.py", line 156, in _vnf_lcm_subscriptions_get result = context.session.execute(text(stmt)) File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2351, in execute return self._execute_internal( File "/usr/lib64/python3.9/site-packages/sqlalchemy/orm/session.py", line 2245, in _execute_internal result = conn.execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1418, in execute return meth( File "/usr/lib64/python3.9/site-packages/sqlalchemy/sql/elements.py", line 515, in _execute_on_connection return connection._execute_clauseelement( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1640, in _execute_clauseelement ret = self._execute_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1846, in _execute_context return self._exec_single_context( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1986, in _exec_single_context self._handle_dbapi_exception( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 2350, in _handle_dbapi_exception raise newraise.with_traceback(exc_info[2]) from e File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/base.py", line 1967, in _exec_single_context self.dialect.do_execute( File "/usr/lib64/python3.9/site-packages/sqlalchemy/engine/default.py", line 924, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such function: JSON_CONTAINS [SQL: select t1.id,t1.callback_uri,t1.authentication, t1.tenant_id, t2.filter from vnf_lcm_subscriptions t1, (select distinct subscription_uuid,filter from vnf_lcm_filters where (notification_types_len = 0 or JSON_CONTAINS(notification_types, '["VnfLcmOperationOccurrenceNotification"]')) and (operation_types_len = 0 or JSON_CONTAINS(operation_types, '["MODIFY_INFO"]')) order by notification_types_len desc, operation_types_len desc) t2 where t1.id=t2.subscription_uuid and t1.deleted=0] (Background on this error at: https://sqlalche.me/e/20/e3q8) {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_update_lcm_without_vnf_instance_name [0.055475s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_upload_vnf_package_from_uri [0.060290s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Failed to open csar URL: http://localhost/test.zip due to error: HTTP Error 401: HTTP Error 401 Unauthorized {0} tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_upload_vnf_package_from_uri_with_invalid_auth [0.060805s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.common_services.test_common_services_db_plugin.TestCommonServicesDbPlugin.test_InvalidModelInputExceptionNotThrown [0.020475s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.common_services.test_common_services_db_plugin.TestCommonServicesDbPlugin.test_create_event [0.016246s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.common_services.test_common_services_db_plugin.TestCommonServicesDbPlugin.test_event_not_found [0.015503s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.common_services.test_common_services_db_plugin.TestCommonServicesDbPlugin.test_get_event_by_id [0.015274s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.common_services.test_common_services_db_plugin.TestCommonServicesDbPlugin.test_get_events [0.018614s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.common_services.test_common_services_db_plugin.TestCommonServicesDbPlugin.test_get_events_filtered_invalid_id [0.016948s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.common_services.test_common_services_db_plugin.TestCommonServicesDbPlugin.test_get_events_filtered_valid_id [0.015682s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.common_services.test_common_services_db_plugin.TestCommonServicesDbPlugin.test_get_events_valid_fields [0.014756s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_migration.TestCli.test_check_migration [0.011920s] ... ok {0} tacker.tests.unit.db.test_db_migration.TestCli.test_current [0.010947s] ... ok {0} tacker.tests.unit.db.test_db_migration.TestCli.test_database_sync_revision [0.015408s] ... ok {0} tacker.tests.unit.db.test_db_migration.TestCli.test_history [0.011325s] ... ok {0} tacker.tests.unit.db.test_db_migration.TestCli.test_stamp [0.012709s] ... ok {0} tacker.tests.unit.db.test_db_migration.TestCli.test_update_head_file_multiple_heads [0.010147s] ... ok {0} tacker.tests.unit.db.test_db_migration.TestCli.test_update_head_file_success [0.010679s] ... ok {0} tacker.tests.unit.db.test_db_migration.TestCli.test_upgrade [0.013403s] ... ok {0} tacker.tests.unit.db.test_db_migration.TestCli.test_validate_head_file_missing_file [0.011472s] ... ok {0} tacker.tests.unit.db.test_db_migration.TestCli.test_validate_head_file_multiple_heads [0.010401s] ... ok {0} tacker.tests.unit.db.test_db_migration.TestCli.test_validate_head_file_wrong_contents [0.010757s] ... ok {0} tacker.tests.unit.db.test_db_migration.TestCli.test_validate_head_success [0.012166s] ... ok {0} tacker.tests.unit.db.test_db_migration_to_v2.TestCliMigrateToV2.test_all_option [0.021091s] ... ok {0} tacker.tests.unit.db.test_db_migration_to_v2.TestCliMigrateToV2.test_api_ver_option [0.019474s] ... ok {0} tacker.tests.unit.db.test_db_migration_to_v2.TestCliMigrateToV2.test_keep_orig_option [0.013965s] ... ok {0} tacker.tests.unit.db.test_db_migration_to_v2.TestCliMigrateToV2.test_mark_delete_option [0.013565s] ... ok {0} tacker.tests.unit.db.test_db_migration_to_v2.TestCliMigrateToV2.test_no_option_invalid [0.012403s] ... ok {0} tacker.tests.unit.db.test_db_migration_to_v2.TestCliMigrateToV2.test_vnf_id_option [0.012725s] ... ok VIM id invalid or key not found for 6261579e-d6f3-49ad-8bc3-a9cb974778ff {0} tacker.tests.unit.db.test_db_migration_to_v2.TestDbMigrationToV2.test_create_vnf_instance_v2 [0.072176s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_migration_to_v2.TestDbMigrationToV2.test_create_vnf_lcm_op_occ_v2 [0.056119s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_migration_to_v2.TestDbMigrationToV2.test_get_all_vnfs [0.194467s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_migration_to_v2.TestDbMigrationToV2.test_mark_delete_v1 [0.067355s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_migration_to_v2.TestDbMigrationToV2.test_mark_delete_v2 [0.058202s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_purge_delete.TestDbPurgeDelete.test_age_negative_integer_input [0.015075s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_purge_delete.TestDbPurgeDelete.test_age_not_integer_input [0.015763s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_purge_delete.TestDbPurgeDelete.test_invalid_granularity_input [0.015180s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_purge_delete.TestDbPurgeDelete.test_purge_delete_call_events [0.015862s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_purge_delete.TestDbPurgeDelete.test_purge_delete_call_vim [0.016510s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_purge_delete.TestDbPurgeDelete.test_purge_delete_call_vnf [0.015094s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_db_purge_delete.TestDbPurgeDelete.test_purge_delete_call_vnfd [0.014671s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_artifact.TestVnfPackageArtifact.test_attribute_with_valid_data [0.019811s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_artifact.TestVnfPackageArtifact.test_get_by_id [0.019678s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_artifact.TestVnfPackageArtifact.test_get_by_id_with_no_existing_id [0.018636s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_artifact.TestVnfPackageArtifact.test_invalid_attribute [0.018327s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_artifact.TestVnfPackageArtifact.test_obj_load_attr_without_context [0.017578s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_artifact.TestVnfPackageArtifact.test_obj_load_attr_without_id_in_object [0.017127s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_artifact.TestVnfPackageArtifact.test_vnf_package_artifact_create [0.021727s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_instance.TestVnfLcm.test_destroy_vnf_instance [0.024203s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_instance.TestVnfLcm.test_vnf_instance_create [0.023529s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_instance.TestVnfLcm.test_vnf_instance_get_by_id [0.020873s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_instance.TestVnfLcm.test_vnf_instance_update [0.021715s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package.TestVnfPackage.test_add_user_defined_data [0.021658s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package.TestVnfPackage.test_destroy_vnf_package [0.025656s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package.TestVnfPackage.test_make_vnf_packages_list [0.023720s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package.TestVnfPackage.test_patch_user_data_add_key_value_and_modify_value [0.022237s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package.TestVnfPackage.test_patch_user_data_existing_key_new_value [0.021624s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package.TestVnfPackage.test_patch_user_data_existing_key_with_same_value [0.021153s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package.TestVnfPackage.test_patch_user_data_with_new_key_value [0.021199s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package.TestVnfPackage.test_vnf_package_create [0.020475s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package.TestVnfPackage.test_vnf_package_get_by_id [0.026046s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package.TestVnfPackage.test_vnf_package_list [0.025493s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package.TestVnfPackage.test_vnf_package_update [0.021156s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package_vnfd.TestVnfPackageVnfd.test_vnf_package_vnfd_create [0.019479s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_package_vnfd.TestVnfPackageVnfd.test_vnf_package_vnfd_get_by_id [0.019567s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_resource.TestVnfResource.test_destroy_vnf_resource [0.026547s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_resource.TestVnfResource.test_make_vnf_resources_list [0.024566s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_resource.TestVnfResource.test_vnf_resource_create [0.024026s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_resource.TestVnfResource.test_vnf_resource_get_by_id [0.022827s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_resource.TestVnfResource.test_vnf_resource_list [0.023182s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.db.test_vnf_resource.TestVnfResource.test_vnf_resource_update [0.023193s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.extensions.test_common_services.TestCommonServicesPlugin.test_InvalidModelInputExceptionNotThrown [0.015293s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.extensions.test_common_services.TestCommonServicesPlugin.test_create_event [0.015693s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.extensions.test_common_services.TestCommonServicesPlugin.test_event_not_found [0.014636s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.extensions.test_common_services.TestCommonServicesPlugin.test_get_event_by_id [0.015307s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.extensions.test_common_services.TestCommonServicesPlugin.test_get_events [0.016226s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.extensions.test_common_services.TestCommonServicesPlugin.test_get_events_filtered_invalid_id [0.016598s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.extensions.test_common_services.TestCommonServicesPlugin.test_get_events_filtered_valid_id [0.015975s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.extensions.test_common_services.TestCommonServicesPlugin.test_get_events_valid_fields [0.015011s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.extensions.test_extension_extended_attribute.ExtensionExtendedAttributeTestCase.test_ext_test_resource_create ... SKIPPED: Not ready yet {0} tacker.tests.unit.extensions.test_extension_extended_attribute.ExtensionExtendedAttributeTestCase.test_ext_test_resource_get ... SKIPPED: Not ready yet Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Failed to open csar URL: http://welcome.com/test.zip due to error: HTTP Error 401: HTTP Error 401 Unauthorized {0} tacker.tests.unit.glance_store.test_store.StoreBaseTest.test_get_csar_data_iter_unauthorised [0.011702s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.glance_store.test_store.StoreBaseTest.test_get_csar_data_iter_with_username_password [0.167491s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.glance_store.test_store.StoreBaseTest.test_get_csar_data_iter_without_username_password [0.011020s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Calculated Secrets uuid ref: secrets/True Calculated Secrets uuid ref: secrets/True {0} tacker.tests.unit.keymgr.test_barbican_key_manager.TestBarbicanKeyManager.test_delete_ext_oauth2_auth [0.015107s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.keymgr.test_barbican_key_manager.TestBarbicanKeyManager.test_get_ext_oauth2_auth [0.013414s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Error creating Barbican client: The value is required for option barbican_endpoint in group [key_manager] {0} tacker.tests.unit.keymgr.test_barbican_key_manager.TestBarbicanKeyManager.test_get_ext_oauth2_auth_no_endpoint [0.011168s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.keymgr.test_barbican_key_manager.TestBarbicanKeyManager.test_store_ext_oauth2_auth [0.014315s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_kubernetes_driver.TestKubernetes_Driver.test_deregister_vim_barbican [0.012149s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_kubernetes_driver.TestKubernetes_Driver.test_deregister_vim_barbican_ext_oauth2_auth [0.011982s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_kubernetes_driver.TestKubernetes_Driver.test_encode_vim_auth_barbican [0.011777s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_kubernetes_driver.TestKubernetes_Driver.test_encode_vim_auth_barbican_ext_oauth2_auth [0.012475s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_kubernetes_driver.TestKubernetes_Driver.test_register_k8sclient [0.013317s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_kubernetes_driver.TestKubernetes_Driver.test_register_vim_with_use_helm_parameter [0.015246s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( If you want to register kubernetes vim with helm, please set ssl_ca_cert. {0} tacker.tests.unit.nfvo.drivers.vim.test_kubernetes_driver.TestKubernetes_Driver.test_register_vim_with_use_helm_parameter_and_not_set_ssl_ca_cert [0.013396s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_openstack_driver.TestOpenstack_Driver.test_deregister_vim [0.013886s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_openstack_driver.TestOpenstack_Driver.test_deregister_vim_barbican [0.015780s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_openstack_driver.TestOpenstack_Driver.test_deregister_vim_barbican_ext_oauth2_auth [0.012765s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_openstack_driver.TestOpenstack_Driver.test_encode_vim_auth_barbican [0.012062s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_openstack_driver.TestOpenstack_Driver.test_encode_vim_auth_barbican_ext_oauth2_auth [0.012308s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.nfvo.drivers.vim.test_openstack_driver.TestOpenstack_Driver.test_register_keystone_v3 [0.012421s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Authorization failed for user {0} tacker.tests.unit.nfvo.drivers.vim.test_openstack_driver.TestOpenstack_Driver.test_register_vim_invalid_auth [0.012413s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Authorization failed for user {0} tacker.tests.unit.nfvo.drivers.vim.test_openstack_driver.TestOpenstack_Driver.test_register_vim_missing_auth [0.012312s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.nfvo.test_nfvo_plugin.TestNfvoPlugin.test_create_vim [0.019955s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.nfvo.test_nfvo_plugin.TestNfvoPlugin.test_create_vim_k8s_oidc [0.020573s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.nfvo.test_nfvo_plugin.TestNfvoPlugin.test_create_vim_k8s_token [0.020217s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.nfvo.test_nfvo_plugin.TestNfvoPlugin.test_delete_vim [0.023960s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.nfvo.test_nfvo_plugin.TestNfvoPlugin.test_update_vim [0.026019s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.nfvo.test_nfvo_plugin.TestNfvoPlugin.test_update_vim_barbican [0.027205s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.nfvo.test_nfvo_plugin.TestNfvoPlugin.test_update_vim_oidc_to_token [0.026489s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.nfvo.test_nfvo_plugin.TestNfvoPlugin.test_update_vim_token_to_oidc [0.027381s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( [fernet_tokens] key_repository does not appear to exist; attempting to create it Failed to create [fernet_tokens] key_repository: either it already exists or you don't have sufficient permissions to create it {0} tacker.tests.unit.nfvo.test_nfvo_plugin.TestNfvoPlugin.test_update_vim_userpass_to_oidc [0.026509s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_change_ext_conn_req.ChangeExtConnRequestTestCase.test_obj_from_primitive [0.013449s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_fields.TestListOfObjects.test_list_of_obj [0.011914s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_fields.TestListOfStrings.test_list_of_string [0.011002s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_fields.TestString.test_stringify [0.011416s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_grant.GrantTestCase.test_obj_from_primitive [0.012023s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_instantiate_vnf_req.InstantiateVnfRequestTestCase.test_from_vnf_instance_with_ext_vl_and_ext_managed_vl [0.012998s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_instantiate_vnf_req.InstantiateVnfRequestTestCase.test_from_vnf_instance_with_flavour [0.011966s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_instantiate_vnf_req.InstantiateVnfRequestTestCase.test_from_vnf_instance_with_flavour_and_instantiation_level [0.012029s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_terminate_vnf_request.TestTerminateVnfRequest.test_obj_from_primitive [0.014996s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_terminate_vnf_request.TestTerminateVnfRequest.test_obj_from_primitive_without_timeout [0.014847s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vim_connection.TestVnfResource.test_obj_from_primitive_and_object_to_dict [0.014301s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_attribute_with_valid_data [0.020016s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_create [0.019578s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_create_with_id [0.019192s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_create_with_software_images [0.020237s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_destroy [0.020857s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_destroy_without_id [0.019052s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_get_by_id [0.020688s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_get_by_id_with_no_existing_id [0.020351s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_get_by_id_with_software_images [0.036094s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_invalid_attribute [0.019018s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_obj_load_attr_without_context [0.018718s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_deployment_flavour.TestVnfDeploymentFlavour.test_obj_load_attr_without_id_in_object [0.019640s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instance.TestVnfInstance.test_create [0.021872s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instance.TestVnfInstance.test_create_failure_with_id [0.020344s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instance.TestVnfInstance.test_destroy [0.022481s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instance.TestVnfInstance.test_destroy_failure_without_id [0.019484s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instance.TestVnfInstance.test_get_all [0.025032s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instance.TestVnfInstance.test_get_by_id [0.022931s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instance.TestVnfInstance.test_get_by_id_non_existing_vnf_instance [0.021418s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instance.TestVnfInstance.test_save [0.022099s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instance.TestVnfInstance.test_save_error [0.019574s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instance.TestVnfInstance.test_update [0.027960s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instance.TestVnfInstance.test_vnf_instance_list_get_by_filters [0.026691s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instantiated_info.TestInstantiatedVnfInfo.test_ext_link_port_info_obj_from_primitive_and_obj_to_dict [0.028087s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instantiated_info.TestInstantiatedVnfInfo.test_ext_mng_virt_link_obj_from_primitive_and_obj_to_dict [0.024480s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instantiated_info.TestInstantiatedVnfInfo.test_ext_virt_link_info_obj_from_primitive_and_obj_to_dict [0.022143s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instantiated_info.TestInstantiatedVnfInfo.test_instantiated_info_obj_from_primitive_and_obj_to_dict [0.023848s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instantiated_info.TestInstantiatedVnfInfo.test_resource_handle_obj_from_primitive_and_object_to_dict [0.024977s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instantiated_info.TestInstantiatedVnfInfo.test_save [0.029078s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instantiated_info.TestInstantiatedVnfInfo.test_virt_strg_res_info_obj_from_primitive_and_obj_to_dict [0.021437s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instantiated_info.TestInstantiatedVnfInfo.test_vnf_ext_cp_info_obj_from_primitive_and_obj_to_dict [0.021573s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instantiated_info.TestInstantiatedVnfInfo.test_vnfc_cp_info_obj_from_primitive_and_obj_to_dict [0.026455s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_instantiated_info.TestInstantiatedVnfInfo.test_vnfc_resource_info_obj_from_primitive_and_obj_to_dict [0.031389s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_lcm_op_occs.TestVnfLcmOpOcc.test_create [0.030187s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_lcm_op_occs.TestVnfLcmOpOcc.test_save [0.026177s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_lcm_subscriptions.TestVnfLcmSubScriptions.test_create_1 [0.025066s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_lcm_subscriptions.TestVnfLcmSubScriptions.test_create_2 [0.021855s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_lcm_subscriptions.TestVnfLcmSubScriptions.test_destroy [0.024983s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_lcm_subscriptions.TestVnfLcmSubScriptions.test_destroy_for_invalid_tenant_id [0.023470s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_lcm_subscriptions.TestVnfLcmSubScriptions.test_get [0.023174s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_lcm_subscriptions.TestVnfLcmSubScriptions.test_list [0.024224s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_lcm_subscriptions.TestVnfLcmSubScriptions.test_show [0.022315s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_lcm_subscriptions.TestVnfLcmSubScriptions.test_show_for_invalid_tenant_id [0.021189s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_attribute_with_valid_data [0.018413s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_create [0.019496s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_create_ignore_flavours [0.017645s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_create_with_id [0.019720s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_create_without_user_define_data [0.021618s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_destroy [0.017716s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_destroy_without_id [0.017939s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_get_all [0.018430s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_get_by_id [0.028272s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_get_by_id_with_flavours [0.021378s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_get_by_id_with_no_existing_id [0.020586s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_get_by_id_without_flavours [0.022516s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_invalid_attribute [0.022185s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_obj_load_attr_without_context [0.014462s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_obj_load_attr_without_id_in_object [0.014452s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_obj_make_compatible [0.014800s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_save [0.015795s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_save_error [0.015939s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package.TestVnfPackage.test_vnf_package_list_by_filter [0.018427s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package_vnfd.TestVnfPackageVnfd.test_create [0.015685s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package_vnfd.TestVnfPackageVnfd.test_create_with_id [0.015244s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package_vnfd.TestVnfPackageVnfd.test_get_by_id [0.017250s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package_vnfd.TestVnfPackageVnfd.test_get_by_package_id [0.016894s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package_vnfd.TestVnfPackageVnfd.test_get_by_vnfd_id [0.016350s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package_vnfd.TestVnfPackageVnfd.test_get_vnf_package_vnfd [0.017181s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_package_vnfd.TestVnfPackageVnfd.test_get_vnf_package_vnfd_by_vnfid [0.016421s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_resource.TestVnfResource.test_create [0.020749s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_resource.TestVnfResource.test_create_with_id [0.019960s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_resource.TestVnfResource.test_destroy [0.020542s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_resource.TestVnfResource.test_destroy_failure_without_id [0.019537s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_resource.TestVnfResource.test_get_by_vnf_instance_id [0.021692s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_resource.TestVnfResource.test_save [0.020455s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_resource.TestVnfResource.test_save_error [0.023268s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_software_images.TestVnfSoftwareImages.test_attribute_with_valid_data [0.019958s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_software_images.TestVnfSoftwareImages.test_create [0.020598s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_software_images.TestVnfSoftwareImages.test_get_by_id [0.020432s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_software_images.TestVnfSoftwareImages.test_get_by_id_with_no_existing_id [0.022055s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_software_images.TestVnfSoftwareImages.test_invalid_attribute [0.024793s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_software_images.TestVnfSoftwareImages.test_obj_load_attr_without_context [0.018674s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_software_images.TestVnfSoftwareImages.test_obj_load_attr_without_id_in_object [0.017468s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnf_software_images.TestVnfSoftwareImages.test_software_image_create_with_id [0.017524s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnfd.TestVnfd.test_check_vnfd_attribute [0.014891s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnfd.TestVnfd.test_delete [0.013642s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnfd.TestVnfd.test_destroy [0.013457s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnfd.TestVnfd.test_obj_from_db_obj [0.013146s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnfd_attribute.TestVnfdAttribute.test_check_vnfd_attribute [0.013828s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnfd_attribute.TestVnfdAttribute.test_create [0.013032s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnfd_attribute.TestVnfdAttribute.test_delete [0.013459s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnfd_attribute.TestVnfdAttribute.test_destroy [0.014319s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.objects.test_vnfd_attribute.TestVnfdAttribute.test_obj_from_db_obj [0.012796s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Cancel operation in state FAILED_TEMP is not allowed Testing authorized user: project_member Cancel operation in state FAILED_TEMP is not allowed Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_cancel_vnf [0.028216s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_change_ext_conn_vnf [0.035458s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: other_project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_create_vnf [0.033839s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_delete_vnf [0.027677s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Transitions to FAIL from state FAILED is not allowed Testing authorized user: project_member Transitions to FAIL from state FAILED is not allowed Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_fail_vnf [0.021836s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_heal_vnf [0.031584s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: other_project_member Testing authorized user: other_project_member Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_index_vnf [0.019476s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_instantiate_vnf [0.033703s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: other_project_member Testing authorized user: other_project_member Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_list_lcm_op_occs [0.019036s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_retry_vnf [0.028191s] ... ok Testing authorized user: legacy_admin OperationState IS NOT FAILED_TEMP Testing authorized user: project_admin OperationState IS NOT FAILED_TEMP Testing authorized user: project_member OperationState IS NOT FAILED_TEMP Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_rollback_vnf [0.019395s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin NOT SCALE VNF Testing authorized user: project_admin NOT SCALE VNF Testing authorized user: project_member NOT SCALE VNF Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_scale_vnf [0.083475s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_show_lcm_op_occs [0.023223s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_show_vnf [0.021176s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_terminate_vnf [0.035959s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsPolicyTest.test_update_vnf [0.026031s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Cancel operation in state FAILED_TEMP is not allowed Testing authorized user: project_member Cancel operation in state FAILED_TEMP is not allowed Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_cancel_vnf [0.040202s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_change_ext_conn_vnf [0.046703s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: other_project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_create_vnf [0.043377s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_delete_vnf [0.032772s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Transitions to FAIL from state FAILED is not allowed Testing authorized user: project_member Transitions to FAIL from state FAILED is not allowed Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_fail_vnf [0.026241s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_heal_vnf [0.045395s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: other_project_member Testing authorized user: other_project_member Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_index_vnf [0.022669s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_instantiate_vnf [0.042084s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: other_project_member Testing authorized user: other_project_member Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_list_lcm_op_occs [0.020474s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_retry_vnf [0.030645s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin OperationState IS NOT FAILED_TEMP Testing authorized user: project_admin OperationState IS NOT FAILED_TEMP Testing authorized user: project_member OperationState IS NOT FAILED_TEMP Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_rollback_vnf [0.022689s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin NOT SCALE VNF Testing authorized user: project_admin NOT SCALE VNF Testing authorized user: project_member NOT SCALE VNF Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_scale_vnf [0.127013s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_show_lcm_op_occs [0.024142s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_show_vnf [0.022135s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_terminate_vnf [0.042009s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMNewDefaultsWithScopePolicyTest.test_update_vnf [0.022196s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Cancel operation in state FAILED_TEMP is not allowed Testing authorized user: project_member Cancel operation in state FAILED_TEMP is not allowed Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_cancel_vnf [0.022175s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 361, in test_cancel_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1641, in cancel context.can(vnf_lcm_policies.VNFLCM % 'cancel', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:cancel to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,106 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,109 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,110 ERROR [tacker.api.vnflcm.v1.controller] Cancel operation in state FAILED_TEMP is not allowed 2024-09-05 11:43:39,111 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,112 ERROR [tacker.api.vnflcm.v1.controller] Cancel operation in state FAILED_TEMP is not allowed 2024-09-05 11:43:39,112 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,113 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_change_ext_conn_vnf [0.030337s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 450, in test_change_ext_conn_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1991, in change_ext_conn context.can(vnf_lcm_policies.VNFLCM % 'change_ext_conn', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:change_ext_conn to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,138 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,140 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,142 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,144 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,145 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_create_vnf [0.023822s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 144, in test_create_vnf self.common_policy_check(self.project_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 453, in create context.can(vnf_lcm_policies.VNFLCM % 'create') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:create to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,161 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,164 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,166 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,169 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,170 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_delete_vnf [0.024172s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 278, in test_delete_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 732, in delete context.can(vnf_lcm_policies.VNFLCM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,193 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,194 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,194 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,195 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,195 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Transitions to FAIL from state FAILED is not allowed Testing authorized user: project_member Transitions to FAIL from state FAILED is not allowed Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_fail_vnf [0.018197s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 381, in test_fail_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1725, in fail context.can(vnf_lcm_policies.VNFLCM % 'fail', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:fail to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,211 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,213 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,213 ERROR [tacker.api.vnflcm.v1.controller] Transitions to FAIL from state FAILED is not allowed 2024-09-05 11:43:39,214 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,214 ERROR [tacker.api.vnflcm.v1.controller] Transitions to FAIL from state FAILED is not allowed 2024-09-05 11:43:39,214 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,214 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_heal_vnf [0.027929s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 298, in test_heal_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 938, in heal context.can(vnf_lcm_policies.VNFLCM % 'heal', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:heal to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,237 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,239 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,240 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,242 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,243 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_index_vnf [0.015621s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 171, in test_index_vnf self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/api_common.py", line 53, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 649, in index context.can(vnf_lcm_policies.VNFLCM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,257 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,258 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,258 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,259 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,259 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,260 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_instantiate_vnf [0.028479s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 234, in test_instantiate_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 814, in instantiate context.can(vnf_lcm_policies.VNFLCM % 'instantiate', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:instantiate to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,283 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,285 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,286 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,288 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,289 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_list_lcm_op_occs [0.014724s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 428, in test_list_lcm_op_occs self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1885, in list_lcm_op_occs context.can(vnf_lcm_policies.VNFLCM % 'list_lcm_op_occs') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,303 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,303 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,304 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,304 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,305 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,305 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_retry_vnf [0.023369s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 401, in test_retry_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1839, in retry context.can(vnf_lcm_policies.VNFLCM % 'retry', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:retry to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,327 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,328 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,328 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,329 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,329 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin OperationState IS NOT FAILED_TEMP Testing authorized user: project_admin OperationState IS NOT FAILED_TEMP Testing authorized user: project_member OperationState IS NOT FAILED_TEMP Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_rollback_vnf [0.014826s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 341, in test_rollback_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1544, in rollback context.can(vnf_lcm_policies.VNFLCM % 'rollback', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:rollback to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,343 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,343 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,344 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,344 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,344 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,344 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,344 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,345 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin NOT SCALE VNF Testing authorized user: project_admin NOT SCALE VNF Testing authorized user: project_member NOT SCALE VNF Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_scale_vnf [0.052715s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 321, in test_scale_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1487, in scale context.can(vnf_lcm_policies.VNFLCM % 'scale', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:scale to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,359 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,369 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,369 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,379 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,379 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,388 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,389 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,398 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_show_lcm_op_occs [0.017002s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 417, in test_show_lcm_op_occs self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 968, in show_lcm_op_occs context.can(vnf_lcm_policies.VNFLCM % 'show_lcm_op_occs', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,413 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,414 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,415 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,415 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,416 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,416 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_show_vnf [0.015156s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 158, in test_show_vnf self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 629, in show context.can(vnf_lcm_policies.VNFLCM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,430 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,430 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,431 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,431 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,432 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,432 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_terminate_vnf [0.028853s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 258, in test_terminate_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 874, in terminate context.can(vnf_lcm_policies.VNFLCM % 'terminate', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:terminate to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,456 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,458 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,459 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,461 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,462 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_update_vnf [0.016174s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 209, in test_update_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 994, in update context.can(vnf_lcm_policies.VNFLCM % 'update_vnf', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:update_vnf to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,477 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,478 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,478 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,479 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,479 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Cancel operation in state FAILED_TEMP is not allowed Testing authorized user: project_member Cancel operation in state FAILED_TEMP is not allowed Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_cancel_vnf [0.022248s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 361, in test_cancel_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1641, in cancel context.can(vnf_lcm_policies.VNFLCM % 'cancel', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:cancel to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,494 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,497 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,499 ERROR [tacker.api.vnflcm.v1.controller] Cancel operation in state FAILED_TEMP is not allowed 2024-09-05 11:43:39,499 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,501 ERROR [tacker.api.vnflcm.v1.controller] Cancel operation in state FAILED_TEMP is not allowed 2024-09-05 11:43:39,501 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,502 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_change_ext_conn_vnf [0.030821s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 450, in test_change_ext_conn_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1991, in change_ext_conn context.can(vnf_lcm_policies.VNFLCM % 'change_ext_conn', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:change_ext_conn to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,526 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,528 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,530 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,532 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,534 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_create_vnf [0.026072s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 144, in test_create_vnf self.common_policy_check(self.project_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 453, in create context.can(vnf_lcm_policies.VNFLCM % 'create') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:create to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,550 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,554 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,557 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,559 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,561 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_delete_vnf [0.024709s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 278, in test_delete_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 732, in delete context.can(vnf_lcm_policies.VNFLCM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,584 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,585 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,586 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,586 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,587 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Transitions to FAIL from state FAILED is not allowed Testing authorized user: project_member Transitions to FAIL from state FAILED is not allowed Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_fail_vnf [0.019004s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 381, in test_fail_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1725, in fail context.can(vnf_lcm_policies.VNFLCM % 'fail', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:fail to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,603 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,605 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,606 ERROR [tacker.api.vnflcm.v1.controller] Transitions to FAIL from state FAILED is not allowed 2024-09-05 11:43:39,606 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,606 ERROR [tacker.api.vnflcm.v1.controller] Transitions to FAIL from state FAILED is not allowed 2024-09-05 11:43:39,606 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,607 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_heal_vnf [0.028396s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 298, in test_heal_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 938, in heal context.can(vnf_lcm_policies.VNFLCM % 'heal', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:heal to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,629 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,631 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,633 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,634 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,636 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_index_vnf [0.016994s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 171, in test_index_vnf self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/api_common.py", line 53, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 649, in index context.can(vnf_lcm_policies.VNFLCM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,651 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,652 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,652 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,653 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,653 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,654 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_instantiate_vnf [0.027974s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 234, in test_instantiate_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 814, in instantiate context.can(vnf_lcm_policies.VNFLCM % 'instantiate', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:instantiate to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,676 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,678 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,680 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,681 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,683 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_list_lcm_op_occs [0.017719s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 428, in test_list_lcm_op_occs self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1885, in list_lcm_op_occs context.can(vnf_lcm_policies.VNFLCM % 'list_lcm_op_occs') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,698 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,699 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,699 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,700 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,700 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,701 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_retry_vnf [0.024360s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 401, in test_retry_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1839, in retry context.can(vnf_lcm_policies.VNFLCM % 'retry', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:retry to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,725 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,725 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,726 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,726 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,727 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin OperationState IS NOT FAILED_TEMP Testing authorized user: project_admin OperationState IS NOT FAILED_TEMP Testing authorized user: project_member OperationState IS NOT FAILED_TEMP Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_rollback_vnf [0.015524s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 341, in test_rollback_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1544, in rollback context.can(vnf_lcm_policies.VNFLCM % 'rollback', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:rollback to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,741 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,742 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,742 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,742 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,743 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,743 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,743 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,743 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin NOT SCALE VNF Testing authorized user: project_admin NOT SCALE VNF Testing authorized user: project_member NOT SCALE VNF Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_scale_vnf [0.056358s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 321, in test_scale_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1487, in scale context.can(vnf_lcm_policies.VNFLCM % 'scale', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:scale to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,758 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,769 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,769 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,779 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,779 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,790 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,790 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,800 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_show_lcm_op_occs [0.017348s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 417, in test_show_lcm_op_occs self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 968, in show_lcm_op_occs context.can(vnf_lcm_policies.VNFLCM % 'show_lcm_op_occs', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,816 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,817 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,817 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,818 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,819 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,819 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_show_vnf [0.015977s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 158, in test_show_vnf self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 629, in show context.can(vnf_lcm_policies.VNFLCM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,833 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,834 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,834 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,835 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,835 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,836 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_terminate_vnf [0.030525s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 258, in test_terminate_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 874, in terminate context.can(vnf_lcm_policies.VNFLCM % 'terminate', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:terminate to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,860 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,862 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,864 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,865 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,867 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_update_vnf [0.016595s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 209, in test_update_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 994, in update context.can(vnf_lcm_policies.VNFLCM % 'update_vnf', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:update_vnf to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,882 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,883 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,884 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,884 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,885 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: other_project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsPolicyTest.test_create_vnf_package [0.030213s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsPolicyTest.test_delete_vnf_package [0.026285s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsPolicyTest.test_fetch_package_content_vnf_package [0.022540s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsPolicyTest.test_fetch_vnf_package_artifacts [0.022227s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsPolicyTest.test_get_vnf_package_vnfd [0.236029s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: other_project_member Testing authorized user: other_project_member Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsPolicyTest.test_index_vnf_package [0.178702s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsPolicyTest.test_patch_vnf_package [0.031992s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsPolicyTest.test_show_vnf_package [0.021281s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsPolicyTest.test_upload_vnf_package_content_package [0.021576s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsPolicyTest.test_upload_vnf_package_from_uri [0.032172s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: other_project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsWithScopePolicyTest.test_create_vnf_package [0.037799s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsWithScopePolicyTest.test_delete_vnf_package [0.026466s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsWithScopePolicyTest.test_fetch_package_content_vnf_package [0.021538s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsWithScopePolicyTest.test_fetch_vnf_package_artifacts [0.023149s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsWithScopePolicyTest.test_get_vnf_package_vnfd [0.236050s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: other_project_member Testing authorized user: other_project_member Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsWithScopePolicyTest.test_index_vnf_package [0.038122s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsWithScopePolicyTest.test_patch_vnf_package [0.043918s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsWithScopePolicyTest.test_show_vnf_package [0.022517s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing unauthorized user: admin /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Testing unauthorized user: member Testing unauthorized user: reader Testing unauthorized user: foo Testing unauthorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Testing unauthorized user: other_project_member Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsWithScopePolicyTest.test_upload_vnf_package_content_package [0.025239s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of system. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['member', 'reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'other_project_member', 'project_id': '5fd2f6d6-66ba-4cf4-99c3-bfc930f5239e', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageNewDefaultsWithScopePolicyTest.test_upload_vnf_package_from_uri [0.044059s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_create_vnf_package [0.022441s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 100, in test_create_vnf_package self.common_policy_check(self.project_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 86, in create context.can(vnf_package_policies.VNFPKGM % 'create') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:create to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,049 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,050 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,050 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,050 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,053 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,055 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,057 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,059 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_delete_vnf_package [0.023105s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 145, in test_delete_vnf_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 242, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,073 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,073 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,073 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,076 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,079 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,081 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,083 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,083 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_fetch_package_content_vnf_package [0.017345s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 170, in test_fetch_package_content_vnf_package self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,097 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,097 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,097 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,099 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,100 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,100 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,101 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,101 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,101 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_fetch_vnf_package_artifacts [0.017583s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 323, in test_fetch_vnf_package_artifacts self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 679, in fetch_vnf_package_artifacts context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,116 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,116 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,116 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,117 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,118 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,119 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,119 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,120 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,120 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_get_vnf_package_vnfd [0.232264s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 295, in test_get_vnf_package_vnfd self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 620, in get_vnf_package_vnfd context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,133 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,133 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,134 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,346 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,348 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,349 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,351 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,353 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,353 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_index_vnf_package [0.023485s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 127, in test_index_vnf_package self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,367 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,367 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,367 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,367 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,370 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,372 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,374 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,376 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,378 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_patch_vnf_package [0.024553s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 276, in test_patch_vnf_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 548, in patch context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,391 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,391 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,391 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,392 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,396 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,399 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,401 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,403 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_show_vnf_package [0.016351s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 116, in test_show_vnf_package self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 124, in show context.can(vnf_package_policies.VNFPKGM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,417 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,417 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,417 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,418 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,419 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,419 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,420 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,420 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,421 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_upload_vnf_package_content_package [0.016962s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 200, in test_upload_vnf_package_content_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 416, in upload_vnf_package_content context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:upload_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,434 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,434 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,434 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,436 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,437 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,438 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,438 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,438 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_upload_vnf_package_from_uri [0.023704s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 238, in test_upload_vnf_package_from_uri self.controller.upload_vnf_package_from_uri( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 514, in upload_vnf_package_from_uri context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:upload_from_uri to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,451 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,451 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,452 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,463 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_create_vnf_package [0.022736s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 100, in test_create_vnf_package self.common_policy_check(self.project_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 86, in create context.can(vnf_package_policies.VNFPKGM % 'create') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:create to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,477 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,477 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,477 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,478 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,480 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,483 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,485 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,487 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_delete_vnf_package [0.021480s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 145, in test_delete_vnf_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 242, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,500 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,500 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,500 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,502 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,505 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,507 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,508 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,509 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_fetch_package_content_vnf_package [0.017907s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 170, in test_fetch_package_content_vnf_package self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,523 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,523 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,523 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,525 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,526 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,527 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,527 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,527 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,528 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_fetch_vnf_package_artifacts [0.016344s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 323, in test_fetch_vnf_package_artifacts self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 679, in fetch_vnf_package_artifacts context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,541 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,541 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,541 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,542 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,543 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,544 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,544 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,545 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,545 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_get_vnf_package_vnfd [0.234594s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 295, in test_get_vnf_package_vnfd self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 620, in get_vnf_package_vnfd context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,558 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,558 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,558 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,773 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,775 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,777 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,778 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,780 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,780 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_index_vnf_package [0.024107s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 127, in test_index_vnf_package self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,794 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,794 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,794 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,795 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,798 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,800 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,802 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,804 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,806 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_patch_vnf_package [0.024723s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 276, in test_patch_vnf_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 548, in patch context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,819 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,819 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,819 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,820 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,823 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,826 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,829 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,831 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Testing authorized user: project_foo Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_show_vnf_package [0.015872s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 116, in test_show_vnf_package self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 124, in show context.can(vnf_package_policies.VNFPKGM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,844 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,844 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,845 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,846 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,846 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,847 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,847 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,848 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,848 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Testing authorized user: legacy_admin Testing authorized user: project_admin Testing authorized user: project_member Testing authorized user: project_reader Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_upload_vnf_package_content_package [0.017092s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 200, in test_upload_vnf_package_content_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 416, in upload_vnf_package_content context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:upload_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,862 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,862 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,862 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,864 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,865 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,865 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,866 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,866 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_upload_vnf_package_from_uri [0.023524s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 238, in test_upload_vnf_package_from_uri self.controller.upload_vnf_package_from_uri( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 514, in upload_vnf_package_from_uri context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:upload_from_uri to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,879 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,879 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,879 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,890 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( X_USER_ID is not found in request {0} tacker.tests.unit.test_auth.TackerKeystoneContextTestCase.test_no_user_id [0.009490s] ... ok {0} tacker.tests.unit.test_auth.TackerKeystoneContextTestCase.test_request_id_extracted_from_env [0.008693s] ... ok {0} tacker.tests.unit.test_auth.TackerKeystoneContextTestCase.test_roles_no_admin [0.008754s] ... ok {0} tacker.tests.unit.test_auth.TackerKeystoneContextTestCase.test_roles_with_admin [0.008941s] ... ok {0} tacker.tests.unit.test_auth.TackerKeystoneContextTestCase.test_with_auth_token [0.014379s] ... ok {0} tacker.tests.unit.test_auth.TackerKeystoneContextTestCase.test_with_tenant_id [0.013500s] ... ok {0} tacker.tests.unit.test_auth.TackerKeystoneContextTestCase.test_with_user_id [0.013525s] ... ok {0} tacker.tests.unit.test_auth.TackerKeystoneContextTestCase.test_with_user_tenant_name [0.009425s] ... ok {0} tacker.tests.unit.test_auth.TackerKeystoneContextTestCase.test_without_auth_token [0.009323s] ... ok {0} tacker.tests.unit.test_auth.TestAuthManager.test_get_auth_client_basic_with_local [0.009430s] ... ok {0} tacker.tests.unit.test_auth.TestAuthManager.test_get_auth_client_basic_with_subscription [0.009196s] ... ok {0} tacker.tests.unit.test_auth.TestAuthManager.test_get_auth_client_noauth_with_local [0.009122s] ... ok Get Access Token, Connecting to {0} tacker.tests.unit.test_auth.TestAuthManager.test_get_auth_client_oauth2_client_credentials_with_local [0.010408s] ... ok Get Access Token, Connecting to {0} tacker.tests.unit.test_auth.TestAuthManager.test_get_auth_client_oauth2_client_credentials_with_subscription [0.010334s] ... ok {0} tacker.tests.unit.test_auth.TestAuthManager.test_init [0.009019s] ... ok {0} tacker.tests.unit.test_auth.TestAuthManager.test_set_auth_client_basic [0.008914s] ... ok {0} tacker.tests.unit.test_auth.TestAuthManager.test_set_auth_client_noauth [0.009359s] ... ok Get Access Token, Connecting to {0} tacker.tests.unit.test_auth.TestAuthManager.test_set_auth_client_oauth2_client_credentials [0.010094s] ... ok {0} tacker.tests.unit.test_auth.TestAuthManager.test_set_auth_client_used_chahe [0.009058s] ... ok {0} tacker.tests.unit.test_auth.TestAuthValidateBasic.test_do_auth [0.010298s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidateBasic.test_do_auth_invalid_token_type [0.010053s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidateBasic.test_do_auth_invalid_token_value [0.009889s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidateBearer.test_do_auth_invalid_scope [0.011836s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidateBearer.test_do_auth_invalid_token_value [0.011971s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidateBearer.test_do_auth_no_response [0.011149s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidateBearer.test_do_auth_no_token_type_in_response [0.011930s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidateBearer.test_do_auth_no_token_value_in_response [0.011844s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidateManager.test_auth_main_basic [0.012095s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidateManager.test_auth_main_bearer_1_VnflcmAPIRouter [0.012751s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidateManager.test_auth_main_bearer_2_VnfpkgmAPIRouter [0.013683s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidateManager.test_auth_main_none [0.012231s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.test_auth.TestAuthValidatorExecution.test_called [0.009720s] ... ok {0} tacker.tests.unit.test_auth.TestBasicAuthSession.test_request_1_GET [0.009806s] ... ok {0} tacker.tests.unit.test_auth.TestBasicAuthSession.test_request_2_PUT [0.009925s] ... ok {0} tacker.tests.unit.test_auth.TestBasicAuthSession.test_request_3_POST [0.010268s] ... ok {0} tacker.tests.unit.test_auth.TestBasicAuthSession.test_request_4_DELETE [0.009948s] ... ok {0} tacker.tests.unit.test_auth.TestBasicAuthSession.test_request_5_PATCH [0.010150s] ... ok Get Access Token, Connecting to Get Access Token, Connecting to expires_in=<1> exist, scheduler regist. {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_apply_access_token_info [1.016136s] ... ok Get Access Token, Connecting to 401 Client Error: None for url: https://oauth2/tokens {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_apply_access_token_info_fail_error_response [0.017775s] ... ok Get Access Token, Connecting to {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_apply_access_token_info_fail_timeout [0.016521s] ... ok Get Access Token, Connecting to {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_request_client_credentials_1_GET [0.017786s] ... ok Get Access Token, Connecting to {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_request_client_credentials_2_PUT [0.016643s] ... ok Get Access Token, Connecting to {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_request_client_credentials_3_POST [0.010468s] ... ok Get Access Token, Connecting to {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_request_client_credentials_4_DELETE [0.010524s] ... ok Get Access Token, Connecting to {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_request_client_credentials_5_PATCH [0.013734s] ... ok Get Access Token, Connecting to Authentication error , details=error. Get Access Token, Connecting to {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_request_client_credentials_auth_error [0.012577s] ... ok Get Access Token, Connecting to Exception in thread Thread-83: Traceback (most recent call last): File "/usr/lib64/python3.9/threading.py", line 980, in _bootstrap_inner self.run() File "/usr/lib64/python3.9/threading.py", line 1306, in run self.function(*self.args, **self.kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/auth.py", line 149, in apply_access_token_info self.__set_access_token_info(self.grant.get_accsess_token()) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/auth.py", line 110, in get_accsess_token response = basic_auth_request.post( File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 637, in post return self.request("POST", url, data=data, json=json, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/auth.py", line 193, in request return super().request(method, url, **kwargs) File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3.9/site-packages/requests_mock/mocker.py", line 185, in _fake_send return _original_send(session, request, **kwargs) File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3.9/site-packages/requests_mock/adapter.py", line 261, in send raise exceptions.NoMockAddress(request) requests_mock.exceptions.NoMockAddress: No mock address: POST https://oauth2/tokens expires_in=<1> exist, scheduler regist. {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_schedule_refrash_token_expaire [1.016503s] ... ok {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_schedule_refrash_token_invalid_value_1_None [0.022236s] ... ok {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_schedule_refrash_token_invalid_value_2_ [0.021195s] ... ok {0} tacker.tests.unit.test_auth.TestOAuth2Session.test_schedule_refrash_token_non_expaire [0.014757s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_generate_tacker_service_context_external [0.011817s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_generate_tacker_service_context_keystone [0.012294s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_tacker_context_admin_context [0.009400s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_tacker_context_admin_to_dict [0.008347s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_tacker_context_admin_without_session_to_dict [0.009521s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_tacker_context_create [0.009143s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_tacker_context_create_with_name [0.008654s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_tacker_context_create_with_request_id [0.008563s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_tacker_context_elevated_retains_request_id [0.008833s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_tacker_context_get_admin_context_not_update_local_store [0.008642s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_tacker_context_overwrite [0.009178s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_tacker_context_to_dict [0.008962s] ... ok {0} tacker.tests.unit.test_context.TestTackerContext.test_tacker_context_to_dict_with_name [0.008731s] ... ok {0} tacker.tests.unit.test_policy.DefaultPolicyTestCase.test_default_not_found ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.DefaultPolicyTestCase.test_not_found_policy_calls_default ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.DefaultPolicyTestCase.test_policy_called ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyFileTestCase.test_modified_policy_reloads ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyTestCase.test_check_bad_action_noraise ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyTestCase.test_check_non_existent_action ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyTestCase.test_early_AND_enforcement ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyTestCase.test_early_OR_enforcement ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyTestCase.test_enforce_bad_action_throws ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyTestCase.test_enforce_good_action ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyTestCase.test_enforce_http_false ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyTestCase.test_enforce_http_true ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyTestCase.test_enforce_nonexistent_action_throws ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyTestCase.test_ignore_case_role_check ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.PolicyTestCase.test_templatized_enforcement ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_build_subattribute_match_rule_empty_dict_validator ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_build_subattribute_match_rule_wrong_validation_info ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_admin_only_subattribute ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_admin_only_subattribute_nonadminctx_returns_403 ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_adminonly_attribute_create ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_adminonly_attribute_no_context_is_admin_policy ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_adminonly_attribute_nonadminctx_returns_403 ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_adminonly_attribute_update ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_adminonly_nonadminctx_no_ctx_is_admin_policy_403 ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_firewall_policy_shared ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_firewall_rule_shared ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_plugin_failure ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_regularuser_on_read ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_subattribute ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_tenant_id_check ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_tenant_id_check_invalid_parent_resource_raises ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_tenant_id_check_malformed_target_field_raises ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_tenant_id_check_parent_resource ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_enforce_tenant_id_check_parent_resource_bw_compatibility ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_get_roles_context_is_admin_rule_missing ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_get_roles_with_or_check ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_get_roles_with_other_rules ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_get_roles_with_role_check ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_get_roles_with_rule_check ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_nonadmin_read_on_private_fails ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_nonadmin_read_on_shared_succeeds ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_nonadmin_write_on_private_fails ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_nonadmin_write_on_shared_fails ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_set_rules_with_deprecated_set_policy ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_set_rules_with_deprecated_view_policy ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_policy.TackerPolicyTestCase.test_tenant_id_check_no_target_field_raises ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_privsep.PrivsepTest.test_privsep_ls ... SKIPPED: Failed on zuul or non-devstack env for root privilege {0} tacker.tests.unit.test_privsep.PrivsepTest.test_privsep_pwd ... SKIPPED: Failed on zuul or non-devstack env for root privilege {0} tacker.tests.unit.test_privsep.PrivsepTest.test_rootwrap ... SKIPPED: Failed on zuul or non-devstack env for root privilege {0} tacker.tests.unit.test_wsgi.ActionDispatcherTest.test_dispatch [0.008303s] ... ok {0} tacker.tests.unit.test_wsgi.ActionDispatcherTest.test_dispatch_action_None [0.008138s] ... ok {0} tacker.tests.unit.test_wsgi.ActionDispatcherTest.test_dispatch_default [0.008195s] ... ok {0} tacker.tests.unit.test_wsgi.DictSerializerTest.test_dispatch_default [0.008096s] ... ok {0} tacker.tests.unit.test_wsgi.FaultTest.test_call_fault [0.008451s] ... ok {0} tacker.tests.unit.test_wsgi.JSONDeserializerTest.test_default_raise_Malformed_Exception [0.008669s] ... ok {0} tacker.tests.unit.test_wsgi.JSONDeserializerTest.test_json [0.008483s] ... ok {0} tacker.tests.unit.test_wsgi.JSONDeserializerTest.test_json_with_unicode [0.008478s] ... ok {0} tacker.tests.unit.test_wsgi.JSONDeserializerTest.test_json_with_utf8 [0.008507s] ... ok {0} tacker.tests.unit.test_wsgi.JSONDictSerializerTest.test_json [0.008284s] ... ok {0} tacker.tests.unit.test_wsgi.JSONDictSerializerTest.test_json_with_unicode [0.008389s] ... ok {0} tacker.tests.unit.test_wsgi.MiddlewareTest.test_process_response [0.008693s] ... ok {0} tacker.tests.unit.test_wsgi.RequestDeserializerTest.test_deserialize [0.000574s] ... ok {0} tacker.tests.unit.test_wsgi.RequestDeserializerTest.test_get_action_args [0.000086s] ... ok {0} tacker.tests.unit.test_wsgi.RequestDeserializerTest.test_get_body_deserializer_unknown_content_type [0.000097s] ... ok {0} tacker.tests.unit.test_wsgi.RequestDeserializerTest.test_get_deserializer [0.000054s] ... ok {0} tacker.tests.unit.test_wsgi.RequestDeserializerTest.test_get_expected_content_type [0.000115s] ... ok {0} tacker.tests.unit.test_wsgi.RequestHeadersDeserializerTest.test_custom [0.008451s] ... ok {0} tacker.tests.unit.test_wsgi.RequestHeadersDeserializerTest.test_default [0.008233s] ... ok /usr/lib/python3.9/site-packages/webob/acceptparse.py:4420: DeprecationWarning: The behavior of AcceptLanguageValidHeader.best_match is currently being maintained for backward compatibility, but it will be deprecated in the future as it does not conform to the RFC. warnings.warn( {0} tacker.tests.unit.test_wsgi.RequestTest.test_best_match_language [0.009188s] ... ok {0} tacker.tests.unit.test_wsgi.RequestTest.test_content_type_accept_and_query_extension [0.008418s] ... ok {0} tacker.tests.unit.test_wsgi.RequestTest.test_content_type_accept_default [0.008610s] ... ok {0} tacker.tests.unit.test_wsgi.RequestTest.test_content_type_accept_with_given_content_types [0.008118s] ... ok {0} tacker.tests.unit.test_wsgi.RequestTest.test_content_type_from_accept [0.008624s] ... ok {0} tacker.tests.unit.test_wsgi.RequestTest.test_content_type_from_query_extension [0.008415s] ... ok {0} tacker.tests.unit.test_wsgi.RequestTest.test_content_type_missing [0.008278s] ... ok {0} tacker.tests.unit.test_wsgi.RequestTest.test_content_type_unsupported [0.009130s] ... ok {0} tacker.tests.unit.test_wsgi.RequestTest.test_content_type_with_charset [0.008466s] ... ok {0} tacker.tests.unit.test_wsgi.RequestTest.test_content_type_with_given_content_types [0.008346s] ... ok .FakeRequest.method of .FakeRequest object at 0x7ff93f0f9df0>> http://where.no Unable to deserialize body as provided Content-Type InvalidContentType: Unsupported Content-Type Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 600, in get_body_deserializer return self.body_deserializers[content_type] KeyError: 'best_match_content_type' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 987, in __call__ action, args, accept = self.deserializer.deserialize(request) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 560, in deserialize action_args.update(self.deserialize_body(request, action)) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 588, in deserialize_body LOG.error("Unable to deserialize body as provided " File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 585, in deserialize_body deserializer = self.get_body_deserializer(content_type) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 602, in get_body_deserializer raise exception.InvalidContentType(content_type=content_type) tacker.common.exceptions.InvalidContentType: Invalid content type best_match_content_type {0} tacker.tests.unit.test_wsgi.ResourceTest.test_call_resource_class_bad_request [0.008844s] ... ok .FakeRequest.method of .FakeRequest object at 0x7ff93b88e9a0>> http://where.no Exception handling resource: getattr(): attribute name must be string Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 1000, in __call__ action_result = self.dispatch(request, action, args) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 1040, in dispatch controller_method = getattr(self.controller, action) TypeError: getattr(): attribute name must be string {0} tacker.tests.unit.test_wsgi.ResourceTest.test_call_resource_class_bad_request_error [0.008940s] ... ok {0} tacker.tests.unit.test_wsgi.ResourceTest.test_dispatch [0.009251s] ... ok {0} tacker.tests.unit.test_wsgi.ResourceTest.test_dispatch_unknown_controller_action [0.008552s] ... ok POST http://localhost/ MalformedRequestBody: Malformed request body Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 507, in _from_json return jsonutils.loads(datastring) File "/usr/lib/python3.9/site-packages/oslo_serialization/jsonutils.py", line 253, in loads return json.loads(encodeutils.safe_decode(s, encoding), **kwargs) File "/usr/lib64/python3.9/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib64/python3.9/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python3.9/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 987, in __call__ action, args, accept = self.deserializer.deserialize(request) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 560, in deserialize action_args.update(self.deserialize_body(request, action)) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 596, in deserialize_body return deserializer.deserialize(body, action) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 497, in deserialize return self.dispatch(datastring, action=action) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 417, in dispatch return action_method(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 513, in default return {'body': self._from_json(datastring)} File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 510, in _from_json raise exception.MalformedRequestBody(reason=msg) tacker.common.exceptions.MalformedRequestBody: Malformed request body: Cannot understand JSON {0} tacker.tests.unit.test_wsgi.ResourceTest.test_malformed_request_body_throws_bad_request [0.009975s] ... ok GET http://localhost/ Exception handling resource: getattr(): attribute name must be string Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 1000, in __call__ action_result = self.dispatch(request, action, args) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 1040, in dispatch controller_method = getattr(self.controller, action) TypeError: getattr(): attribute name must be string {0} tacker.tests.unit.test_wsgi.ResourceTest.test_type_error [0.009308s] ... ok POST http://localhost/ Exception handling resource: getattr(): attribute name must be string Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 1000, in __call__ action_result = self.dispatch(request, action, args) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 1040, in dispatch controller_method = getattr(self.controller, action) TypeError: getattr(): attribute name must be string {0} tacker.tests.unit.test_wsgi.ResourceTest.test_wrong_content_type_bad_request_error [0.009480s] ... ok POST http://localhost/ MalformedRequestBody: Malformed request body Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 507, in _from_json return jsonutils.loads(datastring) File "/usr/lib/python3.9/site-packages/oslo_serialization/jsonutils.py", line 253, in loads return json.loads(encodeutils.safe_decode(s, encoding), **kwargs) File "/usr/lib64/python3.9/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib64/python3.9/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python3.9/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 987, in __call__ action, args, accept = self.deserializer.deserialize(request) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 560, in deserialize action_args.update(self.deserialize_body(request, action)) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 596, in deserialize_body return deserializer.deserialize(body, action) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 497, in deserialize return self.dispatch(datastring, action=action) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 417, in dispatch return action_method(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 513, in default return {'body': self._from_json(datastring)} File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 510, in _from_json raise exception.MalformedRequestBody(reason=msg) tacker.common.exceptions.MalformedRequestBody: Malformed request body: Cannot understand JSON {0} tacker.tests.unit.test_wsgi.ResourceTest.test_wrong_content_type_throws_unsupported_media_type_error [0.009782s] ... ok {0} tacker.tests.unit.test_wsgi.ResponseHeadersSerializerTest.test_custom [0.009718s] ... ok {0} tacker.tests.unit.test_wsgi.ResponseHeadersSerializerTest.test_default [0.008892s] ... ok {0} tacker.tests.unit.test_wsgi.ResponseSerializerTest.test_get_body_serializer [0.000130s] ... ok {0} tacker.tests.unit.test_wsgi.ResponseSerializerTest.test_get_serializer [0.000059s] ... ok {0} tacker.tests.unit.test_wsgi.ResponseSerializerTest.test_serialize_json_response [0.000095s] ... ok {0} tacker.tests.unit.test_wsgi.ResponseSerializerTest.test_serialize_response_None [0.000073s] ... ok {0} tacker.tests.unit.test_wsgi.ResponseSerializerTest.test_serialize_unknown_content_type [0.000089s] ... ok {0} tacker.tests.unit.test_wsgi.SerializerTest.test_deserialize_json_content_type [0.009394s] ... ok {0} tacker.tests.unit.test_wsgi.SerializerTest.test_deserialize_raise_bad_request [0.008983s] ... ok {0} tacker.tests.unit.test_wsgi.SerializerTest.test_get_deserialize_handler_unknown_content_type [0.009428s] ... ok {0} tacker.tests.unit.test_wsgi.SerializerTest.test_serialize_content_type_json [0.009125s] ... ok {0} tacker.tests.unit.test_wsgi.SerializerTest.test_serialize_unknown_content_type [0.008979s] ... ok {0} tacker.tests.unit.test_wsgi.TestWSGIServer.test_app ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_wsgi.TestWSGIServer.test_start_random_port [0.009439s] ... ok {0} tacker.tests.unit.test_wsgi.TestWSGIServerWithSSL.test_app_using_ssl ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_wsgi.TestWSGIServerWithSSL.test_app_using_ssl_combined_cert_and_key ... SKIPPED: Not ready yet {0} tacker.tests.unit.test_wsgi.TextDeserializerTest.test_dispatch_default [0.008823s] ... ok {0} tacker.tests.unit.tests.test_post_mortem_debug.TestFilteredTraceback.test_filter_traceback [0.009401s] ... ok {0} tacker.tests.unit.tests.test_post_mortem_debug.TestGetIgnoredTraceback.test_first_traceback_ignored [0.009433s] ... ok {0} tacker.tests.unit.tests.test_post_mortem_debug.TestGetIgnoredTraceback.test_middle_traceback_ignored [0.009948s] ... ok {0} tacker.tests.unit.tests.test_post_mortem_debug.TestGetIgnoredTraceback.test_no_ignored_tracebacks [0.009478s] ... ok {0} tacker.tests.unit.tests.test_post_mortem_debug.TestGetIgnoredTraceback.test_single_member_trailing_chain [0.009530s] ... ok {0} tacker.tests.unit.tests.test_post_mortem_debug.TestGetIgnoredTraceback.test_two_member_trailing_chain [0.009195s] ... ok {0} tacker.tests.unit.tests.test_post_mortem_debug.TestTesttoolsExceptionHandler.test_exception_handler [0.010274s] ... ok Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. POST http://localhost//vnf_packages /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_create_with_status_201 [0.019733s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 83, in test_create_with_status_201 self.assertRegex(resp.headers['location'], location_pattern) File "/usr/lib/python3.9/site-packages/webob/headers.py", line 20, in __getitem__ raise KeyError(key) KeyError: 'location' Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,513 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,513 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,513 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,514 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,514 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,515 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,518 INFO [tacker.wsgi] POST http://localhost//vnf_packages 2024-09-05 11:43:45,521 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. POST http://localhost//vnf_packages /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_create_without_userdefine_data [0.016421s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 98, in test_create_without_userdefine_data self.assertRegex(resp.headers['location'], location_pattern) File "/usr/lib/python3.9/site-packages/webob/headers.py", line 20, in __getitem__ raise KeyError(key) KeyError: 'location' Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,533 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,533 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,533 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,535 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,535 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,535 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,536 INFO [tacker.wsgi] POST http://localhost//vnf_packages 2024-09-05 11:43:45,538 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_delete_no_vnf_package [0.011231s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. DELETE http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_delete_with_204_status [0.014904s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 674, in test_delete_with_204_status self.assertEqual(http_client.NO_CONTENT, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,561 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,562 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,562 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,563 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,563 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,564 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,565 INFO [tacker.wsgi] DELETE http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:45,566 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_delete_with_invalid_uuid [0.010289s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_delete_with_operational_state_enabled [0.013264s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 701, in test_delete_with_operational_state_enabled self.assertRaises(exc.HTTPConflict, self.controller.delete, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 242, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,588 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,589 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,589 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,590 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_delete_with_usage_state_in_use [0.012159s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 714, in test_delete_with_usage_state_in_use self.assertRaises(exc.HTTPConflict, self.controller.delete, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 242, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,602 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,602 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,602 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,604 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_artifacts_with_invalid_multiple_range [0.011007s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_artifacts_with_invalid_path [0.011859s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1317, in test_fetch_vnf_package_artifacts_with_invalid_path self.assertRaises(exc.HTTPNotFound, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 679, in fetch_vnf_package_artifacts context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,626 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,626 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,626 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,628 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_artifacts_with_invalid_range [0.011344s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_artifacts_with_invalid_status [0.012003s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1422, in test_fetch_vnf_package_artifacts_with_invalid_status self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 679, in fetch_vnf_package_artifacts context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,651 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,651 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,651 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,653 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_artifacts_with_invalid_uuid [0.011279s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_artifacts_with_non_existing_vnf_package [0.010720s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_artifacts_with_non_range [0.011093s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_artifacts_with_range [0.011069s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_content [0.012423s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1221, in test_fetch_vnf_package_content result = self.controller.fetch_vnf_package_content(request, id) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,709 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,710 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,710 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,712 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_content_invalid_multiple_range [0.011004s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_content_invalid_onboarding [0.012460s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1244, in test_fetch_vnf_package_content_invalid_onboarding self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,734 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,734 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,734 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,736 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_content_invalid_range [0.010435s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_content_not_present [0.012108s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1260, in test_fetch_vnf_package_content_not_present self.assertRaises(exc.HTTPNotFound, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,759 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,759 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,759 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,760 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_content_valid_range [0.010339s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_content_with_size [0.011865s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1285, in test_fetch_vnf_package_content_with_size result = self.controller.fetch_vnf_package_content(request, id) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,782 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,782 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,782 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,784 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_failed_with_bad_request [0.367581s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1072, in test_get_vnf_package_vnfd_failed_with_bad_request self.assertRaises(exc.HTTPBadRequest, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 620, in get_vnf_package_vnfd context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,795 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,795 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,795 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,152 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_failed_with_internal_server_error [0.016230s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1157, in test_get_vnf_package_vnfd_failed_with_internal_server_error self.assertRaises(exc.HTTPInternalServerError, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 620, in get_vnf_package_vnfd context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:46,165 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,165 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,165 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,167 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,167 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,167 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,168 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:46,169 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:46,170 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_failed_with_invalid_status [0.015551s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1114, in test_get_vnf_package_vnfd_failed_with_invalid_status self.assertEqual(http_client.CONFLICT, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:46,182 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,183 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,183 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,184 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,184 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,184 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,186 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:46,186 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_for_content_type_text_plain [0.222354s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1093, in test_get_vnf_package_vnfd_for_content_type_text_plain self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:46,199 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,199 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,199 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,407 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,407 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,407 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,409 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:46,409 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_with_invalid_accept_header [0.011625s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_with_invalid_uuid [0.010238s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_with_non_existing_vnf_packagee [0.010348s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_with_valid_accept_headers_1_application_zip [0.491821s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:46,454 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,454 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,454 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,932 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,933 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,933 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,934 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:46,935 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_with_valid_accept_headers_2_text_plain_application_zip [0.384056s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:46,948 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,948 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,948 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,318 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,318 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,318 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,319 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:47,320 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_with_valid_accept_headers_3_application_zip_text_plain [0.361374s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,332 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,332 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,332 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,680 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,680 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,680 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,681 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:47,682 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_1__vnfpkgm_v1_vnf_packages [0.017156s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 134, in test_index res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,696 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,697 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,697 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,700 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_all_fields [0.016828s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 152, in test_index_attribute_selector_all_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,714 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,714 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,714 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,718 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_exclude_default [0.017573s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 165, in test_index_attribute_selector_exclude_default res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,733 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,733 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,733 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,737 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_exclude_fields_1 [0.016387s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 189, in test_index_attribute_selector_exclude_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,751 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,751 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,751 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,754 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_exclude_fields_2 [0.014466s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 189, in test_index_attribute_selector_exclude_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,767 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,767 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,767 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,770 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_exclude_fields_3 [0.013496s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 189, in test_index_attribute_selector_exclude_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,782 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,782 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,782 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,785 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_exclude_fields_4 [0.016175s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 189, in test_index_attribute_selector_exclude_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,798 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,798 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,798 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,802 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_fields_1 [0.014426s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 218, in test_index_attribute_selector_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,814 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,814 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,814 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,817 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_fields_2 [0.014046s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 218, in test_index_attribute_selector_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,829 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,829 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,829 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,833 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_fields_3 [0.013578s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 218, in test_index_attribute_selector_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,843 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,843 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,844 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,847 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_fields_4 [0.015067s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 218, in test_index_attribute_selector_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,860 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,860 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,860 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,863 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_invalid_combination_1 [0.013887s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 554, in test_index_attribute_selector_invalid_combination self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,875 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,875 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,875 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,878 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_invalid_combination_2 [0.016201s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 554, in test_index_attribute_selector_invalid_combination self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,891 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,891 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,891 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,895 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_invalid_combination_3 [0.015080s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 554, in test_index_attribute_selector_invalid_combination self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,907 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,907 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,907 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,911 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_invalid_fields_1 [0.016096s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 538, in test_index_attribute_selector_invalid_fields self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,925 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,925 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,925 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,929 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_invalid_fields_2 [0.014272s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 538, in test_index_attribute_selector_invalid_fields self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,941 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,941 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,941 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,944 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_nested_complex_attribute [0.014777s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 278, in test_index_attribute_selector_nested_complex_attribute res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,957 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,957 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,957 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,960 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_unexpected_value_1 [0.016592s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_unexpected_value_2 [0.018464s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_user_defined_data [0.015021s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 261, in test_index_attribute_selector_user_defined_data res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,009 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,009 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,009 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,012 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_user_defined_data_combination [0.013665s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 240, in test_index_attribute_selector_user_defined_data_combination res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,024 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,024 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,024 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,027 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_01 [0.013225s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,038 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,038 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,038 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,041 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_02 [0.016449s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,054 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,054 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,054 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,058 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_03 [0.022499s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,076 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,076 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,076 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,082 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_04 [0.017284s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,096 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,096 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,096 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,100 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_05 [0.014991s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,113 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,113 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,114 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,117 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_06 [0.015261s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,130 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,130 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,130 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,133 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_07 [0.013602s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,144 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,145 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,145 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,148 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_08 [0.014816s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,160 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,160 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,160 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,163 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_09 [0.014951s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,175 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,175 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,175 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,179 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_10 [0.013841s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,191 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,191 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,191 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,194 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_11 [0.013674s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,205 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,205 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,205 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,209 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_12 [0.013711s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,220 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,220 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,220 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,223 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_13 [0.013294s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,234 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,234 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,234 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,237 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_14 [0.014309s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,249 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,249 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,249 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,252 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_15 [0.013795s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,264 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,264 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,264 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,267 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_16 [0.012977s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,278 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,278 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,278 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,281 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_17 [0.013015s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,292 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,292 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,292 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,295 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_18 [0.013321s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,306 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,306 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,306 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,309 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_19 [0.014189s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,321 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,321 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,321 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,324 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_20 [0.014798s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,336 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,336 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,337 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,340 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_21 [0.018351s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,355 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,355 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,355 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,359 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_22 [0.015455s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,372 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,372 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,372 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,376 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_23 [0.017609s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,388 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,388 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,388 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,394 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_24 [0.017707s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,408 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,408 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,408 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,412 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_25 [0.019529s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,427 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,428 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,428 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,433 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_26 [0.021475s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,452 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,452 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,452 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,457 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_27 [0.014655s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,469 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,469 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,469 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,472 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_28 [0.014285s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,484 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,484 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,484 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,488 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_29 [0.014257s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,499 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,499 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,499 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,503 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_combination [0.014456s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 346, in test_index_filter_combination res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,514 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,514 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,514 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,518 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_attribute_1 [0.014978s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 504, in test_index_filter_invalid_attribute self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,530 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,530 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,530 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,534 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_attribute_2 [0.017310s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 504, in test_index_filter_invalid_attribute self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,548 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,548 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,548 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,552 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_expression_1 [0.016225s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 455, in test_index_filter_invalid_expression self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,565 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,565 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,566 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,570 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_expression_2 [0.015226s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 455, in test_index_filter_invalid_expression self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,582 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,582 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,582 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,586 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_expression_3 [0.016580s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 455, in test_index_filter_invalid_expression self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,599 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,599 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,599 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,604 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_expression_4 [0.016919s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 455, in test_index_filter_invalid_expression self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,617 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,617 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,617 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,622 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_operator_1 [0.015920s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 490, in test_index_filter_invalid_operator self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,635 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,635 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,636 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,639 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_operator_2 [0.015164s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 490, in test_index_filter_invalid_operator self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,652 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,652 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,652 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,656 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_operator_3 [0.016266s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 490, in test_index_filter_invalid_operator self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,669 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,669 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,669 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,673 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_1 [0.015017s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,685 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,686 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,686 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,689 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_2 [0.016168s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,702 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,702 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,702 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,707 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_3 [0.015939s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,719 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,719 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,719 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,724 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_4 [0.017132s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,736 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,737 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,737 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,742 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_5 [0.016684s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,756 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,756 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,756 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,760 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_6 [0.014685s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,772 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,772 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,772 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,776 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_1 [0.014832s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,787 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,787 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,787 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,791 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_2 [0.014462s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,804 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,804 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,804 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,808 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_3 [0.015391s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,820 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,820 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,820 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,824 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_4 [0.014263s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,836 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,836 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,836 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,839 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_5 [0.015463s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,852 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,852 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,852 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,856 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_6 [0.014527s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,868 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,868 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,868 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,872 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_7 [0.014117s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,883 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,883 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,883 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,887 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_01 [0.014368s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,899 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,899 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,899 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,902 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_02 [0.013840s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,914 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,914 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,914 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,917 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_03 [0.013943s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,928 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,928 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,928 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,932 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_04 [0.014422s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,943 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,944 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,944 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,947 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_05 [0.013650s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,958 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,958 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,958 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,962 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_06 [0.014072s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,973 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,973 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,973 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,977 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_07 [0.015602s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,988 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,988 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,988 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,993 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_08 [0.016189s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,007 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,007 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,007 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,010 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_09 [0.015751s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,022 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,022 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,022 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,027 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_10 [0.016176s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,040 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,040 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,040 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,044 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_11 [0.017267s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,058 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,058 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,059 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,063 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_12 [0.014548s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,074 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,074 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,075 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,078 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_13 [0.015420s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,091 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,091 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,091 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,095 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_14 [0.015962s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,106 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,106 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,106 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,111 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_15 [0.014301s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,123 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,123 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,123 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,127 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_16 [0.016626s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,140 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,140 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,140 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,144 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_1 [0.016580s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,157 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,157 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,158 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,162 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_2 [0.018097s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,176 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,176 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,176 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,181 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_3 [0.015280s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,193 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,193 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,193 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,197 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_4 [0.015176s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,209 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,209 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,209 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,213 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_5 [0.014326s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,225 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,225 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,225 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,229 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_6 [0.016926s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,243 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,243 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,243 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,247 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_paging_1 [0.016037s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 646, in test_index_paging res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,258 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,258 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,258 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,264 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_paging_2 [0.017103s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 646, in test_index_paging res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,277 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,277 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,277 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,282 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_paging_3 [0.015989s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 646, in test_index_paging res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,294 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,294 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,294 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,299 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_paging_4 [0.016842s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 646, in test_index_paging res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,312 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,312 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,312 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,317 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_paging_5 [0.014835s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 646, in test_index_paging res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,328 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,328 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,328 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,333 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch [0.016823s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 897, in test_patch self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,344 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,345 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,345 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,346 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,346 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,346 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,347 INFO [tacker.wsgi] PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:49,350 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_failed_with_same_operational_state [0.014543s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1007, in test_patch_failed_with_same_operational_state self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 548, in patch context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,362 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,362 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,362 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,365 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_failed_with_same_user_data [0.014638s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 965, in test_patch_failed_with_same_user_data self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 548, in patch context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,377 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,377 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,377 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,381 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_not_in_onboarded_state [0.014690s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1021, in test_patch_not_in_onboarded_state self.assertRaises(exc.HTTPBadRequest, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 548, in patch context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,393 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,393 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,393 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,397 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_update_existing_user_data [0.017163s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 942, in test_patch_update_existing_user_data self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,409 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,409 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,409 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,410 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,411 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,411 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,412 INFO [tacker.wsgi] PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:49,415 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_with_empty_body [0.015079s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_with_invalid_operational_state [0.015697s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_with_invalid_uuid [0.014668s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_with_non_existing_vnf_package [0.014917s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_show [0.014791s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 111, in test_show res_dict = self.controller.show(req, constants.UUID) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 124, in show context.can(vnf_package_policies.VNFPKGM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,491 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,491 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,491 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,493 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_show_no_vnf_package [0.011200s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_show_with_invalid_uuid [0.010493s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_content [0.015081s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 742, in test_upload_vnf_package_content mock_glance_store.assert_called() File "/usr/lib64/python3.9/unittest/mock.py", line 876, in assert_called raise AssertionError(msg) AssertionError: Expected 'store_csar' to have been called. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,527 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,527 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,527 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,528 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,528 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,528 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,530 INFO [tacker.wsgi] PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content 2024-09-05 11:43:49,531 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_content_with_invalid_status [0.013299s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 795, in test_upload_vnf_package_content_with_invalid_status self.assertEqual(res.text, resp.text) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = '{"title": "Conflict", "detail": "VNF Package f26f181d-7891-4720-b022-b074ec1733ef onboarding state is not CREATED", "status": 409}' actual = '{"title": "Forbidden", "status": 403, "detail": "Policy doesn\'t allow os_nfv_orchestration_api:vnf_packages:upload_package_content to be performed."}' Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,542 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,542 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,542 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,543 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,543 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,543 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,544 INFO [tacker.wsgi] PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content 2024-09-05 11:43:49,545 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f181d-7891-4720-b022-b074ec3ef/package_content {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_content_with_invalid_uuid [0.012016s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_content_without_vnf_pack [0.012143s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. POST http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content/upload_from_uri /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_from_uri [0.016539s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 821, in test_upload_vnf_package_from_uri self.assertEqual(http_client.ACCEPTED, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,581 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,581 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,581 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,583 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,583 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,583 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,584 INFO [tacker.wsgi] POST http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content/upload_from_uri 2024-09-05 11:43:49,587 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_from_uri_with_invalid_status [0.013992s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 861, in test_upload_vnf_package_from_uri_with_invalid_status self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 514, in upload_vnf_package_from_uri context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:upload_from_uri to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,598 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,598 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,598 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,602 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_from_uri_with_invalid_url_1_http___test_data_zip [0.013949s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_from_uri_with_invalid_url_2_xyz___github_com_abc_xyz_git [0.012377s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_from_uri_with_invalid_url_3_xyz___github_com_abc_xyz [0.013100s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_from_uri_with_invalid_uuid [0.013579s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_from_uri_without_vnf_pack [0.013680s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. POST http://localhost//vnf_packages /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_create_with_status_201 [0.017448s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 83, in test_create_with_status_201 self.assertRegex(resp.headers['location'], location_pattern) File "/usr/lib/python3.9/site-packages/webob/headers.py", line 20, in __getitem__ raise KeyError(key) KeyError: 'location' Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,682 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,682 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,682 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,684 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,684 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,684 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,685 INFO [tacker.wsgi] POST http://localhost//vnf_packages 2024-09-05 11:43:49,688 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. POST http://localhost//vnf_packages /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_create_without_userdefine_data [0.018243s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 98, in test_create_without_userdefine_data self.assertRegex(resp.headers['location'], location_pattern) File "/usr/lib/python3.9/site-packages/webob/headers.py", line 20, in __getitem__ raise KeyError(key) KeyError: 'location' Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,701 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,701 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,701 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,702 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,702 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,702 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,704 INFO [tacker.wsgi] POST http://localhost//vnf_packages 2024-09-05 11:43:49,707 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. DELETE http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_enhanced_policy_1 [0.018639s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. DELETE http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_enhanced_policy_2 [0.017627s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. DELETE http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'area': ['*'], 'vendor': ['*', 'provider_b'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['VENDOR_provider_B'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_enhanced_policy_3 [0.015217s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. DELETE http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_enhanced_policy_4 [0.014778s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_no_vnf_package [0.011284s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. DELETE http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_with_204_status [0.016013s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 674, in test_delete_with_204_status self.assertEqual(http_client.NO_CONTENT, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,800 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,800 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,800 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,802 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,802 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,802 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,803 INFO [tacker.wsgi] DELETE http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:49,804 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_with_invalid_uuid [0.011335s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_with_operational_state_enabled [0.012310s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 701, in test_delete_with_operational_state_enabled self.assertRaises(exc.HTTPConflict, self.controller.delete, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 239, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,827 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,827 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,827 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,829 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_with_usage_state_in_use [0.013008s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 714, in test_delete_with_usage_state_in_use self.assertRaises(exc.HTTPConflict, self.controller.delete, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 239, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,841 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,842 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,842 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,843 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/artifacts/Scripts/install.sh /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_enhanced_policy_1 [0.013975s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/artifacts/Scripts/install.sh /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_enhanced_policy_2 [0.014493s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/artifacts/Scripts/install.sh /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'area': ['*'], 'vendor': ['*', 'provider_b'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['VENDOR_provider_B'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_enhanced_policy_3 [0.016210s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/artifacts/Scripts/install.sh /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_enhanced_policy_4 [0.015621s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_with_invalid_multiple_range [0.014342s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_with_invalid_path [0.013719s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1317, in test_fetch_vnf_package_artifacts_with_invalid_path self.assertRaises(exc.HTTPNotFound, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 676, in fetch_vnf_package_artifacts context.can(vnf_package_policies.VNFPKGM % 'fetch_artifact', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,932 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,932 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,932 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,935 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_with_invalid_range [0.014427s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_with_invalid_status [0.013161s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1422, in test_fetch_vnf_package_artifacts_with_invalid_status self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 676, in fetch_vnf_package_artifacts context.can(vnf_package_policies.VNFPKGM % 'fetch_artifact', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,962 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,962 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,962 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,964 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_with_invalid_uuid [0.013209s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_with_non_existing_vnf_package [0.012839s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_with_non_range [0.011479s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_with_range [0.014678s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content [0.013759s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1221, in test_fetch_vnf_package_content result = self.controller.fetch_vnf_package_content(request, id) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 282, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:50,031 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:50,031 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:50,031 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:50,033 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_enhanced_policy_1 [0.015375s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_enhanced_policy_2 [0.016202s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*', 'provider_b'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['VENDOR_provider_B'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_enhanced_policy_3 [0.014889s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_enhanced_policy_4 [0.014588s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_invalid_multiple_range [0.012456s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_invalid_onboarding [0.011808s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1244, in test_fetch_vnf_package_content_invalid_onboarding self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 282, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:50,120 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:50,120 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:50,120 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:50,122 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_invalid_range [0.011006s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_not_present [0.013674s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1260, in test_fetch_vnf_package_content_not_present self.assertRaises(exc.HTTPNotFound, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 282, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:50,146 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:50,146 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:50,146 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:50,148 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_valid_range [0.010509s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_with_size [0.011958s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1285, in test_fetch_vnf_package_content_with_size result = self.controller.fetch_vnf_package_content(request, id) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 282, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:50,170 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:50,170 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:50,170 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:50,172 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_enhanced_policy_1 [0.363432s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_enhanced_policy_2 [0.512485s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*', 'provider_b'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['VENDOR_provider_B'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_enhanced_policy_3 [0.358279s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_enhanced_policy_4 [0.362794s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_failed_with_bad_request [0.360577s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1072, in test_get_vnf_package_vnfd_failed_with_bad_request self.assertRaises(exc.HTTPBadRequest, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 617, in get_vnf_package_vnfd context.can(vnf_package_policies.VNFPKGM % 'get_vnf_package_vnfd', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:51,782 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:51,782 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:51,782 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,131 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_failed_with_internal_server_error [0.016730s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1157, in test_get_vnf_package_vnfd_failed_with_internal_server_error self.assertRaises(exc.HTTPInternalServerError, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 617, in get_vnf_package_vnfd context.can(vnf_package_policies.VNFPKGM % 'get_vnf_package_vnfd', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:52,145 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,145 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,145 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,146 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,147 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,147 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,148 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:52,149 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:52,149 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_failed_with_invalid_status [0.014812s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1114, in test_get_vnf_package_vnfd_failed_with_invalid_status self.assertEqual(http_client.CONFLICT, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:52,162 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,162 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,162 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,163 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,163 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,164 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,165 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:52,165 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_for_content_type_text_plain [0.227340s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1093, in test_get_vnf_package_vnfd_for_content_type_text_plain self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:52,178 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,178 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,178 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,391 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,391 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,391 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,392 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:52,393 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_with_invalid_accept_header [0.012206s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_with_invalid_uuid [0.010249s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_with_non_existing_vnf_packagee [0.010855s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_with_valid_accept_headers_1_application_zip [0.349543s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:52,439 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,439 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,439 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,776 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,776 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,776 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,777 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:52,778 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_with_valid_accept_headers_2_text_plain_application_zip [0.353200s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:52,790 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,790 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,790 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,130 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,130 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,130 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,131 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:53,132 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_with_valid_accept_headers_3_application_zip_text_plain [0.401959s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,144 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,144 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,145 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,532 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,533 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,533 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,534 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:53,535 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_1__vnfpkgm_v1_vnf_packages [0.014941s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 141, in test_index self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,547 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,547 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,547 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,551 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_all_fields [0.014686s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 154, in test_index_attribute_selector_all_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'artifactPath': 'Scripts/install.sh', 'checksum': {'algorithm': 'SHA-256', 'hash': '27bbdb25d8f4ed6d07d6f6581b86515e8b2f0059b236ef7b6f50d6674b34f02a'}, 'metadata': {}}], 'checksum': {'algorithm': 'fake vnf package algorithm', 'hash': 'fake vnf package hash'}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm', 'hash': 'fake software image hash'}, 'containerFormat': 'bare', 'createdAt': '1900-01-01 01:01:01+00:00', 'diskFormat': 'qcow2', 'id': 'fake_software_image_id', 'imagePath': 'fake image path', 'minDisk': 1, 'minRam': 0, 'name': 'fake software image name', 'provider': 'fake provider', 'size': 1, 'userMetadata': {'key3': 'value3', 'key4': 'value4'}, 'version': '11.22.33'}], 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,562 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,562 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,562 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,566 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_exclude_default [0.014642s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 172, in test_index_attribute_selector_exclude_default self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,577 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,577 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,577 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,582 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_exclude_fields_1 [0.014486s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 192, in test_index_attribute_selector_exclude_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'artifactPath': 'Scripts/install.sh', 'checksum': {'algorithm': 'SHA-256', 'hash': '27bbdb25d8f4ed6d07d6f6581b86515e8b2f0059b236ef7b6f50d6674b34f02a'}, 'metadata': {}}], 'checksum': {'algorithm': 'fake vnf package algorithm', 'hash': 'fake vnf package hash'}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,593 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,593 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,593 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,596 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_exclude_fields_2 [0.015858s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 192, in test_index_attribute_selector_exclude_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'artifactPath': 'Scripts/install.sh', 'checksum': {'algorithm': 'SHA-256', 'hash': '27bbdb25d8f4ed6d07d6f6581b86515e8b2f0059b236ef7b6f50d6674b34f02a'}, 'metadata': {}}], 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm', 'hash': 'fake software image hash'}, 'containerFormat': 'bare', 'createdAt': '1900-01-01 01:01:01+00:00', 'diskFormat': 'qcow2', 'id': 'fake_software_image_id', 'imagePath': 'fake image path', 'minDisk': 1, 'minRam': 0, 'name': 'fake software image name', 'provider': 'fake provider', 'size': 1, 'userMetadata': {'key3': 'value3', 'key4': 'value4'}, 'version': '11.22.33'}], 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,609 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,609 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,609 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,613 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_exclude_fields_3 [0.015157s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 192, in test_index_attribute_selector_exclude_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'artifactPath': 'Scripts/install.sh', 'checksum': {'algorithm': 'SHA-256', 'hash': '27bbdb25d8f4ed6d07d6f6581b86515e8b2f0059b236ef7b6f50d6674b34f02a'}, 'metadata': {}}], 'checksum': {'algorithm': 'fake vnf package algorithm', 'hash': 'fake vnf package hash'}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm', 'hash': 'fake software image hash'}, 'containerFormat': 'bare', 'createdAt': '1900-01-01 01:01:01+00:00', 'diskFormat': 'qcow2', 'id': 'fake_software_image_id', 'imagePath': 'fake image path', 'minDisk': 1, 'minRam': 0, 'name': 'fake software image name', 'provider': 'fake provider', 'size': 1, 'userMetadata': {'key3': 'value3', 'key4': 'value4'}, 'version': '11.22.33'}], 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,625 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,625 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,625 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,629 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_exclude_fields_4 [0.014486s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 192, in test_index_attribute_selector_exclude_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'checksum': {'algorithm': 'fake vnf package algorithm', 'hash': 'fake vnf package hash'}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm', 'hash': 'fake software image hash'}, 'containerFormat': 'bare', 'createdAt': '1900-01-01 01:01:01+00:00', 'diskFormat': 'qcow2', 'id': 'fake_software_image_id', 'imagePath': 'fake image path', 'minDisk': 1, 'minRam': 0, 'name': 'fake software image name', 'provider': 'fake provider', 'size': 1, 'userMetadata': {'key3': 'value3', 'key4': 'value4'}, 'version': '11.22.33'}], 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,641 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,641 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,641 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,644 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_fields_1 [0.014528s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 221, in test_index_attribute_selector_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm', 'hash': 'fake software image hash'}, 'containerFormat': 'bare', 'createdAt': '1900-01-01 01:01:01+00:00', 'diskFormat': 'qcow2', 'id': 'fake_software_image_id', 'imagePath': 'fake image path', 'minDisk': 1, 'minRam': 0, 'name': 'fake software image name', 'provider': 'fake provider', 'size': 1, 'userMetadata': {'key3': 'value3', 'key4': 'value4'}, 'version': '11.22.33'}], 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,656 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,656 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,656 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,660 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_fields_2 [0.014731s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 221, in test_index_attribute_selector_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'checksum': {'algorithm': 'fake vnf package algorithm', 'hash': 'fake vnf package hash'}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,671 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,671 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,671 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,675 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_fields_3 [0.014123s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 221, in test_index_attribute_selector_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,686 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,686 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,686 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,690 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_fields_4 [0.014287s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 221, in test_index_attribute_selector_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'artifactPath': 'Scripts/install.sh', 'checksum': {'algorithm': 'SHA-256', 'hash': '27bbdb25d8f4ed6d07d6f6581b86515e8b2f0059b236ef7b6f50d6674b34f02a'}, 'metadata': {}}], 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,701 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,701 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,701 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,705 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_invalid_combination_1 [0.018398s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_invalid_combination_2 [0.013391s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_invalid_combination_3 [0.012588s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_invalid_fields_1 [0.013338s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_invalid_fields_2 [0.012886s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_nested_complex_attribute [0.013973s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 292, in test_index_attribute_selector_nested_complex_attribute self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'checksum': {'algorithm': 'SHA-256'}, 'metadata': {}}], 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm'}, 'minRam': 0}], 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,788 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,788 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,788 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,792 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_unexpected_value_1 [0.013065s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_unexpected_value_2 [0.012930s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_user_defined_data [0.014696s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 264, in test_index_attribute_selector_user_defined_data self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,830 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,830 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,830 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,834 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_user_defined_data_combination [0.014747s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 250, in test_index_attribute_selector_user_defined_data_combination self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'userMetadata': {'key3': 'value3'}}], 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,845 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,845 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,845 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,850 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_enhanced_policy_1 [0.154074s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_enhanced_policy_2 [0.014723s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_enhanced_policy_3 [0.014854s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_enhanced_policy_4 [0.014589s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_enhanced_policy_5 [0.014703s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_enhanced_policy_6 [0.015856s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_01 [0.014714s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,092 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,092 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,092 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,096 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_02 [0.014168s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,107 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,107 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,107 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,111 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_03 [0.013980s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,122 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,122 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,122 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,126 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_04 [0.014185s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,137 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,137 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,137 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,141 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_05 [0.014136s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,151 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,152 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,152 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,155 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_06 [0.014687s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,166 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,166 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,166 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,171 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_07 [0.014570s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,182 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,182 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,182 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,186 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_08 [0.016170s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,198 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,198 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,198 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,203 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_09 [0.016517s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,215 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,215 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,215 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,220 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_10 [0.015940s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,232 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,232 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,232 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,237 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_11 [0.015512s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,249 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,249 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,249 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,253 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_12 [0.016002s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,265 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,265 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,265 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,270 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_13 [0.014690s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,281 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,281 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,281 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,285 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_14 [0.014575s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,297 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,297 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,297 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,301 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_15 [0.014497s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,312 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,312 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,312 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,316 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_16 [0.014803s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,327 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,328 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,328 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,332 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_17 [0.014616s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,343 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,343 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,343 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,347 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_18 [0.015630s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,358 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,358 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,358 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,363 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_19 [0.015075s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,375 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,375 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,375 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,379 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_20 [0.015222s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,390 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,391 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,391 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,395 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_21 [0.015740s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,407 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,407 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,407 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,411 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_22 [0.015655s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,423 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,423 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,423 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,428 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_23 [0.016048s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,440 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,440 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,440 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,444 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_24 [0.017058s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,457 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,457 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,457 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,462 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_25 [0.015911s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,474 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,475 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,475 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,479 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_26 [0.015619s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,491 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,491 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,491 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,495 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_27 [0.015718s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,507 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,507 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,508 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,512 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_28 [0.015621s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,524 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,524 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,524 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,528 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_29 [0.015412s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,540 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,541 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,541 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,545 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_combination [0.015099s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 353, in test_index_filter_combination self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,556 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,556 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,556 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,561 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_attribute_1 [0.013409s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_attribute_2 [0.013192s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_expression_1 [0.013390s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_expression_2 [0.013485s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_expression_3 [0.013618s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_expression_4 [0.014785s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_operator_1 [0.013649s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_operator_2 [0.014206s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_operator_3 [0.014295s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_string_values_1 [0.015490s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_string_values_2 [0.023408s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_string_values_3 [0.022291s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_string_values_4 [0.016755s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_string_values_5 [0.015350s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_string_values_6 [0.015404s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_value_type_1 [0.015182s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_value_type_2 [0.014460s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_value_type_3 [0.015326s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_value_type_4 [0.014642s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_value_type_5 [0.015065s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_value_type_6 [0.015852s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_invalid_value_type_7 [0.015054s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_01 [0.016253s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,921 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,921 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,921 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,926 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_02 [0.016561s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,938 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,938 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,938 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,943 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_03 [0.014821s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,955 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,955 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,955 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,959 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_04 [0.014600s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,970 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,970 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,970 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,974 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_05 [0.014418s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,985 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,985 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,985 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,989 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_06 [0.014401s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,000 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,000 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,000 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,004 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_07 [0.014578s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,016 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,016 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,016 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,020 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_08 [0.015168s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,031 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,031 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,031 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,036 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_09 [0.014880s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,047 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,047 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,047 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,051 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_10 [0.014592s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,062 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,062 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,062 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,067 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_11 [0.014632s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,078 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,078 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,078 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,082 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_12 [0.014798s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,093 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,093 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,093 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,097 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_13 [0.015246s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,109 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,109 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,109 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,113 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_14 [0.015868s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,125 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,125 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,125 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,130 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_15 [0.015115s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,141 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,142 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,142 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,146 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_16 [0.015249s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,157 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,157 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,157 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,162 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_1 [0.015306s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,173 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,173 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,173 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,178 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_2 [0.015173s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,189 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,189 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,190 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,194 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_3 [0.014911s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,205 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,205 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,205 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,209 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_4 [0.016126s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,221 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,221 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,221 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,226 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_5 [0.015207s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,238 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,238 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,238 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,242 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_6 [0.015136s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,254 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,254 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,254 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,258 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_paging_1 [0.019008s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 655, in test_index_paging self.assertEqual(expected_result, res_dict.json) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}}, 'id': '11111111-1111-1111-1111-111111111111', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample1', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}}, 'id': '22222222-2222-2222-2222-222222222222', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample2', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}}, 'id': '33333333-3333-3333-3333-333333333333', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample3', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}}, 'id': '44444444-4444-4444-4444-444444444444', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample4', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,270 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,270 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,270 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,276 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,277 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,277 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,277 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_paging_2 [0.019200s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 655, in test_index_paging self.assertEqual(expected_result, res_dict.json) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}}, 'id': '11111111-1111-1111-1111-111111111111', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample1', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}}, 'id': '22222222-2222-2222-2222-222222222222', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample2', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}}, 'id': '33333333-3333-3333-3333-333333333333', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample3', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}}, 'id': '44444444-4444-4444-4444-444444444444', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample4', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,290 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,290 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,291 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,296 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,297 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,297 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,297 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_paging_3 [0.015282s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_paging_4 [0.017227s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 655, in test_index_paging self.assertEqual(expected_result, res_dict.json) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}}, 'id': '33333333-3333-3333-3333-333333333333', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample3', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}}, 'id': '44444444-4444-4444-4444-444444444444', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample4', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,325 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,325 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,325 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,331 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,332 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_paging_5 [0.016332s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 655, in test_index_paging self.assertEqual(expected_result, res_dict.json) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}}, 'id': '11111111-1111-1111-1111-111111111111', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample1', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}}, 'id': '22222222-2222-2222-2222-222222222222', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample2', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,343 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,343 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,343 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,348 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,349 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch [0.017439s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 897, in test_patch self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,361 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,361 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,361 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,362 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,362 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,362 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,364 INFO [tacker.wsgi] PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:55,367 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_enhanced_policy_1 [0.019174s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_enhanced_policy_2 [0.019923s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*', 'provider_b'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['VENDOR_provider_B'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_enhanced_policy_3 [0.020161s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_enhanced_policy_4 [0.019315s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_failed_with_same_operational_state [0.017391s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1007, in test_patch_failed_with_same_operational_state self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 545, in patch context.can(vnf_package_policies.VNFPKGM % 'patch', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,460 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,461 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,461 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,466 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_failed_with_same_user_data [0.019564s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 965, in test_patch_failed_with_same_user_data self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 545, in patch context.can(vnf_package_policies.VNFPKGM % 'patch', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,481 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,481 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,481 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,486 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_not_in_onboarded_state [0.019867s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1021, in test_patch_not_in_onboarded_state self.assertRaises(exc.HTTPBadRequest, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 545, in patch context.can(vnf_package_policies.VNFPKGM % 'patch', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,502 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,502 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,502 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,507 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_update_existing_user_data [0.018476s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 942, in test_patch_update_existing_user_data self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,522 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,522 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,522 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,524 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,524 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,524 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,525 INFO [tacker.wsgi] PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:55,529 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_with_empty_body [0.017337s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_with_invalid_operational_state [0.015912s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_with_invalid_uuid [0.013678s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_with_non_existing_vnf_package [0.014033s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_show [0.014318s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 111, in test_show res_dict = self.controller.show(req, constants.UUID) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 121, in show context.can(vnf_package_policies.VNFPKGM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,604 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,604 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,604 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,606 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_show_enhanced_policy_1 [0.017726s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_show_enhanced_policy_2 [0.016493s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'area': ['*'], 'vendor': ['*', 'provider_b'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['VENDOR_provider_B'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_show_enhanced_policy_3 [0.017966s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_show_enhanced_policy_4 [0.016314s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_show_enhanced_policy_created_1___VENDOR_provider_A__ [0.016417s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_show_enhanced_policy_created_2___ [0.015876s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_show_no_vnf_package [0.012756s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_show_with_invalid_uuid [0.011908s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_content [0.018042s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1470, in test_upload_vnf_package_content self.assertEqual(http_client.ACCEPTED, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,749 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,749 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,749 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,752 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,752 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,752 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,754 INFO [tacker.wsgi] PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content 2024-09-05 11:43:55,755 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_content_enhanced_policy_1 [0.017517s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_content_enhanced_policy_2 [0.016141s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'area': ['*'], 'vendor': ['*', 'provider_b'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['VENDOR_provider_B'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_content_enhanced_policy_3 [0.018042s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of is_admin. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_domain. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of tenant_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of project_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' /usr/lib/python3.9/site-packages/oslo_context/context.py:100: DeprecationWarning: Policy enforcement is depending on the value of user_name. This key is deprecated. Please update your policy file to use the standard policy values. warnings.warn('Policy enforcement is depending on the value of ' Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': False, 'user_id': 'fake', 'project_id': 'fake', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_content_enhanced_policy_4 [0.016951s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_content_with_invalid_status [0.014600s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f181d-7891-4720-b022-b074ec3ef/package_content {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_content_with_invalid_uuid [0.013786s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_content_without_vnf_pack [0.013997s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. POST http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content/upload_from_uri {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_from_uri [0.021356s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_from_uri_with_invalid_status [0.016193s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_from_uri_with_invalid_url_1_http___test_data_zip [0.014750s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_from_uri_with_invalid_url_2_xyz___github_com_abc_xyz_git [0.015203s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_from_uri_with_invalid_url_3_xyz___github_com_abc_xyz [0.015717s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_from_uri_with_invalid_uuid [0.015340s] ... ok /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_or_owner":"is_admin:True or project_id:%(project_id)s" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( /usr/lib/python3.9/site-packages/oslo_policy/policy.py:726: UserWarning: Policy "admin_only":"is_admin:True" was deprecated for removal in 11.0.0. Reason: Tacker API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in future. . Its value may be silently ignored in the future. warnings.warn( Directory to write image files does not exist (/var/lib/glance/images). Creating. Unable to create datadir: /var/lib/glance/images Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. {0} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_from_uri_without_vnf_pack [0.015697s] ... ok test_log rollback call(, {'notificationType': 'VnfLcmOperationOccurrenceNotification', 'vnfInstanceId': 'a6b083fd-9643-47d0-873f-ac41ef9fabf9', 'notificationStatus': 'RESULT', 'operation': 'SCALE', 'operationState': 'ROLLED_BACK', 'isAutomaticInvocation': False, 'vnfLcmOpOccId': '00e1314d-2a82-40bd-b318-cc881243843d', '_links': {'vnfInstance': {'href': 'http://localhost:9890//vnflcm/v1/vnf_instances/a6b083fd-9643-47d0-873f-ac41ef9fabf9'}, 'vnfLcmOpOcc': {'href': 'http://localhost:9890//vnflcm/v1/vnf_lcm_op_occs/00e1314d-2a82-40bd-b318-cc881243843d'}}}) expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}} expected_links {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}} ============================== Failed 273 tests - output below: ============================== tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_cancel_vnf ------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 361, in test_cancel_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1641, in cancel context.can(vnf_lcm_policies.VNFLCM % 'cancel', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:cancel to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,106 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,109 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,110 ERROR [tacker.api.vnflcm.v1.controller] Cancel operation in state FAILED_TEMP is not allowed 2024-09-05 11:43:39,111 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,112 ERROR [tacker.api.vnflcm.v1.controller] Cancel operation in state FAILED_TEMP is not allowed 2024-09-05 11:43:39,112 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,113 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_change_ext_conn_vnf --------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 450, in test_change_ext_conn_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1991, in change_ext_conn context.can(vnf_lcm_policies.VNFLCM % 'change_ext_conn', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:change_ext_conn to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,138 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,140 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,142 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,144 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,145 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_create_vnf ------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 144, in test_create_vnf self.common_policy_check(self.project_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 453, in create context.can(vnf_lcm_policies.VNFLCM % 'create') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:create to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,161 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,164 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,166 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,169 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,170 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_delete_vnf ------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 278, in test_delete_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 732, in delete context.can(vnf_lcm_policies.VNFLCM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,193 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,194 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,194 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,195 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,195 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_fail_vnf ---------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 381, in test_fail_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1725, in fail context.can(vnf_lcm_policies.VNFLCM % 'fail', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:fail to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,211 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,213 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,213 ERROR [tacker.api.vnflcm.v1.controller] Transitions to FAIL from state FAILED is not allowed 2024-09-05 11:43:39,214 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,214 ERROR [tacker.api.vnflcm.v1.controller] Transitions to FAIL from state FAILED is not allowed 2024-09-05 11:43:39,214 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,214 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_heal_vnf ---------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 298, in test_heal_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 938, in heal context.can(vnf_lcm_policies.VNFLCM % 'heal', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:heal to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,237 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,239 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,240 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,242 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,243 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_index_vnf ----------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 171, in test_index_vnf self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/api_common.py", line 53, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 649, in index context.can(vnf_lcm_policies.VNFLCM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,257 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,258 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,258 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,259 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,259 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,260 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_instantiate_vnf ----------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 234, in test_instantiate_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 814, in instantiate context.can(vnf_lcm_policies.VNFLCM % 'instantiate', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:instantiate to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,283 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,285 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,286 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,288 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,289 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_list_lcm_op_occs ------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 428, in test_list_lcm_op_occs self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1885, in list_lcm_op_occs context.can(vnf_lcm_policies.VNFLCM % 'list_lcm_op_occs') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,303 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,303 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,304 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,304 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,305 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,305 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_retry_vnf ----------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 401, in test_retry_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1839, in retry context.can(vnf_lcm_policies.VNFLCM % 'retry', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:retry to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,327 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,328 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,328 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,329 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,329 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_rollback_vnf -------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 341, in test_rollback_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1544, in rollback context.can(vnf_lcm_policies.VNFLCM % 'rollback', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:rollback to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,343 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,343 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,344 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,344 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,344 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,344 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,344 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,345 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_scale_vnf ----------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 321, in test_scale_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1487, in scale context.can(vnf_lcm_policies.VNFLCM % 'scale', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:scale to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,359 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,369 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,369 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,379 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,379 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,388 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,389 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,398 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_show_lcm_op_occs ------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 417, in test_show_lcm_op_occs self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 968, in show_lcm_op_occs context.can(vnf_lcm_policies.VNFLCM % 'show_lcm_op_occs', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,413 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,414 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,415 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,415 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,416 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,416 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_show_vnf ---------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 158, in test_show_vnf self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 629, in show context.can(vnf_lcm_policies.VNFLCM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,430 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,430 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,431 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,431 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,432 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,432 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_terminate_vnf --------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 258, in test_terminate_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 874, in terminate context.can(vnf_lcm_policies.VNFLCM % 'terminate', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:terminate to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,456 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,458 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,459 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,461 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,462 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMPolicyTest.test_update_vnf ------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 209, in test_update_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 994, in update context.can(vnf_lcm_policies.VNFLCM % 'update_vnf', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:update_vnf to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,477 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,478 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,478 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,479 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,479 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_cancel_vnf --------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 361, in test_cancel_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1641, in cancel context.can(vnf_lcm_policies.VNFLCM % 'cancel', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:cancel to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,494 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,497 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,499 ERROR [tacker.api.vnflcm.v1.controller] Cancel operation in state FAILED_TEMP is not allowed 2024-09-05 11:43:39,499 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,501 ERROR [tacker.api.vnflcm.v1.controller] Cancel operation in state FAILED_TEMP is not allowed 2024-09-05 11:43:39,501 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,502 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:cancel failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_change_ext_conn_vnf ------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 450, in test_change_ext_conn_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1991, in change_ext_conn context.can(vnf_lcm_policies.VNFLCM % 'change_ext_conn', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:change_ext_conn to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,526 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,528 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,530 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,532 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,534 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:change_ext_conn failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_create_vnf --------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 144, in test_create_vnf self.common_policy_check(self.project_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 453, in create context.can(vnf_lcm_policies.VNFLCM % 'create') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:create to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,550 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,554 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,557 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,559 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,561 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_delete_vnf --------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 278, in test_delete_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 732, in delete context.can(vnf_lcm_policies.VNFLCM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,584 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,585 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,586 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,586 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,587 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_fail_vnf ------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 381, in test_fail_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1725, in fail context.can(vnf_lcm_policies.VNFLCM % 'fail', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:fail to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,603 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,605 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,606 ERROR [tacker.api.vnflcm.v1.controller] Transitions to FAIL from state FAILED is not allowed 2024-09-05 11:43:39,606 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,606 ERROR [tacker.api.vnflcm.v1.controller] Transitions to FAIL from state FAILED is not allowed 2024-09-05 11:43:39,606 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,607 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:fail failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_heal_vnf ------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 298, in test_heal_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 938, in heal context.can(vnf_lcm_policies.VNFLCM % 'heal', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:heal to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,629 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,631 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,633 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,634 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,636 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:heal failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_index_vnf -------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 171, in test_index_vnf self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/api_common.py", line 53, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 649, in index context.can(vnf_lcm_policies.VNFLCM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,651 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,652 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,652 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,653 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,653 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,654 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_instantiate_vnf -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 234, in test_instantiate_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 814, in instantiate context.can(vnf_lcm_policies.VNFLCM % 'instantiate', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:instantiate to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,676 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,678 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,680 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,681 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,683 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:instantiate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_list_lcm_op_occs --------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 428, in test_list_lcm_op_occs self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1885, in list_lcm_op_occs context.can(vnf_lcm_policies.VNFLCM % 'list_lcm_op_occs') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,698 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,699 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,699 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,700 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,700 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,701 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:list_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_retry_vnf -------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 401, in test_retry_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1839, in retry context.can(vnf_lcm_policies.VNFLCM % 'retry', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:retry to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,725 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,725 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,726 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,726 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,727 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:retry failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_rollback_vnf ----------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 341, in test_rollback_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1544, in rollback context.can(vnf_lcm_policies.VNFLCM % 'rollback', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:rollback to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,741 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,742 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,742 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,742 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,743 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,743 ERROR [tacker.api.vnflcm.v1.controller] OperationState IS NOT FAILED_TEMP 2024-09-05 11:43:39,743 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,743 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:rollback failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_scale_vnf -------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 321, in test_scale_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 1487, in scale context.can(vnf_lcm_policies.VNFLCM % 'scale', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:scale to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,758 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,769 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,769 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,779 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,779 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,790 ERROR [tacker.api.vnflcm.v1.controller] NOT SCALE VNF 2024-09-05 11:43:39,790 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,800 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:scale failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_show_lcm_op_occs --------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 417, in test_show_lcm_op_occs self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 968, in show_lcm_op_occs context.can(vnf_lcm_policies.VNFLCM % 'show_lcm_op_occs', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,816 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,817 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,817 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,818 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,819 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,819 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:show_lcm_op_occs failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_show_vnf ------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 158, in test_show_vnf self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 629, in show context.can(vnf_lcm_policies.VNFLCM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,833 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,834 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,834 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,835 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,835 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:39,836 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_terminate_vnf ------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 258, in test_terminate_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 874, in terminate context.can(vnf_lcm_policies.VNFLCM % 'terminate', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:terminate to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,860 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,862 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,864 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,865 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,867 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:terminate failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_lcm.VNFLCMScopeTypePolicyTest.test_update_vnf --------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_lcm.py", line 209, in test_update_vnf self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnflcm/v1/controller.py", line 994, in update context.can(vnf_lcm_policies.VNFLCM % 'update_vnf', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_instances:update_vnf to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:39,882 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:39,883 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:39,884 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:39,884 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:39,885 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_instances:update_vnf failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_create_vnf_package ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 100, in test_create_vnf_package self.common_policy_check(self.project_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 86, in create context.can(vnf_package_policies.VNFPKGM % 'create') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:create to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,049 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,050 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,050 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,050 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,053 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,055 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,057 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,059 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_delete_vnf_package ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 145, in test_delete_vnf_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 242, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,073 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,073 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,073 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,076 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,079 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,081 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,083 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,083 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_fetch_package_content_vnf_package ------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 170, in test_fetch_package_content_vnf_package self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,097 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,097 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,097 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,099 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,100 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,100 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,101 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,101 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,101 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_fetch_vnf_package_artifacts ------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 323, in test_fetch_vnf_package_artifacts self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 679, in fetch_vnf_package_artifacts context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,116 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,116 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,116 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,117 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,118 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,119 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,119 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,120 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,120 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_get_vnf_package_vnfd ------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 295, in test_get_vnf_package_vnfd self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 620, in get_vnf_package_vnfd context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,133 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,133 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,134 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,346 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,348 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,349 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,351 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,353 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,353 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_index_vnf_package --------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 127, in test_index_vnf_package self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,367 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,367 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,367 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,367 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,370 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,372 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,374 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,376 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,378 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_patch_vnf_package --------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 276, in test_patch_vnf_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 548, in patch context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,391 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,391 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,391 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,392 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,396 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,399 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,401 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,403 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_show_vnf_package -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 116, in test_show_vnf_package self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 124, in show context.can(vnf_package_policies.VNFPKGM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,417 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,417 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,417 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,418 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,419 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,419 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,420 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,420 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,421 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_upload_vnf_package_content_package -------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 200, in test_upload_vnf_package_content_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 416, in upload_vnf_package_content context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:upload_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,434 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,434 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,434 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,436 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,437 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,438 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,438 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,438 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackagePolicyTest.test_upload_vnf_package_from_uri ------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 238, in test_upload_vnf_package_from_uri self.controller.upload_vnf_package_from_uri( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 514, in upload_vnf_package_from_uri context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:upload_from_uri to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,451 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,451 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,452 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,463 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_create_vnf_package ------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 100, in test_create_vnf_package self.common_policy_check(self.project_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 86, in create context.can(vnf_package_policies.VNFPKGM % 'create') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:create to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,477 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,477 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,477 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,478 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,480 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,483 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,485 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,487 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_delete_vnf_package ------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 145, in test_delete_vnf_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 242, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,500 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,500 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,500 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,502 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,505 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,507 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,508 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,509 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_fetch_package_content_vnf_package ---------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 170, in test_fetch_package_content_vnf_package self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,523 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,523 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,523 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,525 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,526 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,527 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,527 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,527 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,528 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_fetch_vnf_package_artifacts ---------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 323, in test_fetch_vnf_package_artifacts self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 679, in fetch_vnf_package_artifacts context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,541 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,541 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,541 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,542 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,543 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,544 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,544 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,545 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,545 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_get_vnf_package_vnfd --------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 295, in test_get_vnf_package_vnfd self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 620, in get_vnf_package_vnfd context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,558 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,558 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,558 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,773 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,775 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,777 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,778 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,780 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,780 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_index_vnf_package ------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 127, in test_index_vnf_package self.common_policy_check(self.get_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,794 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,794 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,794 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,795 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,798 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,800 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,802 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,804 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,806 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_patch_vnf_package ------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 276, in test_patch_vnf_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 548, in patch context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,819 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,819 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,819 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,820 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,823 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,826 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,829 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,831 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_show_vnf_package ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 116, in test_show_vnf_package self.common_policy_check(self.project_reader_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 124, in show context.can(vnf_package_policies.VNFPKGM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,844 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,844 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,845 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,846 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,846 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,847 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,847 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,848 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_foo 2024-09-05 11:43:41,848 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': False, 'user_id': 'project_foo', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['foo'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_upload_vnf_package_content_package ----------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 200, in test_upload_vnf_package_content_package self.common_policy_check(self.project_member_authorized_contexts, File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/base.py", line 153, in common_policy_check func(req, *_args, **_kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 416, in upload_vnf_package_content context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:upload_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,862 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,862 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,862 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,864 INFO [tacker.tests.unit.policies.base] Testing authorized user: legacy_admin 2024-09-05 11:43:41,865 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_admin 2024-09-05 11:43:41,865 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_member 2024-09-05 11:43:41,866 INFO [tacker.tests.unit.policies.base] Testing authorized user: project_reader 2024-09-05 11:43:41,866 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.policies.test_vnf_package.VNFPackageScopeTypePolicyTest.test_upload_vnf_package_from_uri ---------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/policies/test_vnf_package.py", line 238, in test_upload_vnf_package_from_uri self.controller.upload_vnf_package_from_uri( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 514, in upload_vnf_package_from_uri context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:upload_from_uri to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:41,879 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:41,879 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:41,879 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:41,890 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': False, 'user_id': 'project_reader', 'project_id': '7a53a18c-046c-4b4a-a624-75627d63bf90', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': ['reader'], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_create_with_status_201 ------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 83, in test_create_with_status_201 self.assertRegex(resp.headers['location'], location_pattern) File "/usr/lib/python3.9/site-packages/webob/headers.py", line 20, in __getitem__ raise KeyError(key) KeyError: 'location' Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,513 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,513 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,513 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,514 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,514 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,515 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,518 INFO [tacker.wsgi] POST http://localhost//vnf_packages 2024-09-05 11:43:45,521 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_create_without_userdefine_data -------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 98, in test_create_without_userdefine_data self.assertRegex(resp.headers['location'], location_pattern) File "/usr/lib/python3.9/site-packages/webob/headers.py", line 20, in __getitem__ raise KeyError(key) KeyError: 'location' Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,533 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,533 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,533 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,535 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,535 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,535 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,536 INFO [tacker.wsgi] POST http://localhost//vnf_packages 2024-09-05 11:43:45,538 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_delete_with_204_status ------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 674, in test_delete_with_204_status self.assertEqual(http_client.NO_CONTENT, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,561 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,562 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,562 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,563 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,563 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,564 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,565 INFO [tacker.wsgi] DELETE http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:45,566 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_delete_with_operational_state_enabled --------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 701, in test_delete_with_operational_state_enabled self.assertRaises(exc.HTTPConflict, self.controller.delete, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 242, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,588 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,589 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,589 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,590 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_delete_with_usage_state_in_use -------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 714, in test_delete_with_usage_state_in_use self.assertRaises(exc.HTTPConflict, self.controller.delete, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 242, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,602 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,602 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,602 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,604 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_artifacts_with_invalid_path ----------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1317, in test_fetch_vnf_package_artifacts_with_invalid_path self.assertRaises(exc.HTTPNotFound, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 679, in fetch_vnf_package_artifacts context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,626 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,626 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,626 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,628 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_artifacts_with_invalid_status ------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1422, in test_fetch_vnf_package_artifacts_with_invalid_status self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 679, in fetch_vnf_package_artifacts context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,651 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,651 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,651 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,653 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_content --------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1221, in test_fetch_vnf_package_content result = self.controller.fetch_vnf_package_content(request, id) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,709 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,710 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,710 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,712 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_content_invalid_onboarding ---------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1244, in test_fetch_vnf_package_content_invalid_onboarding self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,734 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,734 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,734 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,736 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_content_not_present --------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1260, in test_fetch_vnf_package_content_not_present self.assertRaises(exc.HTTPNotFound, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,759 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,759 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,759 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,760 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_fetch_vnf_package_content_with_size ------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1285, in test_fetch_vnf_package_content_with_size result = self.controller.fetch_vnf_package_content(request, id) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 285, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,782 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,782 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,782 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:45,784 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_failed_with_bad_request ---------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1072, in test_get_vnf_package_vnfd_failed_with_bad_request self.assertRaises(exc.HTTPBadRequest, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 620, in get_vnf_package_vnfd context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:45,795 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:45,795 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:45,795 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,152 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_failed_with_internal_server_error -------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1157, in test_get_vnf_package_vnfd_failed_with_internal_server_error self.assertRaises(exc.HTTPInternalServerError, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 620, in get_vnf_package_vnfd context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:46,165 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,165 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,165 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,167 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,167 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,167 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,168 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:46,169 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:46,170 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_failed_with_invalid_status ------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1114, in test_get_vnf_package_vnfd_failed_with_invalid_status self.assertEqual(http_client.CONFLICT, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:46,182 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,183 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,183 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,184 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,184 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,184 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,186 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:46,186 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_for_content_type_text_plain -------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1093, in test_get_vnf_package_vnfd_for_content_type_text_plain self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:46,199 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,199 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,199 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,407 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,407 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,407 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,409 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:46,409 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_with_valid_accept_headers_1_application_zip ------------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:46,454 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,454 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,454 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,932 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,933 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,933 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:46,934 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:46,935 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_with_valid_accept_headers_2_text_plain_application_zip ----------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:46,948 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:46,948 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:46,948 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,318 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,318 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,318 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,319 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:47,320 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_get_vnf_package_vnfd_with_valid_accept_headers_3_application_zip_text_plain ----------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,332 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,332 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,332 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,680 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,680 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,680 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,681 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:47,682 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_1__vnfpkgm_v1_vnf_packages ---------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 134, in test_index res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,696 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,697 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,697 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,700 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_all_fields ------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 152, in test_index_attribute_selector_all_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,714 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,714 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,714 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,718 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_exclude_default ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 165, in test_index_attribute_selector_exclude_default res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,733 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,733 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,733 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,737 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_exclude_fields_1 ------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 189, in test_index_attribute_selector_exclude_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,751 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,751 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,751 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,754 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_exclude_fields_2 ------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 189, in test_index_attribute_selector_exclude_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,767 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,767 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,767 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,770 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_exclude_fields_3 ------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 189, in test_index_attribute_selector_exclude_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,782 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,782 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,782 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,785 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_exclude_fields_4 ------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 189, in test_index_attribute_selector_exclude_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,798 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,798 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,798 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,802 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_fields_1 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 218, in test_index_attribute_selector_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,814 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,814 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,814 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,817 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_fields_2 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 218, in test_index_attribute_selector_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,829 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,829 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,829 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,833 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_fields_3 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 218, in test_index_attribute_selector_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,843 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,843 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,844 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,847 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_fields_4 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 218, in test_index_attribute_selector_fields res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,860 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,860 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,860 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,863 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_invalid_combination_1 ------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 554, in test_index_attribute_selector_invalid_combination self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,875 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,875 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,875 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,878 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_invalid_combination_2 ------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 554, in test_index_attribute_selector_invalid_combination self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,891 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,891 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,891 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,895 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_invalid_combination_3 ------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 554, in test_index_attribute_selector_invalid_combination self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,907 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,907 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,907 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,911 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_invalid_fields_1 ------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 538, in test_index_attribute_selector_invalid_fields self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,925 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,925 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,925 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,929 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_invalid_fields_2 ------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 538, in test_index_attribute_selector_invalid_fields self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,941 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,941 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,941 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,944 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_nested_complex_attribute --------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 278, in test_index_attribute_selector_nested_complex_attribute res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:47,957 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:47,957 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:47,957 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:47,960 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_user_defined_data -------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 261, in test_index_attribute_selector_user_defined_data res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,009 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,009 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,009 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,012 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_attribute_selector_user_defined_data_combination -------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 240, in test_index_attribute_selector_user_defined_data_combination res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,024 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,024 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,024 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,027 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_01 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,038 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,038 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,038 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,041 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_02 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,054 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,054 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,054 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,058 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_03 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,076 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,076 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,076 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,082 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_04 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,096 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,096 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,096 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,100 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_05 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,113 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,113 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,114 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,117 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_06 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,130 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,130 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,130 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,133 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_07 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,144 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,145 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,145 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,148 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_08 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,160 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,160 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,160 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,163 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_09 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,175 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,175 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,175 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,179 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_10 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,191 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,191 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,191 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,194 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_11 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,205 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,205 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,205 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,209 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_12 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,220 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,220 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,220 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,223 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_13 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,234 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,234 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,234 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,237 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_14 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,249 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,249 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,249 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,252 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_15 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,264 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,264 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,264 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,267 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_16 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,278 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,278 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,278 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,281 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_17 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,292 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,292 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,292 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,295 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_18 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,306 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,306 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,306 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,309 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_19 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,321 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,321 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,321 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,324 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_20 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,336 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,336 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,337 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,340 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_21 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,355 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,355 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,355 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,359 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_22 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,372 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,372 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,372 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,376 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_23 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,388 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,388 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,388 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,394 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_24 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,408 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,408 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,408 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,412 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_25 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,427 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,428 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,428 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,433 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_26 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,452 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,452 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,452 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,457 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_27 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,469 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,469 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,469 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,472 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_28 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,484 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,484 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,484 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,488 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_attributes_29 ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 395, in test_index_filter_attributes res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,499 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,499 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,499 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,503 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_combination -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 346, in test_index_filter_combination res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,514 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,514 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,514 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,518 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_attribute_1 ---------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 504, in test_index_filter_invalid_attribute self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,530 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,530 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,530 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,534 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_attribute_2 ---------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 504, in test_index_filter_invalid_attribute self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,548 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,548 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,548 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,552 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_expression_1 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 455, in test_index_filter_invalid_expression self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,565 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,565 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,566 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,570 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_expression_2 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 455, in test_index_filter_invalid_expression self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,582 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,582 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,582 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,586 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_expression_3 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 455, in test_index_filter_invalid_expression self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,599 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,599 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,599 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,604 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_expression_4 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 455, in test_index_filter_invalid_expression self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,617 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,617 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,617 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,622 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_operator_1 --------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 490, in test_index_filter_invalid_operator self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,635 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,635 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,636 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,639 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_operator_2 --------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 490, in test_index_filter_invalid_operator self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,652 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,652 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,652 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,656 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_operator_3 --------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 490, in test_index_filter_invalid_operator self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,669 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,669 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,669 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,673 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_1 -------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,685 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,686 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,686 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,689 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_2 -------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,702 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,702 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,702 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,707 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_3 -------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,719 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,719 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,719 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,724 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_4 -------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,736 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,737 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,737 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,742 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_5 -------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,756 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,756 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,756 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,760 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_string_values_6 -------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 475, in test_index_filter_invalid_string_values self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,772 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,772 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,772 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,776 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_1 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,787 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,787 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,787 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,791 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_2 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,804 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,804 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,804 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,808 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_3 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,820 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,820 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,820 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,824 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_4 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,836 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,836 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,836 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,839 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_5 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,852 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,852 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,852 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,856 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_6 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,868 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,868 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,868 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,872 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_invalid_value_type_7 ----------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 524, in test_index_filter_invalid_value_type self.assertRaises(tacker_exc.ValidationError, self.controller.index, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,883 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,883 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,883 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,887 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_01 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,899 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,899 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,899 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,902 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_02 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,914 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,914 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,914 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,917 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_03 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,928 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,928 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,928 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,932 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_04 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,943 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,944 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,944 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,947 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_05 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,958 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,958 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,958 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,962 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_06 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,973 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,973 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,973 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,977 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_07 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:48,988 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:48,988 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:48,988 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:48,993 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_08 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,007 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,007 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,007 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,010 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_09 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,022 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,022 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,022 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,027 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_10 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,040 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,040 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,040 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,044 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_11 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,058 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,058 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,059 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,063 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_12 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,074 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,074 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,075 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,078 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_13 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,091 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,091 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,091 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,095 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_14 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,106 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,106 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,106 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,111 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_15 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,123 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,123 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,123 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,127 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_operator_16 -------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 326, in test_index_filter_operator res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,140 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,140 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,140 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,144 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_1 ------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,157 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,157 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,158 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,162 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_2 ------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,176 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,176 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,176 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,181 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_3 ------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,193 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,193 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,193 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,197 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_4 ------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,209 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,209 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,209 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,213 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_5 ------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,225 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,225 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,225 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,229 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_filter_valid_string_values_6 ------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 429, in test_index_filter_valid_string_values res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,243 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,243 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,243 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,247 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_paging_1 ---------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 646, in test_index_paging res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,258 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,258 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,258 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,264 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_paging_2 ---------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 646, in test_index_paging res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,277 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,277 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,277 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,282 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_paging_3 ---------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 646, in test_index_paging res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,294 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,294 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,294 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,299 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_paging_4 ---------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 646, in test_index_paging res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,312 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,312 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,312 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,317 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_index_paging_5 ---------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 646, in test_index_paging res_dict = self.controller.index(req) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 88, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 150, in index context.can(vnf_package_policies.VNFPKGM % 'index') File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:index to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,328 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,328 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,328 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,333 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch ------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 897, in test_patch self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,344 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,345 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,345 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,346 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,346 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,346 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,347 INFO [tacker.wsgi] PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:49,350 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_failed_with_same_operational_state ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1007, in test_patch_failed_with_same_operational_state self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 548, in patch context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,362 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,362 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,362 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,365 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_failed_with_same_user_data ---------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 965, in test_patch_failed_with_same_user_data self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 548, in patch context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,377 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,377 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,377 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,381 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_not_in_onboarded_state ------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1021, in test_patch_not_in_onboarded_state self.assertRaises(exc.HTTPBadRequest, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 548, in patch context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,393 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,393 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,393 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,397 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_patch_update_existing_user_data --------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 942, in test_patch_update_existing_user_data self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,409 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,409 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,409 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,410 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,411 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,411 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,412 INFO [tacker.wsgi] PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:49,415 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_show ------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 111, in test_show res_dict = self.controller.show(req, constants.UUID) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 124, in show context.can(vnf_package_policies.VNFPKGM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,491 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,491 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,491 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,493 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_content ---------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 742, in test_upload_vnf_package_content mock_glance_store.assert_called() File "/usr/lib64/python3.9/unittest/mock.py", line 876, in assert_called raise AssertionError(msg) AssertionError: Expected 'store_csar' to have been called. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,527 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,527 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,527 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,528 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,528 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,528 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,530 INFO [tacker.wsgi] PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content 2024-09-05 11:43:49,531 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_content_with_invalid_status ------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 795, in test_upload_vnf_package_content_with_invalid_status self.assertEqual(res.text, resp.text) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = '{"title": "Conflict", "detail": "VNF Package f26f181d-7891-4720-b022-b074ec1733ef onboarding state is not CREATED", "status": 409}' actual = '{"title": "Forbidden", "status": 403, "detail": "Policy doesn\'t allow os_nfv_orchestration_api:vnf_packages:upload_package_content to be performed."}' Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,542 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,542 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,542 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,543 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,543 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,543 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,544 INFO [tacker.wsgi] PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content 2024-09-05 11:43:49,545 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_from_uri ----------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 821, in test_upload_vnf_package_from_uri self.assertEqual(http_client.ACCEPTED, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,581 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,581 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,581 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,583 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,583 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,583 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,584 INFO [tacker.wsgi] POST http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content/upload_from_uri 2024-09-05 11:43:49,587 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestController.test_upload_vnf_package_from_uri_with_invalid_status ------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 861, in test_upload_vnf_package_from_uri_with_invalid_status self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 514, in upload_vnf_package_from_uri context.can( File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:upload_from_uri to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,598 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,598 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,598 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,602 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_from_uri failed with credentials {'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_create_with_status_201 -------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 83, in test_create_with_status_201 self.assertRegex(resp.headers['location'], location_pattern) File "/usr/lib/python3.9/site-packages/webob/headers.py", line 20, in __getitem__ raise KeyError(key) KeyError: 'location' Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,682 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,682 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,682 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,684 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,684 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,684 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,685 INFO [tacker.wsgi] POST http://localhost//vnf_packages 2024-09-05 11:43:49,688 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_create_without_userdefine_data ---------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 98, in test_create_without_userdefine_data self.assertRegex(resp.headers['location'], location_pattern) File "/usr/lib/python3.9/site-packages/webob/headers.py", line 20, in __getitem__ raise KeyError(key) KeyError: 'location' Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,701 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,701 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,701 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,702 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,702 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,702 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,704 INFO [tacker.wsgi] POST http://localhost//vnf_packages 2024-09-05 11:43:49,707 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:create failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_with_204_status -------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 674, in test_delete_with_204_status self.assertEqual(http_client.NO_CONTENT, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,800 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,800 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,800 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,802 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,802 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,802 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,803 INFO [tacker.wsgi] DELETE http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:49,804 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_with_operational_state_enabled ----------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 701, in test_delete_with_operational_state_enabled self.assertRaises(exc.HTTPConflict, self.controller.delete, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 239, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,827 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,827 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,827 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,829 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_delete_with_usage_state_in_use ---------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 714, in test_delete_with_usage_state_in_use self.assertRaises(exc.HTTPConflict, self.controller.delete, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 239, in delete context.can(vnf_package_policies.VNFPKGM % 'delete', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:delete to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,841 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,842 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,842 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,843 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:delete failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_with_invalid_path ------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1317, in test_fetch_vnf_package_artifacts_with_invalid_path self.assertRaises(exc.HTTPNotFound, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 676, in fetch_vnf_package_artifacts context.can(vnf_package_policies.VNFPKGM % 'fetch_artifact', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,932 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,932 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,932 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,935 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_artifacts_with_invalid_status --------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1422, in test_fetch_vnf_package_artifacts_with_invalid_status self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 676, in fetch_vnf_package_artifacts context.can(vnf_package_policies.VNFPKGM % 'fetch_artifact', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_artifact to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:49,962 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:49,962 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:49,962 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:49,964 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_artifact failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content ----------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1221, in test_fetch_vnf_package_content result = self.controller.fetch_vnf_package_content(request, id) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 282, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:50,031 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:50,031 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:50,031 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:50,033 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_invalid_onboarding ------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1244, in test_fetch_vnf_package_content_invalid_onboarding self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 282, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:50,120 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:50,120 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:50,120 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:50,122 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_not_present ----------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1260, in test_fetch_vnf_package_content_not_present self.assertRaises(exc.HTTPNotFound, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 282, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:50,146 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:50,146 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:50,146 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:50,148 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_fetch_vnf_package_content_with_size --------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1285, in test_fetch_vnf_package_content_with_size result = self.controller.fetch_vnf_package_content(request, id) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 282, in fetch_vnf_package_content context.can(vnf_package_policies.VNFPKGM % 'fetch_package_content', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:fetch_package_content to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:50,170 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:50,170 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:50,170 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:50,172 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:fetch_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_failed_with_bad_request ------------------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1072, in test_get_vnf_package_vnfd_failed_with_bad_request self.assertRaises(exc.HTTPBadRequest, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 617, in get_vnf_package_vnfd context.can(vnf_package_policies.VNFPKGM % 'get_vnf_package_vnfd', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:51,782 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:51,782 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:51,782 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,131 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_failed_with_internal_server_error ---------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1157, in test_get_vnf_package_vnfd_failed_with_internal_server_error self.assertRaises(exc.HTTPInternalServerError, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 617, in get_vnf_package_vnfd context.can(vnf_package_policies.VNFPKGM % 'get_vnf_package_vnfd', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:52,145 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,145 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,145 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,146 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,147 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,147 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,148 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:52,149 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:52,149 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_failed_with_invalid_status --------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1114, in test_get_vnf_package_vnfd_failed_with_invalid_status self.assertEqual(http_client.CONFLICT, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:52,162 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,162 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,162 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,163 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,163 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,164 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,165 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:52,165 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_for_content_type_text_plain ---------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1093, in test_get_vnf_package_vnfd_for_content_type_text_plain self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:52,178 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,178 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,178 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,391 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,391 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,391 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,392 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:52,393 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_with_valid_accept_headers_1_application_zip -------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:52,439 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,439 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,439 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,776 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,776 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,776 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:52,777 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:52,778 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_with_valid_accept_headers_2_text_plain_application_zip ------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:52,790 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:52,790 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:52,790 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,130 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,130 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,130 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,131 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:53,132 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_get_vnf_package_vnfd_with_valid_accept_headers_3_application_zip_text_plain ------------------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1041, in test_get_vnf_package_vnfd_with_valid_accept_headers self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,144 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,144 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,145 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,532 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,533 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,533 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,534 INFO [tacker.wsgi] GET http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/vnfd 2024-09-05 11:43:53,535 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:get_vnf_package_vnfd failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_1__vnfpkgm_v1_vnf_packages ------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 141, in test_index self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,547 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,547 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,547 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,551 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_all_fields --------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 154, in test_index_attribute_selector_all_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'artifactPath': 'Scripts/install.sh', 'checksum': {'algorithm': 'SHA-256', 'hash': '27bbdb25d8f4ed6d07d6f6581b86515e8b2f0059b236ef7b6f50d6674b34f02a'}, 'metadata': {}}], 'checksum': {'algorithm': 'fake vnf package algorithm', 'hash': 'fake vnf package hash'}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm', 'hash': 'fake software image hash'}, 'containerFormat': 'bare', 'createdAt': '1900-01-01 01:01:01+00:00', 'diskFormat': 'qcow2', 'id': 'fake_software_image_id', 'imagePath': 'fake image path', 'minDisk': 1, 'minRam': 0, 'name': 'fake software image name', 'provider': 'fake provider', 'size': 1, 'userMetadata': {'key3': 'value3', 'key4': 'value4'}, 'version': '11.22.33'}], 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,562 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,562 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,562 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,566 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_exclude_default -------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 172, in test_index_attribute_selector_exclude_default self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,577 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,577 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,577 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,582 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_exclude_fields_1 --------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 192, in test_index_attribute_selector_exclude_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'artifactPath': 'Scripts/install.sh', 'checksum': {'algorithm': 'SHA-256', 'hash': '27bbdb25d8f4ed6d07d6f6581b86515e8b2f0059b236ef7b6f50d6674b34f02a'}, 'metadata': {}}], 'checksum': {'algorithm': 'fake vnf package algorithm', 'hash': 'fake vnf package hash'}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,593 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,593 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,593 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,596 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_exclude_fields_2 --------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 192, in test_index_attribute_selector_exclude_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'artifactPath': 'Scripts/install.sh', 'checksum': {'algorithm': 'SHA-256', 'hash': '27bbdb25d8f4ed6d07d6f6581b86515e8b2f0059b236ef7b6f50d6674b34f02a'}, 'metadata': {}}], 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm', 'hash': 'fake software image hash'}, 'containerFormat': 'bare', 'createdAt': '1900-01-01 01:01:01+00:00', 'diskFormat': 'qcow2', 'id': 'fake_software_image_id', 'imagePath': 'fake image path', 'minDisk': 1, 'minRam': 0, 'name': 'fake software image name', 'provider': 'fake provider', 'size': 1, 'userMetadata': {'key3': 'value3', 'key4': 'value4'}, 'version': '11.22.33'}], 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,609 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,609 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,609 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,613 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_exclude_fields_3 --------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 192, in test_index_attribute_selector_exclude_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'artifactPath': 'Scripts/install.sh', 'checksum': {'algorithm': 'SHA-256', 'hash': '27bbdb25d8f4ed6d07d6f6581b86515e8b2f0059b236ef7b6f50d6674b34f02a'}, 'metadata': {}}], 'checksum': {'algorithm': 'fake vnf package algorithm', 'hash': 'fake vnf package hash'}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm', 'hash': 'fake software image hash'}, 'containerFormat': 'bare', 'createdAt': '1900-01-01 01:01:01+00:00', 'diskFormat': 'qcow2', 'id': 'fake_software_image_id', 'imagePath': 'fake image path', 'minDisk': 1, 'minRam': 0, 'name': 'fake software image name', 'provider': 'fake provider', 'size': 1, 'userMetadata': {'key3': 'value3', 'key4': 'value4'}, 'version': '11.22.33'}], 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,625 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,625 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,625 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,629 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_exclude_fields_4 --------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 192, in test_index_attribute_selector_exclude_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'checksum': {'algorithm': 'fake vnf package algorithm', 'hash': 'fake vnf package hash'}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm', 'hash': 'fake software image hash'}, 'containerFormat': 'bare', 'createdAt': '1900-01-01 01:01:01+00:00', 'diskFormat': 'qcow2', 'id': 'fake_software_image_id', 'imagePath': 'fake image path', 'minDisk': 1, 'minRam': 0, 'name': 'fake software image name', 'provider': 'fake provider', 'size': 1, 'userMetadata': {'key3': 'value3', 'key4': 'value4'}, 'version': '11.22.33'}], 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,641 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,641 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,641 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,644 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_fields_1 ------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 221, in test_index_attribute_selector_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm', 'hash': 'fake software image hash'}, 'containerFormat': 'bare', 'createdAt': '1900-01-01 01:01:01+00:00', 'diskFormat': 'qcow2', 'id': 'fake_software_image_id', 'imagePath': 'fake image path', 'minDisk': 1, 'minRam': 0, 'name': 'fake software image name', 'provider': 'fake provider', 'size': 1, 'userMetadata': {'key3': 'value3', 'key4': 'value4'}, 'version': '11.22.33'}], 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,656 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,656 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,656 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,660 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_fields_2 ------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 221, in test_index_attribute_selector_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'checksum': {'algorithm': 'fake vnf package algorithm', 'hash': 'fake vnf package hash'}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,671 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,671 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,671 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,675 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_fields_3 ------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 221, in test_index_attribute_selector_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,686 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,686 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,686 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,690 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_fields_4 ------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 221, in test_index_attribute_selector_fields self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'artifactPath': 'Scripts/install.sh', 'checksum': {'algorithm': 'SHA-256', 'hash': '27bbdb25d8f4ed6d07d6f6581b86515e8b2f0059b236ef7b6f50d6674b34f02a'}, 'metadata': {}}], 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,701 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,701 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,701 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,705 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_nested_complex_attribute ----------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 292, in test_index_attribute_selector_nested_complex_attribute self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'additionalArtifacts': [{'checksum': {'algorithm': 'SHA-256'}, 'metadata': {}}], 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'checksum': {'algorithm': 'fake-algorithm'}, 'minRam': 0}], 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,788 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,788 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,788 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,792 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_user_defined_data ---------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 264, in test_index_attribute_selector_user_defined_data self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1', 'key2': 'value2'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,830 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,830 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,830 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,834 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_attribute_selector_user_defined_data_combination ---------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 250, in test_index_attribute_selector_user_defined_data_combination self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'softwareImages': [{'userMetadata': {'key3': 'value3'}}], 'usageState': 'NOT_IN_USE', 'userDefinedData': {'key1': 'value1'}, 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:53,845 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:53,845 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:53,845 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:53,850 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_01 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,092 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,092 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,092 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,096 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_02 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,107 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,107 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,107 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,111 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_03 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,122 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,122 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,122 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,126 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_04 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,137 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,137 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,137 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,141 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_05 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,151 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,152 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,152 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,155 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_06 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,166 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,166 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,166 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,171 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_07 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,182 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,182 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,182 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,186 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_08 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,198 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,198 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,198 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,203 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_09 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,215 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,215 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,215 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,220 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_10 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,232 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,232 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,232 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,237 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_11 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,249 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,249 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,249 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,253 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_12 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,265 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,265 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,265 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,270 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_13 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,281 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,281 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,281 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,285 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_14 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,297 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,297 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,297 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,301 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_15 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,312 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,312 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,312 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,316 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_16 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,327 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,328 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,328 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,332 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_17 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,343 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,343 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,343 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,347 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_18 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,358 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,358 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,358 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,363 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_19 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,375 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,375 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,375 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,379 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_20 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,390 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,391 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,391 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,395 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_21 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,407 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,407 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,407 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,411 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_22 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,423 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,423 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,423 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,428 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_23 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,440 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,440 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,440 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,444 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_24 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,457 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,457 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,457 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,462 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_25 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,474 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,475 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,475 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,479 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_26 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,491 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,491 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,491 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,495 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_27 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,507 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,507 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,508 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,512 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_28 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,524 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,524 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,524 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,528 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_attributes_29 ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 402, in test_index_filter_attributes self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,540 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,541 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,541 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,545 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_combination ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 353, in test_index_filter_combination self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,556 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,556 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,556 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,561 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_01 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,921 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,921 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,921 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,926 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_02 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,938 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,938 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,938 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,943 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_03 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,955 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,955 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,955 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,959 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_04 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,970 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,970 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,970 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,974 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_05 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:54,985 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:54,985 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:54,985 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:54,989 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_06 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,000 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,000 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,000 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,004 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_07 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,016 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,016 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,016 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,020 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_08 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,031 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,031 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,031 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,036 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_09 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,047 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,047 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,047 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,051 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_10 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,062 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,062 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,062 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,067 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_11 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,078 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,078 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,078 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,082 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_12 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,093 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,093 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,093 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,097 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_13 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,109 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,109 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,109 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,113 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_14 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,125 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,125 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,125 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,130 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_15 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,141 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,142 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,142 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,146 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_operator_16 ---------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 333, in test_index_filter_operator self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,157 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,157 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,157 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,162 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_1 -------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,173 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,173 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,173 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,178 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_2 -------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,189 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,189 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,190 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,194 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_3 -------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,205 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,205 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,205 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,209 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_4 -------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,221 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,221 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,221 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,226 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_5 -------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,238 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,238 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,238 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,242 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_filter_valid_string_values_6 -------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 436, in test_index_filter_valid_string_values self.assertEqual( File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef'}}, 'id': 'f26f181d-7891-4720-b022-b074ec1733ef', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'fake vnf product name', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,254 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,254 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,254 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,258 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_paging_1 ------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 655, in test_index_paging self.assertEqual(expected_result, res_dict.json) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}}, 'id': '11111111-1111-1111-1111-111111111111', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample1', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}}, 'id': '22222222-2222-2222-2222-222222222222', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample2', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}}, 'id': '33333333-3333-3333-3333-333333333333', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample3', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}}, 'id': '44444444-4444-4444-4444-444444444444', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample4', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,270 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,270 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,270 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,276 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,277 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,277 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,277 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_paging_2 ------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 655, in test_index_paging self.assertEqual(expected_result, res_dict.json) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}}, 'id': '11111111-1111-1111-1111-111111111111', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample1', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}}, 'id': '22222222-2222-2222-2222-222222222222', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample2', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}}, 'id': '33333333-3333-3333-3333-333333333333', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample3', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}}, 'id': '44444444-4444-4444-4444-444444444444', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample4', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,290 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,290 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,291 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,296 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,297 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,297 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,297 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_paging_4 ------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 655, in test_index_paging self.assertEqual(expected_result, res_dict.json) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/33333333-3333-3333-3333-333333333333'}}, 'id': '33333333-3333-3333-3333-333333333333', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample3', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/44444444-4444-4444-4444-444444444444'}}, 'id': '44444444-4444-4444-4444-444444444444', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample4', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,325 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,325 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,325 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,331 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,332 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_index_paging_5 ------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/ddt.py", line 220, in wrapper return func(self, *args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 655, in test_index_paging self.assertEqual(expected_result, res_dict.json) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: !=: reference = [{'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/11111111-1111-1111-1111-111111111111'}}, 'id': '11111111-1111-1111-1111-111111111111', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample1', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}, {'_links': {'packageContent': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222/package_content'}, 'self': {'href': '/vnfpkgm/v1/vnf_packages/22222222-2222-2222-2222-222222222222'}}, 'id': '22222222-2222-2222-2222-222222222222', 'onboardingState': 'ONBOARDED', 'operationalState': 'ENABLED', 'usageState': 'NOT_IN_USE', 'vnfProductName': 'sample2', 'vnfProvider': 'fake vnf provider', 'vnfSoftwareVersion': 'fake vnf software version', 'vnfdId': 'ad6be9a0-7e34-4961-8810-b36cab4e80cd', 'vnfdVersion': 'fake vnfd version'}] actual = [] Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,343 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,343 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,343 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,348 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} 2024-09-05 11:43:55,349 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:index failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch --------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 897, in test_patch self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,361 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,361 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,361 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,362 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,362 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,362 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,364 INFO [tacker.wsgi] PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:55,367 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_failed_with_same_operational_state -------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1007, in test_patch_failed_with_same_operational_state self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 545, in patch context.can(vnf_package_policies.VNFPKGM % 'patch', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,460 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,461 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,461 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,466 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_failed_with_same_user_data ------------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 965, in test_patch_failed_with_same_user_data self.assertRaises(exc.HTTPConflict, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 545, in patch context.can(vnf_package_policies.VNFPKGM % 'patch', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,481 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,481 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,481 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,486 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_not_in_onboarded_state -------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1021, in test_patch_not_in_onboarded_state self.assertRaises(exc.HTTPBadRequest, File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 469, in assertRaises self.assertThat(our_callable, matcher) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 480, in assertThat mismatch_error = self._matchHelper(matchee, matcher, message, verbose) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 532, in _matchHelper mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 104, in match mismatch = self.exception_matcher.match(exc_info) File "/usr/lib/python3.9/site-packages/testtools/matchers/_higherorder.py", line 62, in match mismatch = matcher.match(matchee) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 459, in match reraise(*matchee) File "/usr/lib/python3.9/site-packages/testtools/compat.py", line 26, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/lib/python3.9/site-packages/testtools/matchers/_exception.py", line 97, in match result = matchee() File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 1041, in __call__ return self._callable_object(*self._args, **self._kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/validation/__init__.py", line 50, in wrapper return func(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 545, in patch context.can(vnf_package_policies.VNFPKGM % 'patch', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:patch to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,502 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,502 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,502 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,507 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_patch_update_existing_user_data ----------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 942, in test_patch_update_existing_user_data self.assertEqual(http_client.OK, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,522 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,522 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,522 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,524 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,524 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,524 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,525 INFO [tacker.wsgi] PATCH http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef 2024-09-05 11:43:55,529 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:patch failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_show -------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 111, in test_show res_dict = self.controller.show(req, constants.UUID) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/wsgi.py", line 109, in wrapped return f(*args, **kwargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/api/vnfpkgm/v1/controller.py", line 121, in show context.can(vnf_package_policies.VNFPKGM % 'show', File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/context.py", line 159, in can return policy.authorize(self, action, tgt) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 222, in authorize LOG.error('Policy check for %(action)s failed with credentials ' File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit__ self.force_reraise() File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_reraise raise self.value File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/policy.py", line 209, in authorize result = _ENFORCER.authorize(action, target, credentials, File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1189, in authorize return self.enforce( File "/usr/lib/python3.9/site-packages/oslo_policy/policy.py", line 1093, in enforce raise exc(*args, **kwargs) tacker.common.exceptions.PolicyNotAuthorized: Policy doesn't allow os_nfv_orchestration_api:vnf_packages:show to be performed. Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,604 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,604 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,604 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,606 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:show failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} tacker.tests.unit.vnfpkgm.test_controller.TestControllerEnhancedPolicy.test_upload_vnf_package_content ------------------------------------------------------------------------------------------------------ Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.9/unittest/mock.py", line 1336, in patched return func(*newargs, **newkeywargs) File "/builddir/build/BUILD/tacker-11.1.0.dev38/tacker/tests/unit/vnfpkgm/test_controller.py", line 1470, in test_upload_vnf_package_content self.assertEqual(http_client.ACCEPTED, resp.status_code) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 395, in assertEqual self.assertThat(observed, matcher, message) File "/usr/lib/python3.9/site-packages/testtools/testcase.py", line 482, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: != 403 Captured pythonlogging: ~~~~~~~~~~~~~~~~~~~~~~~ 2024-09-05 11:43:55,749 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,749 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,749 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,752 INFO [glance_store._drivers.filesystem] Directory to write image files does not exist (/var/lib/glance/images). Creating. 2024-09-05 11:43:55,752 ERROR [glance_store._drivers.filesystem] Unable to create datadir: /var/lib/glance/images 2024-09-05 11:43:55,752 WARNING [glance_store.driver] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Unable to create datadir: /var/lib/glance/images Disabling add method. 2024-09-05 11:43:55,754 INFO [tacker.wsgi] PUT http://localhost//vnf_packages/f26f181d-7891-4720-b022-b074ec1733ef/package_content 2024-09-05 11:43:55,755 ERROR [tacker.policy] Policy check for os_nfv_orchestration_api:vnf_packages:upload_package_content failed with credentials {'area': ['*'], 'vendor': ['*'], 'tenant': ['*'], 'is_admin': True, 'user_id': 'fdc3dd6d-3ed9-4fd7-b897-32cfc037fe87', 'project_id': '9abee975-910e-40af-a4a8-a328483b9046', 'domain': None, 'user_domain': None, 'project_domain': None, 'tenant_name': None, 'project_name': None, 'user_name': None, 'user_domain_id': None, 'system_scope': None, 'domain_id': None, 'project_domain_id': None, 'roles': [], 'is_admin_project': True, 'service_user_id': None, 'service_user_domain_id': None, 'service_project_id': None, 'service_project_domain_id': None, 'service_roles': []} ====== Totals ====== Ran: 1273 tests in 53.3698 sec. - Passed: 832 - Skipped: 168 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 273 Sum of execute time for each test: 52.7958 sec. ============== Worker Balance ============== - Worker 0 (1273 tests) => 0:00:53.369804 Test id Runtime (s) ---------------------------------------------------------------------------------------------------------------------- ----------- tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_vnf_package_vnfd_download_from_glance_store 2.007 tacker.tests.unit.conductor.test_conductor_server.TestConductor.test_get_vnf_package_vnfd_with_tosca_meta_file_in_csar 1.892 tacker.tests.unit.test_auth.TestOAuth2Session.test_schedule_refrash_token_expaire 1.017 tacker.tests.unit.test_auth.TestOAuth2Session.test_apply_access_token_info 1.016 tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_single_yaml 1.015 tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_meta_in_manifest_with_vnf_artifact 0.882 tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_with_single_manifest_with_vnf_artifact 0.854 tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_false_mf_name_with_vnf_artifact 0.852 tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data_missing_value_with_vnf_artifact 0.851 tacker.tests.unit.common.test_csar_utils.TestCSARUtils.test_load_csar_data 0.822 ERROR: InvocationError for command /usr/bin/stestr run --slowest --concurrency 1 --exclude-regex 'ipv6|vnfm|vnflcm|sol_refactored' (exited with code 1) ___________________________________ summary ____________________________________ ERROR: py39: commands failed error: Bad exit status from /var/tmp/rpm-tmp.RNtlgl (%check) Bad exit status from /var/tmp/rpm-tmp.RNtlgl (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -ba --noprep --target x86_64 /builddir/build/SPECS/openstack-tacker.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -ba --noprep --target x86_64 /builddir/build/SPECS/openstack-tacker.spec'