Mistral-api container is missing apache

Bug #1724607 reported by Martin André
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Martin André

Bug Description

TripleO configures mistral-api to run via wsgi however the kolla mistral-api image is missing the necessary packages for that to happen. This causes the docker-puppet.py script to error with:

"Notice: /Stage[main]/Mistral::Wsgi::Apache/Openstacklib::Wsgi::Apache[mistral_wsgi]/File[mistral_wsgi]: Dependency File[/var/www/cgi-bin/mistral] has failures: true",

http://logs.openstack.org/40/510040/2/check/legacy-tripleo-ci-centos-7-scenario003-multinode-oooq-container/bdaf800/logs/undercloud/home/zuul/failed_deployment_list.log.txt.gz

Apparently mistral-api container is able to fallback to eventlet [1] so that's the reason why we haven't noticed the issue until now but this becomes a problem with https://review.openstack.org/#/c/511509/ where we'll start collecting all puppet errors.

[1] http://logs.openstack.org/71/512971/1/gate/legacy-tripleo-ci-centos-7-scenario003-multinode-oooq-container/fce5bfd/logs/subnode-2/var/log/containers/mistral/api.log.txt.gz

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/513082

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/513323

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to puppet-tripleo (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/513402

Changed in tripleo:
milestone: queens-1 → queens-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/513402
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=5eb571c4053f40d74aa5e6d136ab10c08094ddb9
Submitter: Zuul
Branch: master

commit 5eb571c4053f40d74aa5e6d136ab10c08094ddb9
Author: Martin André <email address hidden>
Date: Thu Oct 19 16:29:03 2017 +0200

    Add option to disable running mistral-api via wsgi

    The tripleo container do not yet have the required packages to run
    mistral-api on top of apache so we're looking for a way to disable it.

    Change-Id: I54627f1c5a8867738a55bee42075bb6087830c61
    Related-Bug: #1724607

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

Related fix proposed to branch: stable/pike
Review: https://review.openstack.org/514728

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

Reviewed: https://review.openstack.org/514728
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=93a9217ab51718e4081c5c87ddcadff84804aa49
Submitter: Zuul
Branch: stable/pike

commit 93a9217ab51718e4081c5c87ddcadff84804aa49
Author: Martin André <email address hidden>
Date: Thu Oct 19 16:29:03 2017 +0200

    Add option to disable running mistral-api via wsgi

    The tripleo container do not yet have the required packages to run
    mistral-api on top of apache so we're looking for a way to disable it.

    Change-Id: I54627f1c5a8867738a55bee42075bb6087830c61
    Related-Bug: #1724607
    (cherry picked from commit 5eb571c4053f40d74aa5e6d136ab10c08094ddb9)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: master
Review: https://review.openstack.org/513082
Reason: Clearing the gate now, see context on http://lists.openstack.org/pipermail/openstack-dev/2017-October/123979.html

I'll restore the patch once we're green. Apologizes in advance and don't worry for your patch, it will merge asap.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/513082
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=e158acb14c4ed92be1a5b961ff1e8ff99b1a5ae3
Submitter: Zuul
Branch: master

commit e158acb14c4ed92be1a5b961ff1e8ff99b1a5ae3
Author: Martin André <email address hidden>
Date: Wed Oct 18 17:51:09 2017 +0200

    Run containerized mistral-api eventlet

    The mistral-api container image we use doesn't have the necessary
    packages to run via wsgi and this cause puppet to error with:

      "Notice: /Stage[main]/Mistral::Wsgi::Apache/Openstacklib::Wsgi::Apache[mistral_wsgi]/File[mistral_wsgi]: Dependency File[/var/www/cgi-bin/mistral] has failures: true",

    Fallback to eventlet mistral-api for the time being until we get
    a usable mistral-api image.

    Change-Id: Ic10c579aa3b6d0d6a01f120669be3b5dcc5efcda
    Depends-On: I54627f1c5a8867738a55bee42075bb6087830c61
    Related-Bug: #1724607

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/pike)

Related fix proposed to branch: stable/pike
Review: https://review.openstack.org/515326

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/513323
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=1a4da389bb2e3d7bf703ebc0dd10fc46a99bd554
Submitter: Zuul
Branch: master

commit 1a4da389bb2e3d7bf703ebc0dd10fc46a99bd554
Author: Martin André <email address hidden>
Date: Thu Oct 19 11:06:59 2017 +0200

    Allow running mistral-api service via wsgi in container

    A review to add the necessary packages to run mistral-api via wsgi was
    proposed to kolla in I07ffd0b398e20065fff27c30d0842b94090ca0ad but this
    is unlikely we'll be able to backport to stable/pike due to the nature
    of the change.

    So make the necessary change in our override file so we have more
    freedom to backport.

    Change-Id: Id2bfb6ba761821616301f996dd68fea8f07ae5f3
    Related-Bug: #1724607

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/pike)

Reviewed: https://review.openstack.org/515326
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=8dff0be6d844676f6ec277f5b1a7ca7f16139a27
Submitter: Zuul
Branch: stable/pike

commit 8dff0be6d844676f6ec277f5b1a7ca7f16139a27
Author: Martin André <email address hidden>
Date: Wed Oct 18 17:51:09 2017 +0200

    Run containerized mistral-api eventlet

    The mistral-api container image we use doesn't have the necessary
    packages to run via wsgi and this cause puppet to error with:

      "Notice: /Stage[main]/Mistral::Wsgi::Apache/Openstacklib::Wsgi::Apache[mistral_wsgi]/File[mistral_wsgi]: Dependency File[/var/www/cgi-bin/mistral] has failures: true",

    Fallback to eventlet mistral-api for the time being until we get
    a usable mistral-api image.

    Change-Id: Ic10c579aa3b6d0d6a01f120669be3b5dcc5efcda
    Depends-On: I54627f1c5a8867738a55bee42075bb6087830c61
    Related-Bug: #1724607
    (cherry picked from commit e158acb14c4ed92be1a5b961ff1e8ff99b1a5ae3)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (stable/pike)

Related fix proposed to branch: stable/pike
Review: https://review.openstack.org/524103

Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/pike)

Reviewed: https://review.openstack.org/524103
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=70edcda058ca9ceb5537e228e6a12d6d2c6508cc
Submitter: Zuul
Branch: stable/pike

commit 70edcda058ca9ceb5537e228e6a12d6d2c6508cc
Author: Martin André <email address hidden>
Date: Thu Oct 19 11:06:59 2017 +0200

    Allow running mistral-api service via wsgi in container

    A review to add the necessary packages to run mistral-api via wsgi was
    proposed to kolla in I07ffd0b398e20065fff27c30d0842b94090ca0ad but this
    is unlikely we'll be able to backport to stable/pike due to the nature
    of the change.

    So make the necessary change in our override file so we have more
    freedom to backport.

    Change-Id: Id2bfb6ba761821616301f996dd68fea8f07ae5f3
    Related-Bug: #1724607
    (cherry picked from commit 1a4da389bb2e3d7bf703ebc0dd10fc46a99bd554)

Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
status: Triaged → Fix Released
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.