← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1218609] Re: Although CONF.fatal_deprecations=True raises DeprecatedConfig it is not fatal

 

Looks like it is working: https://review.openstack.org/#/c/130041/

** Changed in: oslo-incubator
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1218609

Title:
  Although CONF.fatal_deprecations=True raises DeprecatedConfig it is
  not fatal

Status in OpenStack Compute (Nova):
  Invalid
Status in The Oslo library incubator:
  Invalid

Bug description:
  See: http://logs.openstack.org/49/44349/1/check/gate-tempest-devstack-
  vm-neutron/eb224ae/logs/screen-n-cpu.txt.gz#_2013-08-29_19_56_09_090

  2013-08-29 19:56:09.090 ERROR nova.compute.manager [req-6a8e8d57-3b95-4ccb-b478-c34d488b04d3 demo demo] [instance: e9c0e31d-9528-48af-a496-53750fcf4a42] Error: Fatal call to deprecated config: Deprecated: The LibvirtHybridOVSBridgeDriver VIF driver is now deprecated and will be removed in the next release. Please use the LibvirtGenericVIFDriver VIF driver, together with a network plugin that reports the 'vif_type' attribute
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42] Traceback (most recent call last):
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]   File "/opt/stack/new/nova/nova/compute/manager.py", line 1009, in _build_instance
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]     set_access_ip=set_access_ip)
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]   File "/opt/stack/new/nova/nova/compute/manager.py", line 1297, in _spawn
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]     LOG.exception(_('Instance failed to spawn'), instance=instance)
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]   File "/opt/stack/new/nova/nova/compute/manager.py", line 1293, in _spawn
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]     block_device_info)
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 1693, in spawn
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]     write_to_disk=True)
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2541, in to_xml
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]     disk_info, rescue, block_device_info)
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2442, in get_guest_config
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]     inst_type)
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]   File "/opt/stack/new/nova/nova/virt/libvirt/vif.py", line 739, in get_config
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]     LOG.deprecated(_("The LibvirtHybridOVSBridgeDriver VIF driver is now "
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]   File "/opt/stack/new/nova/nova/openstack/common/log.py", line 248, in deprecated
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]     raise DeprecatedConfig(msg=stdmsg)
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42] DeprecatedConfig: Fatal call to deprecated config: Deprecated: The LibvirtHybridOVSBridgeDriver VIF driver is now deprecated and will be removed in the next release. Please use the LibvirtGenericVIFDriver VIF driver, together with a network plugin that reports the 'vif_type' attribute
  2013-08-29 19:56:09.090 32736 TRACE nova.compute.manager [instance: e9c0e31d-9528-48af-a496-53750fcf4a42]

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