Hi Sahara dev, I am working on the integration tests in sahara(with nova network), when I am using "tox -e cdh" to run cdh tests, it failed with error below, then I check the sahara log, it says heat error. This error reminds me a bug which is not merged https://bugs.launchpad.net/sahara/+bug/1392738 (I checkout this patch, and it seems still does't work) so I manually set auto_security_group false in test_cdh_gating.py, but still met this error and not successfully passed the integration test.
below is Integration tests error and sahara log Tests Error: Traceback (most recent call last): File "/opt/stack/sahara/sahara/tests/integration/tests/gating/test_cdh_gating.py", line 305, in test_cdh_plugin_gating self._create_cluster() File "sahara/tests/integration/tests/base.py", line 49, in wrapper ITestCase.print_error_log(message, e) File "/opt/stack/sahara/.tox/integration/local/lib/python2.7/site-packages/oslo/utils/excutils.py", line 82, in __exit__ six.reraise(self.type_, self.value, self.tb) File "sahara/tests/integration/tests/base.py", line 46, in wrapper fct(*args, **kwargs) File "/opt/stack/sahara/sahara/tests/integration/tests/gating/test_cdh_gating.py", line 191, in _create_cluster self.poll_cluster_state(self.cluster_id) File "sahara/tests/integration/tests/base.py", line 237, in poll_cluster_state self.fail('Cluster state == \'Error\'.') File "/opt/stack/sahara/.tox/integration/local/lib/python2.7/site-packages/unittest2/case.py", line 666, in fail raise self.failureException(msg) AssertionError: Cluster state == 'Error'. Ran 1 tests in 147.204s (+21.220s) FAILED (id=47, failures=1) error: testr failed (1) ERROR: InvocationError: '/opt/stack/sahara/.tox/integration/bin/python setup.py test --slowest --testr-args=cdh' Sahara Log: 2014-12-01 09:02:44.001 ERROR sahara.service.ops [-] Error during operating cluster 'test-cluster-cdh' (reason: Heat stack failed with status CREATE_FAILED) 2014-12-01 09:02:44.001 TRACE sahara.service.ops Traceback (most recent call last): 2014-12-01 09:02:44.001 TRACE sahara.service.ops File "/opt/stack/sahara/sahara/service/ops.py", line 141, in wrapper 2014-12-01 09:02:44.001 TRACE sahara.service.ops f(cluster_id, *args, **kwds) 2014-12-01 09:02:44.001 TRACE sahara.service.ops File "/opt/stack/sahara/sahara/service/ops.py", line 227, in _provision_cluster 2014-12-01 09:02:44.001 TRACE sahara.service.ops INFRA.create_cluster(cluster) 2014-12-01 09:02:44.001 TRACE sahara.service.ops File "/opt/stack/sahara/sahara/service/heat_engine.py", line 57, in create_cluster 2014-12-01 09:02:44.001 TRACE sahara.service.ops launcher.launch_instances(cluster, target_count) 2014-12-01 09:02:44.001 TRACE sahara.service.ops File "/opt/stack/sahara/sahara/service/heat_engine.py", line 209, in launch_instances 2014-12-01 09:02:44.001 TRACE sahara.service.ops heat.wait_stack_completion(stack.heat_stack) 2014-12-01 09:02:44.001 TRACE sahara.service.ops File "/opt/stack/sahara/sahara/utils/openstack/heat.py", line 60, in wait_stack_completion 2014-12-01 09:02:44.001 TRACE sahara.service.ops 2014-12-01 09:02:44.001 TRACE sahara.service.ops HeatStackException: Heat stack failed with status CREATE_FAILED 2014-12-01 09:02:44.001 TRACE sahara.service.ops
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev