DB update fails during magnum install in newton

Bug #1636131 reported by Pauline Castets
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Magnum
New
Undecided
Unassigned

Bug Description

I am following this guide: http://docs.openstack.org/project-install-guide/container-infrastructure-management/newton/install-ubuntu.html to install Magnum (Newton) in Ubuntu 16.04.

I have the following error when populating the magnum database:

root@openstack-rennes-3:/home/stack# su -s /bin/sh -c "magnum-db-manage upgrade" magnum
Traceback (most recent call last):
  File "/usr/bin/magnum-db-manage", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/dist-packages/magnum/cmd/db_manage.py", line 69, in main
    CONF.command.func()
  File "/usr/lib/python2.7/dist-packages/magnum/cmd/db_manage.py", line 29, in do_upgrade
    migration.upgrade(CONF.command.revision)
  File "/usr/lib/python2.7/dist-packages/magnum/db/migration.py", line 36, in upgrade
    return get_backend().upgrade(version)
  File "/usr/lib/python2.7/dist-packages/magnum/db/sqlalchemy/migration.py", line 57, in upgrade
    get_manager().upgrade(version)
  File "/usr/lib/python2.7/dist-packages/magnum/db/sqlalchemy/migration.py", line 35, in get_manager
    _MANAGER = manager.MigrationManager(migration_config)
  File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/migration_cli/manager.py", line 47, in __init__
    raise ValueError('There must be at least one plugin active.')
ValueError: There must be at least one plugin active.

I suspect that I made a configuration error, but I don't know what to look for.

I would like to mention that the magnum.conf modifications that are in the installation manual look quite different from the installed magnum.conf file, especially the [keystone_authtoken] options.

tags: added: doc
tags: added: magnum
tags: added: install-guide
Revision history for this message
yatin (yatinkarel) wrote :

Can you check the version installed of magnum.
I think it's related with https://bugs.launchpad.net/ubuntu/+source/magnum/+bug/1632743 and is fixed

Revision history for this message
Adrien Cunin (adri2000) wrote :

It is indeed a bug in the package rather than in Magnum itself, and it's fixed in Debian. Not yet in the Ubuntu package.
Marking as duplicate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.