[Contrail 4.0.0] OSTF failled for ceilometer

Bug #1583526 reported by Yevgeniy
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel Contrail plugin
Fix Released
Medium
Przemysław Szypowicz

Bug Description

Steps to reproduce
  1. Create an environment with "Neutron with tunneling
     segmentation" as a network configuration and CEPH storage
  2. Enable and configure Contrail plugin
  3. Add a node with "controller" role
  4. Add a node with "controller" + "MongoDB" multirole
  5. Add a node with "controller"+ "ceph-OSD" multiroles
  6. Add a node with "compute" + "ceph-OSD" + "cinder" multiroles
  7. Add a node with "compute" + "ceph-OSD" multiroles
  8. Add a node with "MongoDB" role
  9. Add a node with "contrail-config", "contrail-control" and
     "contrail-db" roles
  10. Deploy cluster with plugin
  11. Run OSTF tests
Actual result:
2016-05-18 21:05:56,882 - INFO decorators.py:49 -- Saving logs to "/home/yshapovalov/fuel-plugin-contrail/logs/fail_error_contrail_ceilometer-fuel-snapshot-2016-05-18_20-59-30.tar.xz" file
2016-05-18 21:07:04,695 - INFO decorators.py:305 -- <<<<<****************************************************************************************************>>>>>
2016-05-18 21:07:04,696 - INFO decorators.py:306 -- Failed in method 'contrail_ceilometer'. Make snapshot: error_contrail_ceilometer
2016-05-18 21:07:04,696 - INFO decorators.py:316 -- You could revert and ssh to master node: [source /home/yshapovalov/80-venv/bin/activate; dos.py revert-resume qa error_contrail_ceilometer && ssh root@10.109.0.2]
2016-05-18 21:07:04,696 - INFO decorators.py:318 -- <<<<<****************************************************************************************************>>>>>
FAIL

======================================================================
FAIL: Check deploy environment with Contrail and Ceilometer.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/yshapovalov/80-venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/yshapovalov/80-venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/yshapovalov/80-venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/yshapovalov/fuel-plugin-contrail/plugin_test/fuel-qa/fuelweb_test/helpers/decorators.py", line 83, in wrapper
    result = func(*args, **kwargs)
  File "/home/yshapovalov/fuel-plugin-contrail/plugin_test/tests/test_integration.py", line 208, in contrail_ceilometer
    ostf_suites=['smoke', 'sanity', 'ha', 'tests_platform']
  File "/home/yshapovalov/fuel-plugin-contrail/plugin_test/helpers/openstack.py", line 125, in update_deploy_check
    obj.fuel_web.run_ostf(cluster_id=obj.cluster_id, **ostf_params)
  File "/home/yshapovalov/fuel-plugin-contrail/plugin_test/fuel-qa/fuelweb_test/__init__.py", line 57, in wrapped
    result = func(*args, **kwargs)
  File "/home/yshapovalov/fuel-plugin-contrail/plugin_test/fuel-qa/fuelweb_test/models/fuel_web_client.py", line 1054, in run_ostf
    failed_test_name=failed_test_name, test_sets=test_sets)
  File "/home/yshapovalov/fuel-plugin-contrail/plugin_test/fuel-qa/fuelweb_test/__init__.py", line 57, in wrapped
    result = func(*args, **kwargs)
  File "/home/yshapovalov/fuel-plugin-contrail/plugin_test/fuel-qa/fuelweb_test/models/fuel_web_client.py", line 273, in assert_ostf_run
    indent=1)))
AssertionError: Failed 1 OSTF tests; should fail 0 tests. Names of failed tests:
  - Check stack autoscaling (failure) Time limit exceeded while waiting for terminating the 2nd instance per autoscaling alarm to finish. Please refer to OpenStack logs for more details.

----------------------------------------------------------------------
Ran 4 tests in 12813.408s

FAILED (SKIP=3, failures=1)

Tags: contrail
Revision history for this message
Yevgeniy (yshapovalov) wrote :
Revision history for this message
Oleksandr Martsyniuk (omartsyniuk) wrote :
Changed in fuel-plugin-contrail:
status: New → Confirmed
Illia Polliul (ipolliul)
Changed in fuel-plugin-contrail:
assignee: Illia Polliul (ipolliul) → Przemysław Szypowicz (pszypowicz)
Revision history for this message
Przemysław Szypowicz (pszypowicz) wrote :

According to OSTF logs, this test failed due to timeout:
fuel_health.common.test_mixins: INFO: Timeout 720s exceeded for terminating the 2nd instance per autoscaling alarm

I've re-executed it multiple times and it passes.

Changed in fuel-plugin-contrail:
status: Confirmed → Incomplete
Changed in fuel-plugin-contrail:
status: Incomplete → In Progress
Changed in fuel-plugin-contrail:
status: In Progress → Fix Committed
Revision history for this message
Olesia Tsvigun (otsvigun) wrote :

Verified at Fuel ISO#570 fuel-plugin-contrail 4.0.0

Changed in fuel-plugin-contrail:
status: Fix Committed → Fix Released
Revision history for this message
okosse (okosse) wrote :

This bug has reproduced again

Changed in fuel-plugin-contrail:
status: Fix Released → Confirmed
importance: High → Medium
Revision history for this message
okosse (okosse) wrote :

Some additional information:
In my case the test failed with another error message:
Check stack autoscaling (failure) ssh -o StrictHostKeyChecking=no -i /tmp/tmp.URUs7BGd4V cirros@10.100.1.5 'touch /tmp/ostf-heat.txt; test -f /tmp/ostf-heat.txt && echo -ne YES || echo -ne NO' command failed. Please refer to OpenStack logs for more details.

Revision history for this message
okosse (okosse) wrote :
Illia Polliul (ipolliul)
Changed in fuel-plugin-contrail:
status: Confirmed → Fix Committed
okosse (okosse)
Changed in fuel-plugin-contrail:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.