error when Install and configure controller node in zun
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
New
|
Undecided
|
Unassigned |
Bug Description
After installing Openstack with the official guide (Devstack) on the Ubuntu 20.04 controller, I try to install Zun as described in the official guide. After the instruction "su -s / bin / sh -c" zun-db-manage upgrade "zun" used to populate the database, the following error appears:
Traceback (most recent call last):
File "/ usr / local / bin / zun-db-manage", line 10, in <module>
sys.exit (main ())
File "/usr/local/
CONF.
File "/usr/local/
migration.
File "/usr/local/
return get_backend (). upgrade (version)
File "/usr/local/
get_manager (). upgrade (version)
File "/usr/local/
_MANAGER = manager.
File "/usr/local/
return f (* args, ** kwargs)
File "/usr/local/
raise ValueError ('There must be at least one plugin active.')
ValueError: There must be at least one plugin active.
like this https:/ /bugs.launchpad .net/zun/ +bug/1718865
in my environment,I copy the file from zun source code to python lib dir,and rerun is ok.
root@controller :/home/ stack# cd /var/lib/ zun/zun/ zun/db/ sqlalchemy :/var/lib/ zun/zun/ zun/db/ sqlalchemy# cp -r alembic /usr/local/ lib/python3. 10/dist- packages/ zun/db/ sqlalchemy/ :/var/lib/ zun/zun/ zun/db/ sqlalchemy# cp alembic.ini /usr/local/ lib/python3. 10/dist- packages/ zun/db/ sqlalchemy/
root@controller
root@controller