When using "IsolCpusList", setting TunedProfileName to anything other than cpu-partitioning deployment fails

Bug #1806812 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Rabi Mishra

Bug Description

Setting TunedProfileName to "virtual-host" fails as file virtual-host-variables.conf does not exist:

---------------------------------------
     Stack overcloud CREATE_FAILED

    overcloud.ComputePPC64LE.0.PreNetworkConfig.HostParametersDeployment:
      resource_type: OS::Heat::SoftwareDeployment
      physical_resource_id: e4bd51f7-6ac7-4990-8c2a-6e168335d1da
      status: CREATE_FAILED
      status_reason: |
        Error: resources.HostParametersDeployment: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 2
      deploy_stdout: |
        ...
        TASK [Generate grub config file] ***********************************************
        changed: [localhost]

        TASK [Tune-d Configuration] ****************************************************
        fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Destination /etc/tuned/virtual-host-variables.conf does not exist !", "rc": 257}
            to retry, use: --limit @/var/lib/heat-config/heat-config-ansible/c915d33a-c3c2-44e9-862c-fb5c78e34023_playbook.retry

        PLAY RECAP *********************************************************************
        localhost : ok=4 changed=3 unreachable=0 failed=1

        (truncated, view all with --long)
      deploy_stderr: |

    Heat Stack create failed.
---------------------------------------

Rabi Mishra (rabi)
Changed in tripleo:
assignee: nobody → Rabi Mishra (rabi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
status: New → In Progress
Steven Hardy (shardy)
Changed in tripleo:
importance: Undecided → Medium
milestone: none → stein-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/622840
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ce72766b97edd746466f997f5b53eff933164aed
Submitter: Zuul
Branch: master

commit ce72766b97edd746466f997f5b53eff933164aed
Author: Rabi Mishra <email address hidden>
Date: Wed Dec 5 10:15:41 2018 +0530

    Update tuned profile variable configuration file if it exists

    Update /etc/tuned/{{ _TUNED_PROFILE_NAME_ }}-variables.conf only
    if it exists.

    Change-Id: I20562efd61ba49b3ae0af62c079967681e05aeed
    Closes-Bug: #1806812

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/625480

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/625482

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.openstack.org/625482
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=c6f8bb199d0e745ed8ec25d5597375a2f1af1a22
Submitter: Zuul
Branch: stable/queens

commit c6f8bb199d0e745ed8ec25d5597375a2f1af1a22
Author: Rabi Mishra <email address hidden>
Date: Wed Dec 5 10:15:41 2018 +0530

    Update tuned profile variable configuration file if it exists

    Update /etc/tuned/{{ _TUNED_PROFILE_NAME_ }}-variables.conf only
    if it exists.

    Change-Id: I20562efd61ba49b3ae0af62c079967681e05aeed
    Closes-Bug: #1806812
    (cherry picked from commit ce72766b97edd746466f997f5b53eff933164aed)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.openstack.org/625480
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=fc28e44bab87114c3623164e78f05aee0e8b416a
Submitter: Zuul
Branch: stable/rocky

commit fc28e44bab87114c3623164e78f05aee0e8b416a
Author: Rabi Mishra <email address hidden>
Date: Wed Dec 5 10:15:41 2018 +0530

    Update tuned profile variable configuration file if it exists

    Update /etc/tuned/{{ _TUNED_PROFILE_NAME_ }}-variables.conf only
    if it exists.

    Change-Id: I20562efd61ba49b3ae0af62c079967681e05aeed
    Closes-Bug: #1806812
    (cherry picked from commit ce72766b97edd746466f997f5b53eff933164aed)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.2.0

This issue was fixed in the openstack/tripleo-heat-templates 9.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.3.0

This issue was fixed in the openstack/tripleo-heat-templates 10.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.3.0

This issue was fixed in the openstack/tripleo-heat-templates 8.3.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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