Hi

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"
--autogenerate"

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
merge.
  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
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to