Monday, 2021-05-03

*** zzzeek has quit IRC00:15
*** zzzeek has joined #openstack-glance01:11
*** zzzeek has quit IRC01:17
openstackgerritTakashi Kajinami proposed openstack/glance master: Remove osprofiler parameters from api-paste.ini  https://review.opendev.org/c/openstack/glance/+/78909501:30
*** hamalq has joined #openstack-glance01:49
*** hamalq has quit IRC01:54
*** whoami-rajat has quit IRC02:49
*** hamalq has joined #openstack-glance03:50
*** hamalq has quit IRC03:55
*** ratailor has joined #openstack-glance04:40
*** m75abrams has joined #openstack-glance04:51
*** ratailor_ has joined #openstack-glance05:29
*** ratailor has quit IRC05:30
*** udesale has joined #openstack-glance05:34
*** hamalq has joined #openstack-glance05:51
*** hamalq has quit IRC05:56
*** ratailor__ has joined #openstack-glance05:57
*** ratailor_ has quit IRC06:00
*** ratailor_ has joined #openstack-glance06:13
*** ratailor__ has quit IRC06:16
*** hamalq has joined #openstack-glance06:27
*** hamalq has quit IRC06:31
*** hamalq has joined #openstack-glance06:31
*** k_mouza has joined #openstack-glance06:37
*** k_mouza has quit IRC06:41
*** Luzi has joined #openstack-glance07:01
*** whoami-rajat has joined #openstack-glance07:56
*** hamalq has quit IRC08:46
*** ricolin has joined #openstack-glance08:54
*** hamalq has joined #openstack-glance09:36
*** hamalq has quit IRC09:40
*** ralonsoh_ has joined #openstack-glance10:18
*** ralonsoh has quit IRC10:20
*** gokhani has joined #openstack-glance10:27
*** ratailor has joined #openstack-glance11:17
*** ratailor_ has quit IRC11:18
*** hamalq has joined #openstack-glance11:36
*** hamalq has quit IRC11:41
*** hamalq has joined #openstack-glance12:17
*** hamalq has quit IRC12:22
whoami-rajatdansmith: so when getting an os-brick connector it traverses through all possible connectors[1], in the nvme connector we execute the command erroring out[2]. the strange thing is that directory should already exist since mkdir was executed in logs[3]12:47
whoami-rajat[1] https://github.com/openstack/os-brick/blob/master/os_brick/initiator/connector.py#L226-L23712:47
whoami-rajat[2] https://github.com/openstack/os-brick/blob/master/os_brick/initiator/connectors/nvmeof.py#L123-L12512:47
whoami-rajat[3] https://zuul.opendev.org/t/openstack/build/74c3d110d12140c9ac39c2524b7a2668/log/controller/logs/screen-g-api.txt#1413112:47
*** stand has quit IRC13:08
*** ratailor has quit IRC13:24
openstackgerritGonĂ©ri Le Bouder proposed openstack/glance master: doc: update the kvm kw_vif_model driver list  https://review.opendev.org/c/openstack/glance/+/78928113:26
dansmithwhoami-rajat: I think that's complaining about the missing 'nvme' command, not /etc/nvme isn't it?13:36
dansmithso maybe we're missing something in devstack to get that installed?13:36
whoami-rajatdansmith:  FileNotFoundError: [Errno 2] No such file or directory: 'nvme'13:37
dansmithright, but the command is nvme: "Command: nvme gen-hostnqn | tee /etc/nvme/hostnqn"13:38
dansmiththe python side would only know if something was FileNotFound if it's looking for that exact thing.. it doesn't know what tee's error codes mean :)13:38
dansmithalso "Exit code: -" means it didn't even run it, I expect, because it couldn't find the binary to run13:39
whoami-rajatah, right, that can be...13:39
whoami-rajatdansmith:  also we don't need nvme installed since the backend used is lvm, it uses the iscsi connector so we don't need the nvme anyway13:40
dansmithack, so we should probably make brick not log trace after trace for a situation where we don't even need nvme right? :)13:40
dansmithpresumably that means operators have this noise in their logs over and over13:41
whoami-rajatdansmith: I'm really not sure why there's a trace since we're not raising anything, just logging a warning https://github.com/openstack/os-brick/blob/4.3.1/os_brick/initiator/connectors/nvmeof.py#L131-L13213:43
dansmithyou probably need LOG.warning(.., exc_info=False)13:44
dansmithI think if you log warning from inside an exception handler you'll get the trace13:44
dansmithI'm not sure where that comes from, but I've seen it before, let me look for an example13:46
whoami-rajati wasn't aware of that13:46
dansmiththere must be something a little more obscure about it, but I'm struggling to remember13:47
dansmithhmm, well, the example I found doesn't have a lot of notes so I think it must have been discussed on IRC13:54
dansmiththere's also a report that setting exc_info=False didn't fix the trace in this case, but we ultimately left it in13:54
dansmithso maybe it's something more obscure13:54
whoami-rajatok, i can propose a try patch and see if the trace is still logged?13:58
whoami-rajator you can if you want since it's your solution :)13:58
dansmithgo ahead if you want.. but I will if you don't want to.. I'm looking through oslo.log right now and there's definitely some magic in there, so I kinda figure *something* is going on13:59
whoami-rajatok let me propose it real quick14:00
*** Luzi has quit IRC14:08
whoami-rajatdansmith: https://review.opendev.org/c/openstack/os-brick/+/78928914:09
whoami-rajatwasn't very quick14:09
dansmithwhoami-rajat: thanks.. do we need a dnm against glance to poke that or does that show up in jobs that run against brick patches too?14:10
whoami-rajatdansmith: can you provide link of your DNM patch14:10
dansmithah, yeah let me  update it14:10
whoami-rajatdansmith: let me check if the current brick gate...14:10
openstackgerritDan Smith proposed openstack/glance master: DNM Test glance_store cinder attach changes  https://review.opendev.org/c/openstack/glance/+/78896314:11
dansmithshould repro here ^ at least14:11
dansmitheven without the trace, it seems bad for brick to just keep doing that (and even logging a one-line error) on a system where nvme is clearly not available/used14:12
whoami-rajatdansmith: i found this on older brick patch run and it just logs a warning in nova Apr 27 01:19:19.586450 ubuntu-focal-inmotion-iad3-0024322733 nova-compute[100300]: WARNING os_brick.initiator.connectors.nvmeof [None req-be373412-8763-46b9-bd56-74d14e957848 tempest-UpdateMultiattachVolumeNegativeTest-1721339940 tempest-UpdateMultiattachVolumeNegativeTest-1721339940-project] Could not generate host nqn:14:14
whoami-rajat[Errno 2] No such file or directory14:14
dansmithhmm, interesting14:15
whoami-rajatalso i assume if nvme command is not found then this should be the trace and not the one seen in glance14:16
whoami-rajatApr 27 01:19:19.586450 ubuntu-focal-inmotion-iad3-0024322733 nova-compute[100300]: Command: nvme gen-hostnqn | tee /etc/nvme/hostnqn14:16
whoami-rajatApr 27 01:19:19.586450 ubuntu-focal-inmotion-iad3-0024322733 nova-compute[100300]: Exit code: -14:16
whoami-rajatApr 27 01:19:19.586450 ubuntu-focal-inmotion-iad3-0024322733 nova-compute[100300]: Stdout: None14:16
whoami-rajatApr 27 01:19:19.586450 ubuntu-focal-inmotion-iad3-0024322733 nova-compute[100300]: Stderr: None: oslo_concurrency.processutils.ProcessExecutionError: [Errno 2] No such file or directory14:16
whoami-rajatand glance says FileNotFoundError14:16
dansmithso, I wonder if this is actually privsep logging it and not that place you noted the log.warning14:17
*** hamalq has joined #openstack-glance14:18
*** BLZbubba has quit IRC14:18
whoami-rajatI'm still not sure why it doesn't do it when nova calls brick14:21
dansmithyeah14:21
*** hamalq has quit IRC14:22
*** gokhani has quit IRC14:43
*** udesale has quit IRC15:51
*** lbragstad_ is now known as lbragstad15:51
*** hamalq has joined #openstack-glance16:00
*** hamalq has quit IRC16:09
*** hamalq has joined #openstack-glance16:14
*** hamalq_ has joined #openstack-glance16:16
*** hamalq has quit IRC16:20
*** m75abrams has quit IRC16:35
*** gyee has joined #openstack-glance16:46
*** tkajinam has quit IRC16:48
*** k_mouza has joined #openstack-glance17:07
*** k_mouza has quit IRC19:36
*** gyee has quit IRC19:53
*** lbragstad has quit IRC19:54
*** priteau has quit IRC19:54
*** gyee has joined #openstack-glance19:55
*** lbragstad has joined #openstack-glance19:55
*** priteau has joined #openstack-glance19:55
*** k_mouza has joined #openstack-glance20:36
*** k_mouza has quit IRC20:41
*** whoami-rajat has quit IRC22:03
*** ralonsoh_ has quit IRC22:09
*** snapdeal has joined #openstack-glance22:14
*** snapdeal has quit IRC22:27
*** rcernin has joined #openstack-glance23:07

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