← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1612433] Re: neutron-db-manage autogenerate is generating empty upgrades

 

This seems to not work properly in sub projects..

$ neutron-db-manage --subproject networking-odl revision -m "Add journal dependency table" --autogenerate 
  Running revision for networking-odl ...
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_service_function_params'
INFO  [alembic.autogenerate.compare] Detected removed table u'cisco_firewall_associations'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_port_pair_groups'
INFO  [alembic.autogenerate.compare] Detected removed table u'bgpvpn_router_associations'
INFO  [alembic.autogenerate.compare] Detected removed table u'lbaas_l7rules'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_path_nodes'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_path_port_associations'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_chain_group_associations'
INFO  [alembic.autogenerate.compare] Detected removed table u'physical_locators'
INFO  [alembic.autogenerate.compare] Detected removed table u'l2gw_alembic_version'
INFO  [alembic.autogenerate.compare] Detected removed table u'lbaas_l7policies'
INFO  [alembic.autogenerate.compare] Detected removed table u'firewall_rules_v2'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_port_pairs'
INFO  [alembic.autogenerate.compare] Detected removed table u'alembic_version'
INFO  [alembic.autogenerate.compare] Detected removed table u'firewall_groups_v2'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_uuid_intid_associations'
INFO  [alembic.autogenerate.compare] Detected removed table u'l2gatewayinterfaces'
INFO  [alembic.autogenerate.compare] Detected removed table u'alembic_version_lbaas'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_flow_classifiers'
INFO  [alembic.autogenerate.compare] Detected removed table u'alembic_version_fwaas'
INFO  [alembic.autogenerate.compare] Detected removed table u'firewall_group_port_associations_v2'
INFO  [alembic.autogenerate.compare] Detected removed table u'opendaylightjournal'
INFO  [alembic.autogenerate.compare] Detected removed table u'l2gatewaydevices'
INFO  [alembic.autogenerate.compare] Detected removed table u'lbaas_sessionpersistences'
INFO  [alembic.autogenerate.compare] Detected removed table u'lbaas_loadbalanceragentbindings'
INFO  [alembic.autogenerate.compare] Detected removed table u'lbaas_members'
INFO  [alembic.autogenerate.compare] Detected removed table u'opendaylight_maintenance'
INFO  [alembic.autogenerate.compare] Detected removed table u'lbaas_loadbalancers'
INFO  [alembic.autogenerate.compare] Detected removed table u'firewall_policy_rule_associations_v2'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_port_chain_parameters'
INFO  [alembic.autogenerate.compare] Detected removed table u'physical_ports'
INFO  [alembic.autogenerate.compare] Detected removed table u'lbaas_listeners'
INFO  [alembic.autogenerate.compare] Detected removed table u'pending_ucast_macs_remotes'
INFO  [alembic.autogenerate.compare] Detected removed table u'alembic_version_bgpvpn'
INFO  [alembic.autogenerate.compare] Detected removed table u'bgpvpn_network_associations'
INFO  [alembic.autogenerate.compare] Detected removed table u'bgpvpns'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_port_pair_group_params'
INFO  [alembic.autogenerate.compare] Detected removed table u'lbaas_pools'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_flow_classifier_l7_parameters'
INFO  [alembic.autogenerate.compare] Detected removed table u'lbaas_healthmonitors'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_chain_classifier_associations'
INFO  [alembic.autogenerate.compare] Detected removed table u'firewall_router_associations'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_portpair_details'
INFO  [alembic.autogenerate.compare] Detected removed table u'sfc_port_chains'
INFO  [alembic.autogenerate.compare] Detected removed table u'lbaas_loadbalancer_statistics'
INFO  [alembic.autogenerate.compare] Detected removed table u'l2gateways'
INFO  [alembic.autogenerate.compare] Detected removed table u'firewall_policies_v2'
INFO  [alembic.autogenerate.compare] Detected removed table u'ucast_macs_locals'
INFO  [alembic.autogenerate.compare] Detected removed table u'l2gatewayconnections'
INFO  [alembic.autogenerate.compare] Detected removed table u'lbaas_sni'
INFO  [alembic.autogenerate.compare] Detected removed table u'alembic_version_sfc'
INFO  [alembic.autogenerate.compare] Detected removed table u'ucast_macs_remotes'
INFO  [alembic.autogenerate.compare] Detected removed table u'logical_switches'
INFO  [alembic.autogenerate.compare] Detected removed table u'physical_switches'
INFO  [alembic.autogenerate.compare] Detected removed table u'vlan_bindings'
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.


** Changed in: neutron
       Status: Invalid => New

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

Title:
  neutron-db-manage autogenerate is generating empty upgrades

Status in networking-arista:
  New
Status in neutron:
  New

Bug description:
  The alembic autogenerate wrapper,

    neutron-db-manage revision -m "description" --[contract|expand]

  is no longer collecting model/migration diffs and is generating empty
  upgrade scripts.

  Not sure when this broke.

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-arista/+bug/1612433/+subscriptions


References