oslo tool to generate the policy or sample policy file does not work for magnum service.
``oslopolicy-policy-generator --namespace magnum`` end up with
below error:
ModuleNotFoundError: No module named 'magnum.policy'
same error with oslopolicy-sample-generator --namespace magnum
oslo.policy policy generator tool look for the service oslo policy enforcer
entry and does not find it. setup.cfg file is missing the entry point for
magnum oslo policy enforcer.
- https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/5ZRWWL3YKWX3XCFGTC4G2KP6PCJMBL64/
Closes-Bug: #2068519
Change-Id: Iff94f7dea491b0ea465b17cd60c37423224f9ffa
69 lines
2.0 KiB
INI
69 lines
2.0 KiB
INI
[metadata]
|
|
name = magnum
|
|
summary = Container Management project for OpenStack
|
|
description_file =
|
|
README.rst
|
|
author = OpenStack
|
|
author_email = openstack-dev@lists.openstack.org
|
|
home_page = http://docs.openstack.org/magnum/latest/
|
|
python_requires = >=3.8
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: Implementation :: CPython
|
|
Programming Language :: Python :: 3 :: Only
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.8
|
|
Programming Language :: Python :: 3.9
|
|
Programming Language :: Python :: 3.10
|
|
Programming Language :: Python :: 3.11
|
|
|
|
[files]
|
|
data_files =
|
|
etc/magnum =
|
|
etc/magnum/api-paste.ini
|
|
packages =
|
|
magnum
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
magnum-api = magnum.cmd.api:main
|
|
magnum-conductor = magnum.cmd.conductor:main
|
|
magnum-db-manage = magnum.cmd.db_manage:main
|
|
magnum-driver-manage = magnum.cmd.driver_manage:main
|
|
magnum-status = magnum.cmd.status:main
|
|
|
|
wsgi_scripts =
|
|
magnum-api-wsgi = magnum.api.app:build_wsgi_app
|
|
|
|
oslo.config.opts =
|
|
magnum = magnum.opts:list_opts
|
|
magnum.conf = magnum.conf.opts:list_opts
|
|
|
|
oslo.config.opts.defaults =
|
|
magnum = magnum.common.config:set_config_defaults
|
|
|
|
oslo.policy.enforcer =
|
|
magnum = magnum.common.policy:get_enforcer
|
|
|
|
oslo.policy.policies =
|
|
magnum = magnum.common.policies:list_rules
|
|
|
|
magnum.drivers =
|
|
k8s_fedora_coreos_v1 = magnum.drivers.k8s_fedora_coreos_v1.driver:Driver
|
|
|
|
magnum.database.migration_backend =
|
|
sqlalchemy = magnum.db.sqlalchemy.migration
|
|
|
|
magnum.cert_manager.backend =
|
|
barbican = magnum.common.cert_manager.barbican_cert_manager
|
|
local = magnum.common.cert_manager.local_cert_manager
|
|
x509keypair = magnum.common.cert_manager.x509keypair_cert_manager
|
|
[extras]
|
|
osprofiler =
|
|
osprofiler>=3.4.0 # Apache-2.0
|