Test Deploy cluster in ha mode with zabbix plugin failed with error in update_plugin_data()

Bug #1550234 reported by Alexander Zatserklyany
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Low
Alexander Zatserklyany
8.0.x
Won't Fix
Low
Fuel QA Team
Mitaka
Fix Released
Low
Alexander Zatserklyany

Bug Description

Steps to reproduce

1. Build plugin fuel-plugin-external-zabbix
2. Export variable ZABBIX_PLUGIN_PATH="<Path_to_fuel-plugin-external-zabbix>/zabbix_monitoring-2.5-2.5.0-1.noarch.rpm"
3. Run test 'deploy_zabbix_ha'

Actual results:

ERROR: Deploy cluster in ha mode with zabbix plugin
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/usr/local/lib/python2.7/dist-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/usr/local/lib/python2.7/dist-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/root/fuel-qa/fuelweb_test/helpers/decorators.py", line 83, in wrapper
    result = func(*args, **kwargs)
  File "/root/fuel-qa/fuelweb_test/tests/plugins/plugin_zabbix/test_plugin_zabbix.py", line 184, in deploy_zabbix_ha
    self.setup_zabbix_plugin(cluster_id, zabbix_username, zabbix_password)
  File "/root/fuel-qa/fuelweb_test/tests/plugins/plugin_zabbix/test_plugin_zabbix.py", line 91, in setup_zabbix_plugin
    cluster_id, plugin_name, plugin_options)
  File "/root/fuel-qa/fuelweb_test/models/fuel_web_client.py", line 2358, in update_plugin_data
    plugin_data = plugin_data[p]
KeyError: 'username'

---------------
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "570"

Tags: area-qa
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

Fix proposed to branch: master
Review: https://review.openstack.org/285246

Changed in fuel:
status: New → In Progress
tags: added: area-qa
Changed in fuel:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/285246
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=40b007913cec3d63568fd05abeae862c05ce8264
Submitter: Jenkins
Branch: master

commit 40b007913cec3d63568fd05abeae862c05ce8264
Author: zatserklyany <email address hidden>
Date: Fri Feb 26 13:42:59 2016 +0200

    Update test to plugin_attributes structure

    Closes-Bug #1550234

    Change-Id: I7426ca5308712443313a66bb45fc45e5594288a9

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/297076

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/8.0)

Reviewed: https://review.openstack.org/297076
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=878c0520a6d9b096c48e259f27cea702f35c7dab
Submitter: Jenkins
Branch: stable/8.0

commit 878c0520a6d9b096c48e259f27cea702f35c7dab
Author: zatserklyany <email address hidden>
Date: Fri Feb 26 13:42:59 2016 +0200

    Update test to plugin_attributes structure

    Closes-Bug #1550234

    Change-Id: I7426ca5308712443313a66bb45fc45e5594288a9
    (cherry picked from commit 40b007913cec3d63568fd05abeae862c05ce8264)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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