httpd restarts take time from the deployment

Bug #1699502 reported by Juan Antonio Osorio Robles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Juan Antonio Osorio Robles

Bug Description

The fact that not all services add their configuration to the catalog at the same time makes puppet restart apache unnecessarily.

While some services add the apache configs to the catalog in step 3, others do it in step 4.

In order to avoid restarts, we need to make sure those are added at the same time.

tags: added: deployment-time
Changed in tripleo:
status: New → In Progress
importance: Undecided → High
milestone: none → pike-3
Changed in tripleo:
assignee: nobody → Juan Antonio Osorio Robles (juan-osorio-robles)
Changed in tripleo:
assignee: Juan Antonio Osorio Robles (juan-osorio-robles) → Alex Schultz (alex-schultz)
Changed in tripleo:
assignee: Alex Schultz (alex-schultz) → Juan Antonio Osorio Robles (juan-osorio-robles)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/476119
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=ad14f23c112922399b96601806da34ad045cbf22
Submitter: Jenkins
Branch: master

commit ad14f23c112922399b96601806da34ad045cbf22
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Wed Jun 21 15:43:25 2017 +0300

    Always start httpd at the same time

    Puppet wipes out whatever is not in it's resource catalog each run for
    httpd. This causes httpd to restart if in the next step there are
    reasources added that were not there earlier.

    This patch, thus changes the instances of httpd to start at the same
    time: On step 3 for the bootstrap node, and on step 4 for every other
    node.

    Closes-Bug: #1699502
    Change-Id: I3d29728c1ab7bd5b78100f89e00e5fa082f97b0c
    Co-Authored-By: Alex Schultz <email address hidden>

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 7.2.0

This issue was fixed in the openstack/puppet-tripleo 7.2.0 release.

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

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/493754

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

Reviewed: https://review.openstack.org/493754
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=ff56fb5110b937bda5cfdf560258b74199fd6367
Submitter: Jenkins
Branch: stable/ocata

commit ff56fb5110b937bda5cfdf560258b74199fd6367
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Wed Jun 21 15:43:25 2017 +0300

    Always start httpd at the same time

    Puppet wipes out whatever is not in it's resource catalog each run for
    httpd. This causes httpd to restart if in the next step there are
    reasources added that were not there earlier.

    This patch, thus changes the instances of httpd to start at the same
    time: On step 3 for the bootstrap node, and on step 4 for every other
    node.

     Conflicts:
     manifests/profile/base/heat/api.pp
     manifests/profile/base/heat/api_cfn.pp
     manifests/profile/base/heat/api_cloudwatch.pp
     manifests/profile/base/horizon.pp
     manifests/profile/base/zaqar.pp

    Closes-Bug: #1699502
    Change-Id: I3d29728c1ab7bd5b78100f89e00e5fa082f97b0c
    Co-Authored-By: Alex Schultz <email address hidden>
    (cherry picked from commit ad14f23c112922399b96601806da34ad045cbf22)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 6.5.1

This issue was fixed in the openstack/puppet-tripleo 6.5.1 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.