[sr-iov] sriov_iommu_check task is not serializable

Bug #1555681 reported by Vladimir Eremin on 2016-03-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Aleksandr Didenko

Bug Description

1. Enable SR-IOV for node
2. Download serialization data: fuel deployment --env 1 --node 2 --default

Expected result:
SRIOV ports and sriov_iommu_check task in astute.yaml

Actual result:
[root@fuel ~]# fuel deployment --env 1 --node 2 --default

500 Server Error: Internal Server Error (Serialization of type shell is not supported. Task {'task_name': u'sriov_iommu_check', 'parameters': {u'cmd': u'ruby /etc/puppet/modules/osnailyfacter/modular/netconfig/sriov_iommu_check.rb', u'timeout': 30}, 'type': 'shell', 'version': u'2.0.0', 'groups': [u'compute'], 'required_for': [u'firewall', u'hosts'], 'requires': [u'netconfig'], 'id': u'sriov_iommu_check'})

Changed in fuel:
importance: Undecided → Medium
status: New → Confirmed
assignee: Aleksandr Didenko (adidenko) → Fuel Python Team (fuel-python)
tags: added: team-network
Changed in fuel:
importance: Medium → High

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

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Aleksandr Didenko (adidenko)
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/291262
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=620c92860dc7f2fe3dba98cb81b65ca04cf5c8fd
Submitter: Jenkins
Branch: master

commit 620c92860dc7f2fe3dba98cb81b65ca04cf5c8fd
Author: Aleksandr Didenko <email address hidden>
Date: Thu Mar 10 16:53:35 2016 +0100

    Fix sriov_iommu_check for role-based deployment

    Role-based deployment does not support "shell" tasks, only "puppet".
    So we need to wrap shell task into puppet Exec. We can remove it
    later when role-based deployment is deprecated.

    Closes-bug: #1555681
    Change-Id: Ia81efb58e18385a9f7f2884412b231ddf7bca09a

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Artem Panchenko (apanchenko-8) wrote :


cat /etc/fuel_build_id:
cat /etc/fuel_build_number:
cat /etc/fuel_release:
cat /etc/fuel_openstack_version:
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':

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

Other bug subscribers