← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1599574] [NEW] "upgrade --expand" alembic migration failure

 

Public bug reported:

When installing neutron from source, specifically the versions:

neutron (9.0.0.0b2.dev383)
neutron-fwaas (9.0.0.0b2.dev20)
neutron-lbaas (9.0.0.0b2.dev44)
neutron-lib (0.2.0)
neutron-vpnaas (9.0.0.0b2.dev10)

using pip requirements of:

git+https://git.openstack.org/openstack/neutron@master#egg=neutron
git+https://git.openstack.org/openstack/neutron-fwaas@master#egg=neutron-fwaas
git+https://git.openstack.org/openstack/neutron-lbaas@master#egg=neutron-lbaas
git+https://git.openstack.org/openstack/neutron-vpnaas@master#egg=neutron-vpnaas

And then running:

neutron-db-manage upgrade --expand

We are seeing:

INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
  Running upgrade (expand) for neutron ...
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
  OK
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
  Running upgrade (expand) for neutron-fwaas ...
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
ERROR [alembic.util.messaging] Can't locate revision identified by 'neutron-fwaas-expand'
  FAILED: Can't locate revision identified by 'neutron-fwaas-expand'

The issue is reproducible in the OpenStack-Ansible os_neutron role gate
checks:

https://review.openstack.org/#/q/project:openstack/openstack-ansible-
os_neutron+status:+open

** Affects: neutron
     Importance: High
     Assignee: Henry Gessau (gessau)
         Status: Confirmed


** Tags: db

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1599574

Title:
  "upgrade --expand" alembic migration failure

Status in neutron:
  Confirmed

Bug description:
  When installing neutron from source, specifically the versions:

  neutron (9.0.0.0b2.dev383)
  neutron-fwaas (9.0.0.0b2.dev20)
  neutron-lbaas (9.0.0.0b2.dev44)
  neutron-lib (0.2.0)
  neutron-vpnaas (9.0.0.0b2.dev10)

  using pip requirements of:

  git+https://git.openstack.org/openstack/neutron@master#egg=neutron
  git+https://git.openstack.org/openstack/neutron-fwaas@master#egg=neutron-fwaas
  git+https://git.openstack.org/openstack/neutron-lbaas@master#egg=neutron-lbaas
  git+https://git.openstack.org/openstack/neutron-vpnaas@master#egg=neutron-vpnaas

  And then running:

  neutron-db-manage upgrade --expand

  We are seeing:

  INFO  [alembic.runtime.migration] Context impl MySQLImpl.
  INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
    Running upgrade (expand) for neutron ...
  INFO  [alembic.runtime.migration] Context impl MySQLImpl.
  INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
    OK
  INFO  [alembic.runtime.migration] Context impl MySQLImpl.
  INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
    Running upgrade (expand) for neutron-fwaas ...
  INFO  [alembic.runtime.migration] Context impl MySQLImpl.
  INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
  ERROR [alembic.util.messaging] Can't locate revision identified by 'neutron-fwaas-expand'
    FAILED: Can't locate revision identified by 'neutron-fwaas-expand'

  The issue is reproducible in the OpenStack-Ansible os_neutron role
  gate checks:

  https://review.openstack.org/#/q/project:openstack/openstack-ansible-
  os_neutron+status:+open

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1599574/+subscriptions


Follow ups