<div dir="ltr"><div class="gmail_signature"><div dir="ltr"><div><div><div style="font-size:12.8000001907349px">Hi </div><div style="font-size:12.8000001907349px"> </div><div style="font-size:12.8000001907349px">I am trying to execute the lbaas db upgrade procedure but I have several question regarding this. </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">From the patch: </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I moved to /neutron-lbaas/neutron_lbaas/<wbr>db/migration </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"> - Create a revision file</div><div style="font-size:12.8000001907349px">I executed "neutron-db-manage revision -m "description of revision" --autogenerate" </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">At this point I saw an error: </div><div style="font-size:12.8000001907349px">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.</div><div style="font-size:12.8000001907349px"> FAILED: Multiple heads are present; please specify the head revision on which the new revision should be based, or perform a merge.</div><div style="font-size:12.8000001907349px">[</div><div style="font-size:12.8000001907349px"> but checking history and migration ( neutron-db-manage check_migration and neutron-db-manage history) I saw no error.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">No files seemed to be generated. </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"> - Edit the created file and fill the content properly with this file </div><div style="font-size:12.8000001907349px">This step is not clear to me ^</div><div style="font-size:12.8000001907349px"> - Run alembic upgrade head</div><div style="font-size:12.8000001907349px">What is the commend for that? (neutron-db-manage upgrade ? Did , fails)</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"> - Run the migration upgrade code</div><div style="font-size:12.8000001907349px">what is the best way to execute the command? ( python the_script.py?)</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Kind regards</div></div></div></div></div>
</div>