os-collect-config running on the undercloud breaks overcloud deployments

Bug #1754426 reported by Alex Schultz
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Alex Schultz

Bug Description

If a user uses a CentOS or RHEL guest image that includes cloud-init as a base for their undercloud, os-collect-config may be running and enabled after cloud-init finishes. This will rerun the undercloud puppet-stack-config.pp every 5 minutes. This causes deployments to hang indefinitely as services may be restarted every 5 minutes. os-collect-collect should be disabled by instack-undercloud.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (master)

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

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (master)

Reviewed: https://review.openstack.org/550966
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=998230da5cb6c0b725b8e67c82bf2157b9f0c46b
Submitter: Zuul
Branch: master

commit 998230da5cb6c0b725b8e67c82bf2157b9f0c46b
Author: Alex Schultz <email address hidden>
Date: Thu Mar 8 11:00:41 2018 -0700

    Remove cloud-init and disable os-collect-config

    A user uses a guest image for the undercloud, cloud-init may be
    installed which can also cause other services like os-collect-config to
    be running. We should ensure that cloud-init is removed and that the
    os-collect-config service is disable to prevent it from interfering with
    overcloud deployments.

    Change-Id: I58f6fc4b299c8f1f561205ac9a2de75c46467ba8
    Closes-Bug: #1754426

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to instack-undercloud (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/553397

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (stable/pike)

Reviewed: https://review.openstack.org/553397
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=c95254293b8068057c42ddae8b45eadec87c5f70
Submitter: Zuul
Branch: stable/pike

commit c95254293b8068057c42ddae8b45eadec87c5f70
Author: Alex Schultz <email address hidden>
Date: Thu Mar 8 11:00:41 2018 -0700

    Remove cloud-init and disable os-collect-config

    A user uses a guest image for the undercloud, cloud-init may be
    installed which can also cause other services like os-collect-config to
    be running. We should ensure that cloud-init is removed and that the
    os-collect-config service is disable to prevent it from interfering with
    overcloud deployments.

    Change-Id: I58f6fc4b299c8f1f561205ac9a2de75c46467ba8
    Closes-Bug: #1754426
    (cherry picked from commit 998230da5cb6c0b725b8e67c82bf2157b9f0c46b)

tags: added: in-stable-pike
tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (stable/queens)

Reviewed: https://review.openstack.org/553395
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=6051d118cbaeee765177e2148832e18ab53bc699
Submitter: Zuul
Branch: stable/queens

commit 6051d118cbaeee765177e2148832e18ab53bc699
Author: Alex Schultz <email address hidden>
Date: Thu Mar 8 11:00:41 2018 -0700

    Remove cloud-init and disable os-collect-config

    A user uses a guest image for the undercloud, cloud-init may be
    installed which can also cause other services like os-collect-config to
    be running. We should ensure that cloud-init is removed and that the
    os-collect-config service is disable to prevent it from interfering with
    overcloud deployments.

    Change-Id: I58f6fc4b299c8f1f561205ac9a2de75c46467ba8
    Closes-Bug: #1754426
    (cherry picked from commit 998230da5cb6c0b725b8e67c82bf2157b9f0c46b)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 7.4.11

This issue was fixed in the openstack/instack-undercloud 7.4.11 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 8.4.0

This issue was fixed in the openstack/instack-undercloud 8.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 9.0.0

This issue was fixed in the openstack/instack-undercloud 9.0.0 release.

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

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

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

Reviewed: https://review.openstack.org/571513
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=a2647bf669608e2364282a8e7873678ded6253d4
Submitter: Zuul
Branch: stable/ocata

commit a2647bf669608e2364282a8e7873678ded6253d4
Author: Alex Schultz <email address hidden>
Date: Thu Mar 8 11:00:41 2018 -0700

    Remove cloud-init and disable os-collect-config

    A user uses a guest image for the undercloud, cloud-init may be
    installed which can also cause other services like os-collect-config to
    be running. We should ensure that cloud-init is removed and that the
    os-collect-config service is disable to prevent it from interfering with
    overcloud deployments.

    Change-Id: I58f6fc4b299c8f1f561205ac9a2de75c46467ba8
    Closes-Bug: #1754426
    Closes-Bug: #1774079
    (cherry picked from commit 998230da5cb6c0b725b8e67c82bf2157b9f0c46b)
    (cherry picked from commit c95254293b8068057c42ddae8b45eadec87c5f70)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/instack-undercloud 6.1.8

This issue was fixed in the openstack/instack-undercloud 6.1.8 release.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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