[sr-iov] sriov_iommu_check task is not serializable

Bug #1555681 reported by Vladimir Eremin on 2016-03-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
High
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 :

verified

cat /etc/fuel_build_id:
 303
cat /etc/fuel_build_number:
 303
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 mitaka-9.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-release-9.0.0-1.mos6344.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8680.noarch
 fuel-mirror-9.0.0-1.mos133.noarch
 shotgun-9.0.0-1.mos88.noarch
 fuel-openstack-metadata-9.0.0-1.mos8680.noarch
 fuel-notify-9.0.0-1.mos8337.noarch
 fuel-ostf-9.0.0-1.mos933.noarch
 python-fuelclient-9.0.0-1.mos313.noarch
 fuel-9.0.0-1.mos6344.noarch
 fuel-utils-9.0.0-1.mos8337.noarch
 fuel-nailgun-9.0.0-1.mos8680.noarch
 rubygem-astute-9.0.0-1.mos742.noarch
 fuel-library9.0-9.0.0-1.mos8337.noarch
 network-checker-9.0.0-1.mos72.x86_64
 fuel-agent-9.0.0-1.mos276.noarch
 fuel-ui-9.0.0-1.mos2676.noarch
 fuel-setup-9.0.0-1.mos6344.noarch
 nailgun-mcagents-9.0.0-1.mos742.noarch
 fuel-misc-9.0.0-1.mos8337.noarch
 python-packetary-9.0.0-1.mos133.noarch
 fuelmenu-9.0.0-1.mos269.noarch
 fuel-bootstrap-cli-9.0.0-1.mos276.noarch
 fuel-migrate-9.0.0-1.mos8337.noarch

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