Bug 1858627 - [OSP13] Could not find or access '/usr/share/openstack-tripleo-heat-templates/docker/services/derive_pci_passthrough_whitelist.py' on the Ansible Controller
Summary: [OSP13] Could not find or access '/usr/share/openstack-tripleo-heat-templates...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: z13
: 13.0 (Queens)
Assignee: Karthik Sundaravel
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-19 16:42 UTC by Vadim Khitrin
Modified: 2020-10-28 18:24 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-heat-templates-8.4.1-66.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-28 18:24:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 741922 0 None MERGED Fixing the copy failure of derive_pci_passthrough_whitelist.py 2020-11-18 23:36:40 UTC
Red Hat Product Errata RHBA-2020:4388 0 None None None 2020-10-28 18:24:20 UTC

Description Vadim Khitrin 2020-07-19 16:42:48 UTC
Description of problem:
When attempting to deploy an SR-IOV capable deployment, deployment fails due to failing to execute derive PCI passthrough script.
The following error is raised:
2020-07-19 09:39:51Z [overcloud.AllNodesDeploySteps.ComputeOvsDpdkSriovHostPrepDeployment]: CREATE_FAILED  Resource CREATE failed: Error: resources[1]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2

 Stack overcloud CREATE_FAILED 

overcloud.AllNodesDeploySteps.ComputeOvsDpdkSriovHostPrepDeployment.1:
  resource_type: OS::Heat::SoftwareDeployment
  physical_resource_id: 95f17aa0-8925-471e-8a26-f6297de63ba1
  status: CREATE_FAILED
  status_reason: |
    Error: resources[1]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
  deploy_stdout: |
    ...
    changed: [localhost]
    
    TASK [derive pci passthrough whitelist] ****************************************
    An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
    fatal: [localhost]: FAILED! => {"changed": false, "msg": "Could not find or access '/usr/share/openstack-tripleo-heat-templates/docker/services/derive_pci_passthrough_whitelist.py' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
        to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/69b653b5-367c-4091-9316-9b359b32782f_playbook.retry
    
    PLAY RECAP *********************************************************************
    localhost                  : ok=16   changed=12   unreachable=0    failed=1   
    
    (truncated, view all with --long)
  deploy_stderr: |

overcloud.AllNodesDeploySteps.ComputeOvsDpdkSriovHostPrepDeployment.0:
  resource_type: OS::Heat::SoftwareDeployment
  physical_resource_id: d9edc036-cfd5-44f4-925c-c6b2effe9025
  status: CREATE_FAILED
  status_reason: |
    Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
  deploy_stdout: |
    ...
    changed: [localhost]
    
    TASK [derive pci passthrough whitelist] ****************************************
    An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
    fatal: [localhost]: FAILED! => {"changed": false, "msg": "Could not find or access '/usr/share/openstack-tripleo-heat-templates/docker/services/derive_pci_passthrough_whitelist.py' on the Ansible Controller.\nIf you are using a module and expect thHeat Stack create failed.
Heat Stack create failed.
e file to exist on the remote, see the remote_src option"}
        to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/c3e9bed2-2ddb-4b35-8645-1a1353d6e685_playbook.retry
    
    PLAY RECAP *********************************************************************
    localhost                  : ok=16   changed=12   unreachable=0    failed=1


Version-Release number of selected component (if applicable):
Puddle: 2020-07-14.1
openstack-tripleo-common-containers-8.7.1-20.el7ost.noarch
ansible-tripleo-ipsec-8.1.1-0.20190513184007.7eb892c.el7ost.noarch
openstack-tripleo-heat-templates-8.4.1-62.el7ost.noarch
openstack-tripleo-common-8.7.1-20.el7ost.noarch
openstack-tripleo-ui-8.3.2-3.el7ost.noarch
openstack-tripleo-puppet-elements-8.1.1-2.el7ost.noarch
python-tripleoclient-9.3.1-7.el7ost.noarch
openstack-tripleo-validations-8.5.0-4.el7ost.noarch
puppet-tripleo-8.5.1-14.el7ost.noarch
openstack-tripleo-image-elements-8.0.3-1.el7ost.noarch

How reproducible:
Always

Steps to Reproduce:
1. Deploy SR-IOV capable deployment

Actual results:
Deployment fails.

Expected results:
Deployment succeeds.

Additional info:

Comment 30 errata-xmlrpc 2020-10-28 18:24:04 UTC
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 (Red Hat OpenStack Platform 13.0 director bug fix 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/RHBA-2020:4388


Note You need to log in before you can comment on or make changes to this bug.