Request id in Cinder logs is changed when creating boot volume

Bug #1869160 reported by yenai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
yenai

Bug Description

2020-03-26 16:25:32.635 137980 DEBUG cinder.coordination [req-6535c21c-9502-420c-8b60-acf639021783 e059a1c874714e88ac74603cb38f0a7e 993556f2ed50447db39cb1470cf23343 - default default] Lock "/var/lib/cinder/cinder-f7fb8ace-04a2-42f2-b4f5-dd292fca474b" acquired by "_prepare_image_cache_entry" :: waited 0.000s _synchronized /usr/lib/python2.7/site-packages/cinder/coordination.py:175
2020-03-26 16:25:32.653 137980 DEBUG cinder.volume.flows.manager.create_volume [req-2f36c6bd-ed65-4c41-af62-93bfec292525 eff206b481564447812c220e88716fe0 2f0b2a8363ac40d2b46b9e0dc8211a96 - - -] Preparing cache entry for image = f7fb8ace-04a2-42f2-b4f5-dd292fca474b on host cinder-volume@ebs-ceph#ebs-ceph-backend. _prepare_image_cache_entry /usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py:814

Request id in Cinder logs is changed when creating boot volume.

yenai (yenai2008)
Changed in cinder:
assignee: nobody → yenai (yenai2008)
Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/715147
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=5da7d449a239c000405900dae6397b0ab2b1f75c
Submitter: Zuul
Branch: master

commit 5da7d449a239c000405900dae6397b0ab2b1f75c
Author: yenai <email address hidden>
Date: Thu Mar 26 17:50:19 2020 +0800

    Preserve request id in Cinder logs when creating boot volume

    The method get_internal_tenant_context miss the overwrite
    parameter in RequestContext.
    Ref patch: https://review.opendev.org/#/c/247102/.

    Change-Id: I47c57254adeee065600b7f0db95bee1f813463bf
    Closes-Bug: #1869160

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

Fix proposed to branch: stable/train
Review: https://review.opendev.org/720288

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/train)

Reviewed: https://review.opendev.org/720288
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=d9c97863824f9b1e6223ab1afb23e50cb60f48ab
Submitter: Zuul
Branch: stable/train

commit d9c97863824f9b1e6223ab1afb23e50cb60f48ab
Author: yenai <email address hidden>
Date: Thu Mar 26 17:50:19 2020 +0800

    Preserve request id in Cinder logs when creating boot volume

    The method get_internal_tenant_context miss the overwrite
    parameter in RequestContext.
    Ref patch: https://review.opendev.org/#/c/247102/.

    Change-Id: I47c57254adeee065600b7f0db95bee1f813463bf
    Closes-Bug: #1869160
    (cherry picked from commit 5da7d449a239c000405900dae6397b0ab2b1f75c)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/722416

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/stein)

Reviewed: https://review.opendev.org/722416
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=bef26bbed1753599da46ff90c3da04b90f0b9371
Submitter: Zuul
Branch: stable/stein

commit bef26bbed1753599da46ff90c3da04b90f0b9371
Author: yenai <email address hidden>
Date: Thu Mar 26 17:50:19 2020 +0800

    Preserve request id in Cinder logs when creating boot volume

    The method get_internal_tenant_context miss the overwrite
    parameter in RequestContext.
    Ref patch: https://review.opendev.org/#/c/247102/.

    Change-Id: I47c57254adeee065600b7f0db95bee1f813463bf
    Closes-Bug: #1869160
    (cherry picked from commit 5da7d449a239c000405900dae6397b0ab2b1f75c)
    (cherry picked from commit d9c97863824f9b1e6223ab1afb23e50cb60f48ab)

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