Container updates logs are no longer logged to /var/log/tripleo-container-image-prepare-ansible.log and are missing in CI logs

Bug #1866676 reported by yatin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Bogdan Dobrelya

Bug Description

https://review.opendev.org/#/c/684131/ changed container modify ansible to be log to /var/log/tripleo-container-image-prepare-ansible.log but those are currently logged in /home/zuul/ansible.log with some other logs, Looks like something after this patch changed the behavior, the behavior should be fixed.

Example logs:- https://logserver.rdoproject.org/41/709141/7/openstack-check/tripleo-ci-centos-7-ovb-3ctlr_1comp-featureset001/a38754c/logs/undercloud/home/zuul/ansible.log.txt.gz

yatin (yatinkarel)
Changed in tripleo:
milestone: none → ussuri-3
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Alex Schultz (alex-schultz) wrote :
Revision history for this message
Alex Schultz (alex-schultz) wrote :

Ignore the previous comment, yes we want to move the ansible bits out of the existing logs (for readability) however if it's not ending up in tripleo-container-image-prepare-ansible.log that would be a bug.

Revision history for this message
yatin (yatinkarel) wrote :
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.opendev.org/745094

Changed in tripleo:
assignee: nobody → Bogdan Dobrelya (bogdando)
status: Triaged → In Progress
Revision history for this message
Bogdan Dobrelya (bogdando) wrote : Re: Container updates logs are no longer logged to /var/log/tripleo-container-image-prepare-ansible.log

Not having that log in CI doesn't make troubleshooting bug/1889122 easier :(

Changed in tripleo:
importance: Medium → High
tags: added: ci
summary: Container updates logs are no longer logged to /var/log/tripleo-
- container-image-prepare-ansible.log
+ container-image-prepare-ansible.log and are missing in CI logs
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.opendev.org/745492

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (master)

Change abandoned by Bogdan Dobrelya (bogdando) (<email address hidden>) on branch: master
Review: https://review.opendev.org/745094
Reason: https://review.opendev.org/#/c/745492/

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

Reviewed: https://review.opendev.org/745492
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=b5668d01d5f55f16c3e560c5be8f1e1057e809c2
Submitter: Zuul
Branch: master

commit b5668d01d5f55f16c3e560c5be8f1e1057e809c2
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Aug 10 09:45:06 2020 +0200

    Restore default log path for image prepare

    If logging paths weren't configured in handlers, use default /var/log
    for tripleo-container-image-prepare.log along with its *ansible
    counterpart used for logging the container image prepare bits.

    Closes-Bug: #1866676
    Change-Id: I3edbb1b81d5b75519d2bb46f7af04dc833fce9b7
    Signed-off-by: Bogdan Dobrelya <email address hidden>

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

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/747618

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (stable/ussuri)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: stable/ussuri
Review: https://review.opendev.org/747618
Reason: The gate is currently hitting the "docker api 429" issue, see #tripleo channel for more details. I'll abandon that patch so it's cleared from the gate. Please do not restore it as I'll take care of it when the gate is stable again. Thanks for your understanding and patience!

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (stable/ussuri)

Reviewed: https://review.opendev.org/747618
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=968dd03487f4e75a6df8761d6443a9e0ff03867f
Submitter: Zuul
Branch: stable/ussuri

commit 968dd03487f4e75a6df8761d6443a9e0ff03867f
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Aug 10 09:45:06 2020 +0200

    Restore default log path for image prepare

    If logging paths weren't configured in handlers, use default /var/log
    for tripleo-container-image-prepare.log along with its *ansible
    counterpart used for logging the container image prepare bits.

    Closes-Bug: #1866676
    Change-Id: I3edbb1b81d5b75519d2bb46f7af04dc833fce9b7
    Signed-off-by: Bogdan Dobrelya <email address hidden>
    (cherry picked from commit b5668d01d5f55f16c3e560c5be8f1e1057e809c2)

tags: added: in-stable-ussuri
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.