Activity log for bug #1314578

Date Who What changed Old value New value Message
2014-04-30 10:29:38 Vadim Rovachev bug added bug
2014-04-30 10:33:21 Vadim Rovachev affects fuel sahara
2014-04-30 10:37:23 Dmitry Mescheryakov sahara: status New Confirmed
2014-04-30 10:38:31 Dmitry Mescheryakov tags low-hanging-fruit
2014-04-30 12:34:33 Vadim Rovachev affects sahara python-saharaclient
2014-04-30 12:36:15 Alexander Ignatov description Step to reproduce: Create cluster tempalte with JSON: { "name": "demo-cluster-template", "description": "Demo Cluster template", "plugin_name": "vanilla", "hadoop_version": "1.2.1", "node_groups": [ { "name": "master", "flavor_id": "42", "node_processes": ["namanode"], "node_configs": {}, "count": 1 "floating_ip_pool": None } ] } Expected result: 200 OK Actual result: 400 ---------------------------- Sahara log: 2014-04-30 10:01:40.347 18158 DEBUG sahara.utils.api [-] Validation Error occurred: error_code=400, error_message={u'count': 1, u'name': u'master', u'floating_ip_pool': None, u'node_configs': {}, u'flavor_id': u'42', u'node_processes': [u'namenode']} is not valid under any of the given schemas, error_name=VALIDATION_ERROR bad_request /usr/lib/python2.7/dist-packages/sahara/utils/api.py:239 2014-04-30 10:01:40.348 18158 INFO sahara.cli.sahara_api [-] 10.20.1.3 - - [30/Apr/2014 10:01:40] "POST /v1.0/5cf8535329fb46f6ad5f203a8111c808/cluster-templates HTTP/1.1" 400 551 0.005293 Step to reproduce: Create cluster tempalte with JSON: {     "name": "demo-cluster-template",     "description": "Demo Cluster template",     "plugin_name": "vanilla",     "hadoop_version": "1.2.1",     "node_groups": [         {             "name": "master",             "flavor_id": "42",             "node_processes": ["namenode"],             "node_configs": {},             "count": 1,             "floating_ip_pool": None         }     ] } Expected result: 200 OK Actual result: 400 ---------------------------- Sahara log: 2014-04-30 10:01:40.347 18158 DEBUG sahara.utils.api [-] Validation Error occurred: error_code=400, error_message={u'count': 1, u'name': u'master', u'floating_ip_pool': None, u'node_configs': {}, u'flavor_id': u'42', u'node_processes': [u'namenode']} is not valid under any of the given schemas, error_name=VALIDATION_ERROR bad_request /usr/lib/python2.7/dist-packages/sahara/utils/api.py:239 2014-04-30 10:01:40.348 18158 INFO sahara.cli.sahara_api [-] 10.20.1.3 - - [30/Apr/2014 10:01:40] "POST /v1.0/5cf8535329fb46f6ad5f203a8111c808/cluster-templates HTTP/1.1" 400 551 0.005293
2014-04-30 13:36:30 Vadim Rovachev description Step to reproduce: Create cluster tempalte with JSON: {     "name": "demo-cluster-template",     "description": "Demo Cluster template",     "plugin_name": "vanilla",     "hadoop_version": "1.2.1",     "node_groups": [         {             "name": "master",             "flavor_id": "42",             "node_processes": ["namenode"],             "node_configs": {},             "count": 1,             "floating_ip_pool": None         }     ] } Expected result: 200 OK Actual result: 400 ---------------------------- Sahara log: 2014-04-30 10:01:40.347 18158 DEBUG sahara.utils.api [-] Validation Error occurred: error_code=400, error_message={u'count': 1, u'name': u'master', u'floating_ip_pool': None, u'node_configs': {}, u'flavor_id': u'42', u'node_processes': [u'namenode']} is not valid under any of the given schemas, error_name=VALIDATION_ERROR bad_request /usr/lib/python2.7/dist-packages/sahara/utils/api.py:239 2014-04-30 10:01:40.348 18158 INFO sahara.cli.sahara_api [-] 10.20.1.3 - - [30/Apr/2014 10:01:40] "POST /v1.0/5cf8535329fb46f6ad5f203a8111c808/cluster-templates HTTP/1.1" 400 551 0.005293 Step to reproduce: Create cluster_template via python-saharaclient: saharaclient.cluster_templates.create( 'clstr-tmpl', 'vanilla', '1.2.1' description='test cluster template', cluster_configs={ 'HDFS': {'dfs.replication': 2}, 'MapReduce': {'mapred.child.java.opts': '-Xmx100m'}, 'general': {'Enable Swift': True}, }, node_groups=[ dict( name='test-master-node-jt-nn', flavor_id=<flavor_id>, node_processes=['namenode', 'jobtracker'], node_configs={ 'HDFS': self.NN_CONFIG, 'MapReduce': self.JT_CONFIG }, floating_ip_pool=floating_ip_pool, count=1), dict( name='test-worker-node-tt-dn', node_group_template_id=<ID_ngt>, count=1), ], anti_affinity=[] ) Expected result: cluster in created Actual result: APIExeption APIException: {u'count': 1, u'name': u'ostf-test-master-node-jt-nn', u'floating_ip_pool': None, u'node_configs': {u'HDFS': {u'Name Node Heap Size': 512}, u'MapReduce': {u'Job Tracker Heap Size': 514}}, u'flavor_id': u'ee15c908-12be-418b-88a8-685cda82b741', u'node_processes': [u'namenode', u'jobtracker']} is not valid under any of the given schemas ---------------------------- Sahara log: 2014-04-30 10:01:40.347 18158 DEBUG sahara.utils.api [-] Validation Error occurred: error_code=400, error_message={u'count': 1, u'name': u'master', u'floating_ip_pool': None, u'node_configs': {}, u'flavor_id': u'42', u'node_processes': [u'namenode']} is not valid under any of the given schemas, error_name=VALIDATION_ERROR bad_request /usr/lib/python2.7/dist-packages/sahara/utils/api.py:239 2014-04-30 10:01:40.348 18158 INFO sahara.cli.sahara_api [-] 10.20.1.3 - - [30/Apr/2014 10:01:40] "POST /v1.0/5cf8535329fb46f6ad5f203a8111c808/cluster-templates HTTP/1.1" 400 551 0.005293
2016-06-06 12:48:22 Vitalii Gridnev python-saharaclient: importance Undecided Low