Red Hat Bugzilla – Bug 1562199
FFU: openstack-glance-registry service is still running on controller FFU process has finished
Last modified: 2018-09-10 07:38:31 EDT
Description of problem: FFU: openstack-glance-registry service is still running on controller FFU process has finished: Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Deploy OSP10 2. Upgrade to OSP13 through FFU procedure 3. SSH to controller nodes and check systemctl status openstack-glance-registry Actual results: [root@controller-0 heat-admin]# systemctl status openstack-glance-registry ● openstack-glance-registry.service - OpenStack Image Service (code-named Glance) Registry server Loaded: loaded (/usr/lib/systemd/system/openstack-glance-registry.service; enabled; vendor preset: disabled) Active: active (running) since Thu 2018-03-29 02:01:29 UTC; 16h ago Main PID: 568952 (glance-registry) Tasks: 9 Memory: 0B CGroup: /system.slice/openstack-glance-registry.service ├─568952 /usr/bin/python2 /usr/bin/glance-registry ├─569184 /usr/bin/python2 /usr/bin/glance-registry ├─569185 /usr/bin/python2 /usr/bin/glance-registry ├─569186 /usr/bin/python2 /usr/bin/glance-registry ├─569187 /usr/bin/python2 /usr/bin/glance-registry ├─569188 /usr/bin/python2 /usr/bin/glance-registry ├─569189 /usr/bin/python2 /usr/bin/glance-registry ├─569190 /usr/bin/python2 /usr/bin/glance-registry └─569191 /usr/bin/python2 /usr/bin/glance-registry Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable. Expected results: Service should be stopped and disabled. Additional info:
please triage this we are going through the list and assigning round robin thanks (DFG:Upgrades triage call)
Should be already fixed in upstream.
openstack-tripleo-heat-templates-8.0.2-11.el7ost.noarch After FFU: [root@controller-0 heat-admin]# systemctl status openstack-glance-registry ● openstack-glance-registry.service - OpenStack Image Service (code-named Glance) Registry server Loaded: loaded (/usr/lib/systemd/system/openstack-glance-registry.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2018-05-04 15:52:38 UTC; 4h 9min ago Main PID: 941884 (glance-registry) Tasks: 9 Memory: 0B CGroup: /system.slice/openstack-glance-registry.service ├─941884 /usr/bin/python2 /usr/bin/glance-registry ├─942114 /usr/bin/python2 /usr/bin/glance-registry ├─942115 /usr/bin/python2 /usr/bin/glance-registry ├─942116 /usr/bin/python2 /usr/bin/glance-registry ├─942117 /usr/bin/python2 /usr/bin/glance-registry ├─942118 /usr/bin/python2 /usr/bin/glance-registry ├─942119 /usr/bin/python2 /usr/bin/glance-registry ├─942120 /usr/bin/python2 /usr/bin/glance-registry └─942121 /usr/bin/python2 /usr/bin/glance-registry May 04 15:52:38 controller-0 systemd[1]: Started OpenStack Image Service (code-named Glance) Registry server. May 04 15:52:38 controller-0 systemd[1]: Starting OpenStack Image Service (code-named Glance) Registry server... May 04 15:52:40 controller-0 glance-registry[941884]: /usr/lib/python2.7/site-packages/glance/registry/api/__init__.py:36: DeprecationWarning: Glance Registry service has been deprecated for removal. May 04 15:52:40 controller-0 glance-registry[941884]: debtcollector.deprecate("Glance Registry service has been " May 04 15:52:40 controller-0 glance-registry[941884]: /usr/lib/python2.7/site-packages/paste/deploy/util.py:55: DeprecationWarning: Using function/method 'Healthcheck.factory()' is deprecated: The healthcheck middleware... not as a filter May 04 15:52:40 controller-0 glance-registry[941884]: val = callable(*args, **kw) Hint: Some lines were ellipsized, use -l to show in full.
Are you purposefully removing GlanceRegistry from your roles data? It has to be present in provided roles file https://github.com/openstack/tripleo-heat-templates/commit/9765f8d22564ac988fb07aa84e855e4c84788475#diff-931c9f84b71aa931378c46417a7df9a1
(In reply to Lukas Bezdicka from comment #9) > Are you purposefully removing GlanceRegistry from your roles data? It has to > be present in provided roles file > https://github.com/openstack/tripleo-heat-templates/commit/ > 9765f8d22564ac988fb07aa84e855e4c84788475#diff- > 931c9f84b71aa931378c46417a7df9a1 No, I am using the default provided by the tripleo-heat-templates rpm: [root@undercloud-0 ~]# rpm -q openstack-tripleo-heat-templates openstack-tripleo-heat-templates-8.0.2-11.el7ost.noarch [root@undercloud-0 ~]# grep GlanceRegistry /usr/share/openstack-tripleo-heat-templates/roles_data.yaml - OS::TripleO::Services::GlanceRegistry I think the issue is here: OS::TripleO::Services::GlanceRegistry gets nooped in /usr/share/openstack-tripleo-heat-templates/environments/lifecycle/ffwd-upgrade-prepare.yaml: [root@undercloud-0 tmp]# grep GlanceRegistry /usr/share/openstack-tripleo-heat-templates/environments/lifecycle/ffwd-upgrade-prepare.yaml OS::TripleO::Services::GlanceRegistry: OS::Heat::None
environments/lifecycle/ffwd-upgrade-prepare.yaml: OS::TripleO::Services::GlanceRegistry: OS::Heat::None Looks like we forgotten to remove the line.
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible. If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-". To add draft documentation text: * Select the documentation type from the "Doc Type" drop down field. * A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.
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/RHBA-2018:2574