← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 872489] Re: utils.execute throws exception.ProcessExecutionError but it is not handled in many case

 

** Changed in: openstack-qa
       Status: In Progress => Fix Released

** Changed in: nova
       Status: Confirmed => Fix Released

-- 
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/872489

Title:
  utils.execute throws exception.ProcessExecutionError but it is not
  handled in many case

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack QA:
  Fix Released

Bug description:
  utils.execute throws exception.ProcessExecutionError but it is not handled in many case.
  These exceptions must be handled and intermediate state must be rollbacked.

  Examples:
  In IptablesManager.apply(), util.execute used. When an exception.ProcessExecutionError raised during loop, left procedures are not performed. 

  - initialize_gateway_device()
  - LinuxBridgeInterfaceDriver.ensure_bridge()
  - bind_floating_ip()
  - unbind_floating_ip()
  - ensure_metadata_ip()
  - release_dhcp()
  - update_dhcp()
  - update_ra()
  - LinuxBridgeInterfaceDriver.ensure_vlan()
  - LinuxOVSInterfaceDriver.plug()
  - _device_exists()
  - _stop_dnsmasq()

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