From c9f68fbfccc3785862f41da39ed8743de536b60d Mon Sep 17 00:00:00 2001 From: Tatyana Leontovich Date: Mon, 18 Apr 2016 20:29:03 +0300 Subject: [PATCH] Stop to wrap release_id into str We have next commit in fuel-web https://review.openstack.org/#/c/303281/2 that add expectation of int type of release_id. In fuel-qa when we create cluster we get release id by release name and then cast it to string - that leads to 400 bad request with "message": "deque(['release']): u'2' is not of type 'integer'", "errors": []} Closes-Bug: #1571780 Change-Id: Ie894a056f33d770bebece4f4d24e3261b368c35a --- fuelweb_test/models/fuel_web_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuelweb_test/models/fuel_web_client.py b/fuelweb_test/models/fuel_web_client.py index 003e75985..69556dafc 100644 --- a/fuelweb_test/models/fuel_web_client.py +++ b/fuelweb_test/models/fuel_web_client.py @@ -458,7 +458,7 @@ class FuelWebClient(object): if not cluster_id: data = { "name": name, - "release": str(release_id), + "release": release_id, "mode": mode }