terraform/builtin
Karol Stępniewski 1fef190b68 Check for ErrDefault500 when creating/deleting pool member (#12664)
If LBaaSV2 member creation/deletion is attempted while LB resource is
busy (for example it's in PENDING_UPDATE state), Neutron will return 500
error. Currently This being caught by type assertion to
ErrUnexpectedResponseCode, however error 500 has a dedicated type
ErrDefault500, which makes the current type assertion to miss it and
eventually the error slips out through the check. This patch
changes the type assertion to explicitly check for ErrDefault500.

Also similar check has been added when member is deleted.
2017-03-14 12:45:43 +02:00
..
bins New Provider: Spotinst (#5001) 2017-02-22 22:57:16 +02:00
providers Check for ErrDefault500 when creating/deleting pool member (#12664) 2017-03-14 12:45:43 +02:00
provisioners remove log.Fatal from test 2017-02-24 18:48:48 -05:00