OSTF: HTTP Error 500: Internal Server Error on check after deployment

Bug #1575566 reported by Aleksei Stepanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexandr Kostrikov
Mitaka
Fix Released
High
Alexandr Kostrikov

Bug Description

ISO:
fuel-9.0-250-2016-04-26_14-00-00.iso

 Actual result:
Multiple ci tests failed on OSTF check after cluster deployment:

https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.bonding_ha/90/testReport/%28root%29/deploy_bonding_neutron_vlan/deploy_bonding_neutron_vlan/
https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.bonding_ha/90/testReport/%28root%29/deploy_bonding_neutron_tun/deploy_bonding_neutron_tun/
https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.bonding_ha_one_controller/90/testReport/%28root%29/deploy_bonding_one_controller_tun/deploy_bonding_one_controller_tun/
https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.bonding_ha_one_controller/90/testReport/%28root%29/deploy_bonding_one_controller_vlan/deploy_bonding_one_controller_vlan/
https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.bonding_ha/90/testReport/%28root%29/bonding_conf_consistency/bonding_conf_consistency/
https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.network_templates/90/testReport/%28root%29/deploy_cinder_net_tmpl/deploy_cinder_net_tmpl/
https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.network_templates/90/testReport/%28root%29/deploy_ceph_net_tmpl/deploy_ceph_net_tmpl/
https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.bonding_ha_one_controller/90/consoleFull
https://product-ci.infra.mirantis.net/job/9.0.system_test.ubuntu.bonding_ha_one_controller/90/testReport/%28root%29/offloading_bond_neutron_vxlan/offloading_bond_neutron_vxlan/

 Expected results:
tests pass

Revision history for this message
Aleksei Stepanov (penguinolog) wrote :
tags: added: swarm-blocker
Dmitry Pyzhov (dpyzhov)
tags: added: area-ostf
Changed in fuel:
assignee: nobody → Fuel QA Team (fuel-qa)
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Revision history for this message
Alexandr Kostrikov (akostrikov-mirantis) wrote :

For now the error at ostf:
2016-04-27 10:51:22 ERROR (hooks) Pecan state <pecan.core.RoutingState object at 0x4432890>
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pecan/core.py", line 678, in __call__
    self.invoke_controller(controller, args, kwargs, state)
  File "/usr/lib/python2.7/site-packages/pecan/core.py", line 572, in invoke_controller
    result = controller(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/fuel_plugin/ostf_adapter/wsgi/controllers.py", line 79, in get
    mixins.discovery_check(request.session, cluster, request.token)
  File "/usr/lib/python2.7/site-packages/fuel_plugin/ostf_adapter/mixins.py", line 75, in discovery_check
    cluster_attrs = _get_cluster_attrs(cluster_id, token=token)
  File "/usr/lib/python2.7/site-packages/fuel_plugin/ostf_adapter/mixins.py", line 172, in _get_cluster_attrs
    if iface['interface_properties']['sriov']['enabled']:
KeyError: 'sriov'

Will investigate further.

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

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

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Alexandr Kostrikov (akostrikov-mirantis)
status: New → In Progress
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

I believe that bond interfaces don't contain 'sriov' info in their properties, because SR-IOV can be enabled for physical NICs only.

no longer affects: fuel/newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/310412
Committed: https://git.openstack.org/cgit/openstack/fuel-ostf/commit/?id=a3ae1e4c1657e9e5b63d1aeb528fbcc8917d1af3
Submitter: Jenkins
Branch: master

commit a3ae1e4c1657e9e5b63d1aeb528fbcc8917d1af3
Author: Alexandr Kostrikov <email address hidden>
Date: Wed Apr 27 14:08:24 2016 +0300

    Add check for sriov keys

    That fix is intented to fix swarm tests.
    Further investigation required to find out why
    there were no sriov keys

    Change-Id: Iaa3cbe7a6a0717e8e027d43795fda8c93394ec09
    Closes-bug: #1575566

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/310517

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

Reviewed: https://review.openstack.org/310517
Committed: https://git.openstack.org/cgit/openstack/fuel-ostf/commit/?id=e0a7c67c8dd788f012829a1f2908bf650c2a1908
Submitter: Jenkins
Branch: stable/mitaka

commit e0a7c67c8dd788f012829a1f2908bf650c2a1908
Author: Alexandr Kostrikov <email address hidden>
Date: Wed Apr 27 14:08:24 2016 +0300

    Add check for sriov keys

    That fix is intented to fix swarm tests.
    Further investigation required to find out why
    there were no sriov keys

    Change-Id: Iaa3cbe7a6a0717e8e027d43795fda8c93394ec09
    Closes-bug: #1575566
    (cherry picked from commit a3ae1e4c1657e9e5b63d1aeb528fbcc8917d1af3)

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

verified 285 iso

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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