I guess you hit https://bugs.launchpad.net/neutron/+bug/1503342, seems we
need to reopen it.
I can only suggest to create migration manually "neutron-db-manage
--config-file /etc/neutron/neutron.conf revision -m "description of
Then you will see path to file which was generated, you can edit this file
and add operation that you need.
On Thu, Sep 29, 2016 at 12:19 PM Alex Stafeyev <astaf...@redhat.com> wrote:
> I am trying to execute the lbaas db upgrade procedure but I have several
> question regarding this.
> From the patch:
> I moved to /neutron-lbaas/neutron_lbaas/db/migration
> - Create a revision file
> I executed "neutron-db-manage revision -m "description of revision"
> At this point I saw an error:
> ERROR [alembic.util.messaging] Multiple heads are present; please specify
> the head revision on which the new revision should be based, or perform a
> FAILED: Multiple heads are present; please specify the head revision on
> which the new revision should be based, or perform a merge.
> but checking history and migration ( neutron-db-manage check_migration
> and neutron-db-manage history) I saw no error.
> No files seemed to be generated.
> - Edit the created file and fill the content properly with this file
> This step is not clear to me ^
> - Run alembic upgrade head
> What is the commend for that? (neutron-db-manage upgrade ? Did , fails)
> - Run the migration upgrade code
> what is the best way to execute the command? ( python the_script.py?)
> Kind regards
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
OpenStack Development Mailing List (not for usage questions)