Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1518009 - os-collect-config doesn't start at boot on split stack deployments with pre-provisioned servers
os-collect-config doesn't start at boot on split stack deployments with pre-p...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
11.0 (Ocata)
Unspecified Unspecified
medium Severity medium
: z5
: 11.0 (Ocata)
Assigned To: Emilien Macchi
Gurenko Alex
: TestOnly, Triaged, ZStream
Depends On:
Blocks: 1518028
  Show dependency treegraph
 
Reported: 2017-11-27 16:53 EST by Marius Cornea
Modified: 2018-05-18 13:04 EDT (History)
6 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-6.2.7-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1518028 (view as bug list)
Environment:
Last Closed: 2018-05-18 13:02:55 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1734783 None None None 2017-11-27 18:15 EST
OpenStack gerrit 523245 None None None 2017-11-27 18:16 EST
Red Hat Product Errata RHSA-2018:1627 None None None 2018-05-18 13:04 EDT

  None (edit)
Description Marius Cornea 2017-11-27 16:53:58 EST
Description of problem:
os-collect-config service doesn't start at boot on split stack deployments

Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-6.2.4-1.el7ost.noarch.rpm 

How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP11 with split stack on pre-provisioned nodes
2. Reboot one of the nodes
3. Check os-collect-config service status

Actual results:
[root@controller-0 stack]# systemctl status os-collect-config
● os-collect-config.service - Collect metadata and run hook commands.
   Loaded: loaded (/usr/lib/systemd/system/os-collect-config.service; disabled; vendor preset: disabled)
   Active: inactive (dead)


Expected results:
os-collect-config service is started after a reboot so subsequent stack updates can be applied.

Additional info:

Before the node reboot:

[root@controller-0 stack]# systemctl status os-collect-config
● os-collect-config.service - Collect metadata and run hook commands.
   Loaded: loaded (/usr/lib/systemd/system/os-collect-config.service; disabled; vendor preset: disabled)
   Active: active (running) since Mon 2017-11-27 18:18:57 UTC; 3h 29min ago
 Main PID: 10945 (os-collect-conf)
   Memory: 760.9M
   CGroup: /system.slice/os-collect-config.service
           └─10945 /usr/bin/python /usr/bin/os-collect-config

Nov 27 18:49:17 controller-0 os-collect-config[10945]: dib-run-parts Mon Nov 27 18:49:17 UTC 2017 ----------------------- PROFILING -----------------------
Nov 27 18:49:17 controller-0 os-collect-config[10945]: dib-run-parts Mon Nov 27 18:49:17 UTC 2017
Nov 27 18:49:17 controller-0 os-collect-config[10945]: dib-run-parts Mon Nov 27 18:49:17 UTC 2017 Target: migration.d
Nov 27 18:49:17 controller-0 os-collect-config[10945]: dib-run-parts Mon Nov 27 18:49:17 UTC 2017
Nov 27 18:49:17 controller-0 os-collect-config[10945]: dib-run-parts Mon Nov 27 18:49:17 UTC 2017 Script                                     Seconds
Nov 27 18:49:17 controller-0 os-collect-config[10945]: dib-run-parts Mon Nov 27 18:49:17 UTC 2017 ---------------------------------------  ----------
Nov 27 18:49:17 controller-0 os-collect-config[10945]: dib-run-parts Mon Nov 27 18:49:17 UTC 2017
Nov 27 18:49:17 controller-0 os-collect-config[10945]: dib-run-parts Mon Nov 27 18:49:17 UTC 2017
Nov 27 18:49:17 controller-0 os-collect-config[10945]: dib-run-parts Mon Nov 27 18:49:17 UTC 2017 --------------------- END PROFILING ---------------------
Nov 27 18:49:17 controller-0 os-collect-config[10945]: [2017-11-27 18:49:17,406] (os-refresh-config) [INFO] Completed phase migration


After the node reboot:
[root@controller-0 stack]# systemctl status os-collect-config
● os-collect-config.service - Collect metadata and run hook commands.
   Loaded: loaded (/usr/lib/systemd/system/os-collect-config.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
Comment 1 Alex Schultz 2017-11-27 17:49:27 EST
The workaround for this is to just manually enable it by running 'sudo systemctl enable os-collect-config'
Comment 2 Alex Schultz 2017-11-27 18:06:16 EST
It appears that the upstream patch for the backport also includes some extra items that may have partial upgrade implications.  We'll have to cherry-pick just part of it.
Comment 3 Lon Hohberger 2018-03-07 08:51:23 EST
According to our records, this should be resolved by openstack-tripleo-heat-templates-6.2.7-2.el7ost.  This build is available now.
Comment 5 Gurenko Alex 2018-05-14 10:13:44 EDT
Verified on puddle 2018-05-03.2
Comment 8 errata-xmlrpc 2018-05-18 13:02:55 EDT
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/RHSA-2018:1627

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