← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1475172] Re: VPNService status doesn't go to PENDING_UPDATE when being updated

 

The pending states are used for cases when an action takes a long time -
namely, longer than the request response. For example, when creating an
IPSec connection, there is a period of time where the tunnel must be set
up and negotiated. As a result, the create request will return a
response, but the operation is still in progress. The actual creation
may take 30+ seconds to complete.

All update requests, are performed immediately, and will have completed
by the time the request returns a response. Hence, no intermediate
PENDING state is needed.

This operates as designed.

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

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

Title:
  VPNService status doesn't go to PENDING_UPDATE when being updated

Status in neutron:
  Invalid

Bug description:
  In the function update_vpnservice in module neutron-
  vpnaas.services.vpn.plugin, it should have existed a statement
  assigning PENDING_UPDATE to vpnservice['vpnservice']['status'] before
  invoke the corresponding db operation. Am I missing something?

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


References