Description of problem: Upgrading the undercloud from OSP7 to OSP9 (7->8->9) fails during puppet apply. The httpd process is not able to start because we still have tuskar packages from OSP 7. Version-Release number of selected component (if applicable): # OSP 9 instack-0.0.8-3.el7ost.noarch instack-undercloud-4.0.0-13.el7ost.noarch How reproducible: 100% Steps to Reproduce: 1. Deploy the undercloud with OSP7 2. Upgrade the undercloud to OSP8 3. Upgrade the undercloud to OSP9 Actual results: * Puppet is not able to restart httpd for keystone during 'openstack undercloud upgrade' command : ---------- Error: /Stage[main]/Apache::Service/Service[httpd]: Failed to call refresh: Could not restart Service[httpd]: Execution of '/bin/systemctl restart httpd' returned 1: Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. Error: /Stage[main]/Apache::Service/Service[httpd]: Could not restart Service[httpd]: Execution of '/bin/systemctl restart httpd' returned 1: Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. Wrapped exception: Execution of '/bin/systemctl restart httpd' returned 1: Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. ---------- * httpd logs : ---------- Sep 23 11:19:56 sc-instack python[31794]: WARNING:root:"dashboards" and "default_dashboard" in (local_)settings is DEPRECATED now and may be unsupported in some future release. The preferred way to specify the order of dashboards and the default dashboard is the pluggable Sep 23 11:19:56 sc-instack python[31794]: WARNING:py.warnings:RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9. Sep 23 11:19:56 sc-instack python[31794]: WARNING:py.warnings:RemovedInDjango19Warning: Loading the `url` tag from the `future` library is deprecated and will be removed in Django 1.9. Use the default `url` tag instead. Sep 23 11:19:57 sc-instack python[31794]: CommandError: An error occurred during rendering /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/overview/index.html: Error evaluating expression: Sep 23 11:19:57 sc-instack python[31794]: $table-bg-accent Sep 23 11:19:57 sc-instack python[31794]: on line 2 of dashboard/scss/_variables.scss Sep 23 11:19:57 sc-instack python[31794]: imported from line 1 of infrastructure/scss/infrastructure.scss Sep 23 11:19:57 sc-instack python[31794]: Traceback: Sep 23 11:19:57 sc-instack python[31794]: File "/usr/lib64/python2.7/site-packages/scss/calculator.py", line 141, in evaluate_expression Sep 23 11:19:57 sc-instack python[31794]: return ast.evaluate(self, divide=divide) Sep 23 11:19:57 sc-instack python[31794]: File "/usr/lib64/python2.7/site-packages/scss/ast.py", line 346, in evaluate Sep 23 11:19:57 sc-instack python[31794]: raise SyntaxError("Undefined variable: '%s'." % self.name) Sep 23 11:19:57 sc-instack python[31794]: SyntaxError: Undefined variable: '$table-bg-accent'. Sep 23 11:19:57 sc-instack python[31794]: Found 'compress' tags in: Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/overview/index.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/overview/undeploy_confirmation.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/overview/scale_out.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/overview/deploy_confirmation.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/_workflow_base.html Sep 23 11:19:57 sc-instack python[31794]: /usr/share/openstack-dashboard/openstack_dashboard/templates/horizon/_conf.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_boxes/templates/tuskar_boxes/overview/index.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/overview/post_deploy_init.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/nodes/register.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/_fullscreen_workflow_base.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/nodes/index.html Sep 23 11:19:57 sc-instack python[31794]: /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/base.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/base_detail.html Sep 23 11:19:57 sc-instack python[31794]: /usr/share/openstack-dashboard/openstack_dashboard/templates/horizon/_scripts.html Sep 23 11:19:57 sc-instack python[31794]: /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/nodes/detail.html Sep 23 11:19:57 sc-instack python[31794]: Compressing... Sep 23 11:19:57 sc-instack systemd[1]: httpd.service: control process exited, code=exited status=1 Sep 23 11:19:57 sc-instack systemd[1]: Failed to start The Apache HTTP Server. Sep 23 11:19:57 sc-instack systemd[1]: Unit httpd.service entered failed state. Sep 23 11:19:57 sc-instack systemd[1]: httpd.service failed. ---------- Expected results: httpd running with keystone wsgi $ pgrep -la httpd 30438 /usr/sbin/httpd -DFOREGROUND 30439 /usr/sbin/httpd -DFOREGROUND 30440 keystone-admin -DFOREGROUND 30441 keystone-main -DFOREGROUND 30442 /usr/sbin/httpd -DFOREGROUND 30443 /usr/sbin/httpd -DFOREGROUND 30444 /usr/sbin/httpd -DFOREGROUND 30445 /usr/sbin/httpd -DFOREGROUND 30446 /usr/sbin/httpd -DFOREGROUND 30447 /usr/sbin/httpd -DFOREGROUND 30448 /usr/sbin/httpd -DFOREGROUND 30450 /usr/sbin/httpd -DFOREGROUND 30615 /usr/sbin/httpd -DFOREGROUND 30616 /usr/sbin/httpd -DFOREGROUND 30617 /usr/sbin/httpd -DFOREGROUND 30634 /usr/sbin/httpd -DFOREGROUND 30635 /usr/sbin/httpd -DFOREGROUND 30638 /usr/sbin/httpd -DFOREGROUND 30640 /usr/sbin/httpd -DFOREGROUND Additional info: Removing tuskar/horizon packages and rerun the upgrade solves the issue. openstack-tuskar-ui-extras-0.0.4-2.el7ost.noarch python-tuskarclient-0.1.18-5.el7ost.noarch openstack-tuskar-0.4.18-5.el7ost.noarch openstack-tuskar-ui-0.4.0-5.el7ost.noarch python-django-horizon-9.0.1-2.el7ost.noarch openstack-dashboard-9.0.1-2.el7ost.noarch openstack-dashboard-theme-9.0.1-2.el7ost.noarch
*** This bug has been marked as a duplicate of bug 1353346 ***