Monday, 2022-03-14

opendevreviewRajat Dhasmana proposed openstack/cinder-tempest-plugin master: Add multiattach tests  https://review.opendev.org/c/openstack/cinder-tempest-plugin/+/79192107:37
opendevreviewFrancesco Pantano proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648409:23
opendevreviewOpenStack Release Bot proposed openstack/cinder stable/yoga: Update .gitreview for stable/yoga  https://review.opendev.org/c/openstack/cinder/+/83354109:30
opendevreviewOpenStack Release Bot proposed openstack/cinder stable/yoga: Update TOX_CONSTRAINTS_FILE for stable/yoga  https://review.opendev.org/c/openstack/cinder/+/83354209:30
opendevreviewOpenStack Release Bot proposed openstack/cinder master: Update master for stable/yoga  https://review.opendev.org/c/openstack/cinder/+/83354309:30
opendevreviewOpenStack Release Bot proposed openstack/cinder master: Add Python3 zed unit tests  https://review.opendev.org/c/openstack/cinder/+/83354409:30
opendevreviewMounika Sreeram proposed openstack/cinder master: [SVf] Delete volume issue in reverse replication  https://review.opendev.org/c/openstack/cinder/+/83177609:59
opendevreviewFrancesco Pantano proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648410:08
opendevreviewMerged openstack/cinder master: Update master for stable/yoga  https://review.opendev.org/c/openstack/cinder/+/83354311:10
opendevreviewMerged openstack/cinder stable/yoga: Update .gitreview for stable/yoga  https://review.opendev.org/c/openstack/cinder/+/83354111:11
*** dviroel is now known as dviroel|ruck11:14
opendevreviewMounika Sreeram proposed openstack/cinder master: [SVf] Delete volume issue in reverse replication  https://review.opendev.org/c/openstack/cinder/+/83177611:58
hemnamorning12:39
hemnaso for logging in cinder LOG.info("something", resource=volume_ref).  what is expected to happen in the log ?13:17
hemnafor example,  https://github.com/openstack/cinder/blob/master/cinder/volume/manager.py#L2033-L203413:18
hemnaI get. INFO cinder.volume.manager [req-80f40566-6958-49f1-ac25-9dbc7fb274a3 greq-8f738b1a-0210-449b-a29f-9a623fd637f9 f0256222bf1b5893da6f8935c96abbacbf464b9b9c6ad4d854819b3bf1a5a54d 75c66a47a77a484ebad71210eca82c4b - 91812622ef084279a6daa53089e9c0f4 91812622ef084279a6daa53089e9c0f4] Terminate volume connection completed successfully.13:19
hemnanone of which is a volume id13:19
opendevreviewMerged openstack/cinder master: Add Python3 zed unit tests  https://review.opendev.org/c/openstack/cinder/+/83354413:42
yuvalhemna - I think its a bug13:55
yuvalshould be something like: LOG.info("Terminate volume connection completed successfully. %s", dict(resource=volume_ref))13:55
yuvalor: LOG.info("Terminate volume connection completed successfully. %(resource)s", dict(resource=volume_ref))13:55
hemnahrmm ok14:09
hemnaI thought it was supposed to get added to the log header, the [ req-.....] section14:10
hemnaevery reference to logging in the volume manager is the same for resource=14:28
eharneylook at the oslo log code which looks for the resource object being passed in14:36
eharneyhttps://opendev.org/openstack/oslo.log/src/branch/master/oslo_log/log.py#L17014:36
eharneyit appears to look for the name, i.e. not a bug in cinder's usage of it14:36
eharneyhemna: ^14:36
hemnaso it looks like that resource= has no effect in the logs14:37
hemnaI even changed a log entry to say resource={'type': 'volume', 'id': volume.id}14:39
hemnano effect14:39
hemna│Mar 14 10:41:32 devstack-train cinder-volume[9999]: INFO cinder.volume.manager [None req-2fc2c177-95dd-457c-8b1e-8af300a26582 admin None] Created volume successfully.                                                                    │14:41
hemna│Mar 14 10:41:32 devstack-train cinder-volume[9999]: INFO cinder.volume.manager [None req-2fc2c177-95dd-457c-8b1e-8af300a26582 admin None] Created volume successfully2.14:41
hemna          LOG.info("Created volume successfully.", resource=volume)14:42
hemna+         LOG.info("Created volume successfully2.", resource={'type': 'volume', 'id': volume.id})14:42
hemnacan someone test this on master ?14:42
hemnaif this does nothing, then why is it all over the volume manager and elsewhere14:42
*** hemna0 is now known as hemna15:03
yuvalmaybe there was a field resource in the "context" and it was removed15:14
*** dviroel|ruck is now known as dviroel|ruck|lunch15:36
*** melwitt_ is now known as melwitt16:14
*** dviroel|ruck|lunch is now known as dviroel|ruck16:22
*** dviroel|ruck is now known as dviroel|ruck|afjk20:50
*** dviroel|ruck|afjk is now known as dviroel|ruck|afk20:50
opendevreviewVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648422:24
opendevreviewVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648423:19
*** dviroel|ruck|afk is now known as dviroel|ruck23:49

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!