Description of problem: RHOS 11 unable to deploy SR-IOV. Get syntax error by using templates from RHOS 10. Version-Release number of selected component (if applicable): RHOS 11 2017-03-08.3 puddle How reproducible: Deploy RHOS 11 Undercloud Deploy Overcloud with SR-IOV function Actual results: The Overcloud deployment fails with the following error: Error: Evaluation Error: Error while evaluating a Function Call, Syntax error: [{"devname"=>"p5p1", "physical_network"=>"sriov"}] is not a String at /etc/puppet/modules/nova/manifests/compute.pp:233:29 on node compute-0.localdomain Expected results: The deployment should pass
As per the initial analysis, with the change [1], the format of the nova::compute::pci_passthrough value is changed from string to JSON. But as per the puppet-nova implementation, the parameter is expected as JSON encoded string. Will provided more details after validating the fix. [1] https://github.com/openstack/tripleo-heat-templates/commit/787685101179f13f6074901070cf307bd9bb0731#diff-99a22d37b829681d157f41d35c38e4c5L100
Proposed patch upstream - https://review.openstack.org/#/c/448600/
Fix is under review on master: https://review.openstack.org/448600 We will need it backported to stable/ocata
Saravanan Please move to Post i see launchpad is merged. https://review.openstack.org/#/c/448600/ Thanks
(In reply to Yariv from comment #6) > Saravanan > > Please move to Post i see launchpad is merged. > https://review.openstack.org/#/c/448600/ > > Thanks Need to backport to stable/ocata for RHOSP 11.
Downport URL - https://code.engineering.redhat.com/gerrit/#/c/101910/ I will wait for CI and push it.
Verified on OSP-11 [stack@puma07 ~]$ rpm -qa |grep openstack-tripleo-heat-templates openstack-tripleo-heat-templates-6.0.0-0.9.el7ost.noarch Setup SRIOV 1 Compute 1 controller
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1245