-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 20/08/14 15:42, Vijay Venkatachalam wrote:
> Hi,
> 
> I am writing a unit testcase with context as subnet, code here [1].
>  When the context exits a delete of subnet is attempted and I am
> getting a MismatchError . Traceback posted here [2].
> 
> What could be going wrong here?
> 
> Testcase is written like the following ---------------------- with
> self.subnet() as subnet: blah1 blah2 blah3 ----------------------
> 
> I am getting a "MismatchError: 409 != 204" error at blah3 when
> context exits.
> 
> [1] UnitTestCase Snippet - http://pastebin.com/rMtf2dQX [2]
> Traceback  - http://pastebin.com/2sPcZ8Jk
> 
> 

I guess that it fails to delete the subnet because the load balancer
is linked to it (you don't delete LB, see no_delete=True).

/Ihar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iQEcBAEBCgAGBQJT9KrcAAoJEC5aWaUY1u57OCQH/3Z4o2tP7pkKzVGWCbP5PsyQ
ohKYAmRZ34nP7CrzHrN3fF9Q6oRKDAyyP1r2oklhV3iT3m/ZFbN1azZL4wB2WX1k
km+x7exQVckDDEwBUbP9x57zxIwheH5jAxgbRHasttDB3s06n/BOGOQ1h51+LHX6
IjODTiGI0r4jCygQFmcMKb85Nzc9CMJieh33RUDduFj3LkHwvx/mQWaZ0zl/O/NQ
huWjEd8ridD9lOgiUFRdBAn+3JRAEcdkIc8YLZcF40sqv1uJJlMtKtQEDjd9ve2c
jDpQSK263P7InxGo6c13O75mtA92imeKDmZUwbejOPWbtNWqdfyC70VB51xRIQI=
=1+pZ
-----END PGP SIGNATURE-----

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to