← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1295539] Re: Inconsistent usage of 'server_default' parameter in models and migrations

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

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

Title:
   Inconsistent  usage of 'server_default' parameter in models and
  migrations

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  In ml2 models parameter 'default' is used for vnic_type, profile and
  vif_details, but in migrations  27cc183af192_ml2_vnic_type,
  157a5d299379_ml2_binding_profile and
  50d5ba354c23_ml2_binding_vif_details  'server_default' parameter is
  used. So in database there is default values for this columns
  http://paste.openstack.org/show/85634/.

  Also if in models mentions 'default' it is better to add this into db,
  as this default could be reached only via code. This situation
  happened for the following models
  http://paste.openstack.org/show/85631/

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


References