<<<<<<<<<<>>>>>>>>>>>>>>>>>>> GET /MUSIC/rest/v2/keyspaces/conductor_rpc/tables/controller/rows HTTP/1.1 Host: 172.17.0.4:8080 Connection: keep-alive Accept-Encoding: gzip, deflate Accept: application/json User-Agent: python-requests/2.19.0 Content-Type: application/json X-patchVersion: 21 ns: conductor userId: conductor password: c0nduct0r <<<<<<<<<<>>>>>>>>>>>>>>>>>>> HTTP/1.1 200 X-minorVersion: 5 X-patchVersion: 21 X-latestVersion: 2.5.3 Content-Type: application/json Transfer-Encoding: chunked Date: Wed, 13 Jun 2018 14:26:41 GMT {"result":{"row 0":{"args":"{\"name\": \"original-asdf\", \"template\": {\"parameters\": {\"REQUIRED_DISK\": 100, \"customer_lat\": 32.89748, \"service_name\": \"Residential vCPE\", \"customer_long\": -97.040443, \"service_id\": \"vcpe_service_id\", \"REQUIRED_MEM\": 4}, \"demands\": {\"vGMuxInfra\": [{\"excluded_candidates\": [{\"candidate_id\": \"1ac71fb8-ad43-4e16-9459-c3f372b8236d\"}], \"attributes\": {\"equipment_type\": \"vG_Mux\", \"customer-id\": \"some_company\"}, \"inventory_provider\": \"aai\", \"inventory_type\": \"service\", \"existing_placement\": [{\"candidate_id\": \"21d5f3e8-e714-4383-8f99-cc480144505a\"}]}], \"vG\": [{\"inventory_provider\": \"aai\", \"inventory_type\": \"cloud\"}]}, \"locations\": {\"customer_loc\": {\"latitude\": {\"get_param\": \"customer_lat\"}, \"longitude\": {\"get_param\": \"customer_long\"}}}, \"optimization\": {\"minimize\": {\"sum\": [{\"distance_between\": [\"customer_loc\", \"vGMuxInfra\"]}, {\"distance_between\": [\"customer_loc\", \"vG\"]}]}}, \"homing_template_version\": \"2017-10-10\", \"constraints\": {\"colocation\": {\"type\": \"zone\", \"properties\": {\"category\": \"region\", \"qualifier\": \"same\"}, \"demands\": [\"vGMuxInfra\", \"vG\"]}, \"check_cloud_capacity\": {\"type\": \"vim_fit\", \"properties\": {\"controller\": \"multicloud\", \"request\": {\"vCPU\": 10, \"Storage\": {\"unit\": \"GB\", \"quantity\": {\"get_param\": \"REQUIRED_DISK\"}}, \"Memory\": {\"unit\": \"GB\", \"quantity\": {\"get_param\": \"REQUIRED_MEM\"}}}}, \"demands\": [\"vG\"]}, \"constraint_vgmux_customer\": {\"type\": \"distance_to_location\", \"properties\": {\"distance\": \"< 100 km\", \"location\": \"customer_loc\"}, \"demands\": [\"vGMuxInfra\"]}, \"hpa_constraint\": {\"type\": \"hpa\", \"properties\": {\"evaluate\": [{\"flavorProperties\": [{\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"numVirtualCpu\", \"hpa-attribute-value\": \"4\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"virtualMemSize\", \"unit\": \"GB\", \"hpa-attribute-value\": \"4\"}], \"architecture\": \"generic\", \"hpa-feature\": \"basicCapabilities\"}, {\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"numaNodes\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaCpu-0\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaCpu-1\", \"hpa-attribute-value\": \"4\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaMem-0\", \"unit\": \"GB\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaMem-1\", \"unit\": \"GB\", \"hpa-attribute-value\": \"4\"}], \"architecture\": \"generic\", \"hpa-feature\": \"numa\"}, {\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"logicalCpuThreadPinningPolicy\", \"hpa-attribute-value\": \"prefer\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"logicalCpuPinningPolicy\", \"hpa-attribute-value\": \"dedicated\"}], \"architecture\": \"generic\", \"hpa-feature\": \"cpuPinning\"}], \"flavorLabel\": \"flavor_label_1\"}, {\"flavorProperties\": [{\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"numVirtualCpu\", \"hpa-attribute-value\": \"8\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"virtualMemSize\", \"unit\": \"GB\", \"hpa-attribute-value\": \"16\"}], \"architecture\": \"generic\", \"hpa-feature\": \"basicCapabilities\"}, {\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"numaNodes\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaCpu-0\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaCpu-1\", \"hpa-attribute-value\": \"4\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaMem-0\", \"unit\": \"GB\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaMem-1\", \"unit\": \"GB\", \"hpa-attribute-value\": \"4\"}], \"architecture\": \"generic\", \"hpa-feature\": \"numa\"}, {\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"memoryPageSize\", \"unit\": \"GB\", \"hpa-attribute-value\": \"2\"}], \"architecture\": \"generic\", \"hpa-feature\": \"memoryPageSize\"}], \"flavorLabel\": \"flavor_label_2\"}]}, \"demands\": [\"vG\"]}}}}","owner":"{}","ctxt":"{}","method":"plan_create","created":1528899999557,"failure":"","response":"{}","action":"call","id":"aa7cc344-98cf-4363-86a1-971a4be51b5e","updated":1528899999557,"status":"enqueued"}},"status":"SUCCESS"} <<<<<<<<<<>>>>>>>>>>>>>>>>>>> PUT /MUSIC/rest/v2/keyspaces/conductor_rpc/tables/controller/rows?id=aa7cc344-98cf-4363-86a1-971a4be51b5e HTTP/1.1 Host: 172.17.0.4:8080 Connection: keep-alive Accept-Encoding: gzip, deflate Accept: application/json User-Agent: python-requests/2.19.0 Content-Type: application/json X-patchVersion: 21 ns: conductor userId: conductor password: c0nduct0r Content-Length: 4707 {"values": {"status": "working", "owner": "a10d877d9228", "updated": 1528900002307, "created": 1528899999557, "action": "call", "response": "{}", "args": "{\"name\": \"original-asdf\", \"template\": {\"parameters\": {\"REQUIRED_DISK\": 100, \"customer_lat\": 32.89748, \"service_name\": \"Residential vCPE\", \"customer_long\": -97.040443, \"service_id\": \"vcpe_service_id\", \"REQUIRED_MEM\": 4}, \"demands\": {\"vGMuxInfra\": [{\"excluded_candidates\": [{\"candidate_id\": \"1ac71fb8-ad43-4e16-9459-c3f372b8236d\"}], \"attributes\": {\"equipment_type\": \"vG_Mux\", \"customer-id\": \"some_company\"}, \"inventory_provider\": \"aai\", \"inventory_type\": \"service\", \"existing_placement\": [{\"candidate_id\": \"21d5f3e8-e714-4383-8f99-cc480144505a\"}]}], \"vG\": [{\"inventory_provider\": \"aai\", \"inventory_type\": \"cloud\"}]}, \"locations\": {\"customer_loc\": {\"latitude\": {\"get_param\": \"customer_lat\"}, \"longitude\": {\"get_param\": \"customer_long\"}}}, \"optimization\": {\"minimize\": {\"sum\": [{\"distance_between\": [\"customer_loc\", \"vGMuxInfra\"]}, {\"distance_between\": [\"customer_loc\", \"vG\"]}]}}, \"homing_template_version\": \"2017-10-10\", \"constraints\": {\"colocation\": {\"type\": \"zone\", \"properties\": {\"category\": \"region\", \"qualifier\": \"same\"}, \"demands\": [\"vGMuxInfra\", \"vG\"]}, \"hpa_constraint\": {\"type\": \"hpa\", \"properties\": {\"evaluate\": [{\"flavorProperties\": [{\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"numVirtualCpu\", \"hpa-attribute-value\": \"4\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"virtualMemSize\", \"unit\": \"GB\", \"hpa-attribute-value\": \"4\"}], \"architecture\": \"generic\", \"hpa-feature\": \"basicCapabilities\"}, {\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"numaNodes\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaCpu-0\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaCpu-1\", \"hpa-attribute-value\": \"4\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaMem-0\", \"unit\": \"GB\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaMem-1\", \"unit\": \"GB\", \"hpa-attribute-value\": \"4\"}], \"architecture\": \"generic\", \"hpa-feature\": \"numa\"}, {\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"logicalCpuThreadPinningPolicy\", \"hpa-attribute-value\": \"prefer\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"logicalCpuPinningPolicy\", \"hpa-attribute-value\": \"dedicated\"}], \"architecture\": \"generic\", \"hpa-feature\": \"cpuPinning\"}], \"flavorLabel\": \"flavor_label_1\"}, {\"flavorProperties\": [{\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"numVirtualCpu\", \"hpa-attribute-value\": \"8\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"virtualMemSize\", \"unit\": \"GB\", \"hpa-attribute-value\": \"16\"}], \"architecture\": \"generic\", \"hpa-feature\": \"basicCapabilities\"}, {\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"numaNodes\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaCpu-0\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaCpu-1\", \"hpa-attribute-value\": \"4\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaMem-0\", \"unit\": \"GB\", \"hpa-attribute-value\": \"2\"}, {\"operator\": \"=\", \"hpa-attribute-key\": \"numaMem-1\", \"unit\": \"GB\", \"hpa-attribute-value\": \"4\"}], \"architecture\": \"generic\", \"hpa-feature\": \"numa\"}, {\"hpa-version\": \"v1\", \"hpa-feature-attributes\": [{\"operator\": \"=\", \"hpa-attribute-key\": \"memoryPageSize\", \"unit\": \"GB\", \"hpa-attribute-value\": \"2\"}], \"architecture\": \"generic\", \"hpa-feature\": \"memoryPageSize\"}], \"flavorLabel\": \"flavor_label_2\"}]}, \"demands\": [\"vG\"]}, \"constraint_vgmux_customer\": {\"type\": \"distance_to_location\", \"properties\": {\"distance\": \"< 100 km\", \"location\": \"customer_loc\"}, \"demands\": [\"vGMuxInfra\"]}, \"check_cloud_capacity\": {\"type\": \"vim_fit\", \"properties\": {\"controller\": \"multicloud\", \"request\": {\"vCPU\": 10, \"Storage\": {\"unit\": \"GB\", \"quantity\": {\"get_param\": \"REQUIRED_DISK\"}}, \"Memory\": {\"unit\": \"GB\", \"quantity\": {\"get_param\": \"REQUIRED_MEM\"}}}}, \"demands\": [\"vG\"]}}}}", "ctxt": "{}", "failure": "", "method": "plan_create"}, "conditions": {"status": "enqueued"}, "consistencyInfo": {"type": "atomic"}} <<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>> HTTP/1.1 400 X-minorVersion: 5 X-patchVersion: 21 X-latestVersion: 2.5.3 Content-Type: application/json Transfer-Encoding: chunked Date: Wed, 13 Jun 2018 14:26:42 GMT Connection: close {"error":"Exception thrown while doing the critical put, check sanctity of the row/conditions:\nnull","status":"FAILURE"}