1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Tony Asleson 0296e56073 lvmdbusd: Don't report recoverable error
Lvm occasionally fails to return all the request JSON keys in the output of
"fullreport".  This happens very rarely.  When it does the daemon was reporting
the resulting informational exception:

MThreadRunner: exception
Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/lvmdbusd/utils.py", line 667, in _run
    self.rc = self.f(*self.args)
  File "/usr/lib/python3.9/site-packages/lvmdbusd/fetch.py", line 40, in _main_thread_load
    (lv_changes, remove) = load_lvs(
  File "/usr/lib/python3.9/site-packages/lvmdbusd/lv.py", line 143, in load_lvs
    return common(
  File "/usr/lib/python3.9/site-packages/lvmdbusd/loader.py", line 37, in common
    objects = retrieve(search_keys, cache_refresh=False)
  File "/usr/lib/python3.9/site-packages/lvmdbusd/lv.py", line 95, in lvs_state_retrieve
    l['vdo_operating_mode'],
KeyError: 'vdo_operating_mode'

The daemon retries the operation, which usually works and the daemon continues.
However, simply reporting this informational stack trace is causing CI and other
automated tests to fail as they expect no tracebacks in the log output.

Remove the reporting of this code path unless it persists and causes the daemon
to give up and exit.

Ref: https://bugzilla.redhat.com/show_bug.cgi?id=2120267
2022-09-16 10:49:37 -05:00
autoconf autoreconf: support newer archs 2022-08-15 13:32:55 +02:00
base gcc: use more zero length arrays 2021-09-22 17:18:50 +02:00
conf make: generate 2022-08-11 11:10:11 +02:00
coverity cov: drop model for origin_from_cow 2020-09-12 13:23:49 +02:00
daemons lvmdbusd: Don't report recoverable error 2022-09-16 10:49:37 -05:00
device_mapper libdm: report: fix escaping of JSON quote char in reported fields 2022-08-24 12:10:10 +02:00
doc all: fix typos 2021-03-30 13:08:14 +02:00
include configure: update 2022-09-14 15:16:30 +02:00
lib vgremove: remove online files in run dir 2022-09-14 14:19:29 -05:00
libdaemon cov: remove unused headers 2022-07-11 01:18:24 +02:00
libdm make: update make.tmpl 2022-09-07 14:58:01 +02:00
man lvmconfig: add --valuesonly option 2022-08-17 10:47:24 +02:00
nix lockd: Clean up spec 2015-07-04 14:36:57 +02:00
po makefiles: fix pofile generation 2021-03-02 22:54:40 +01:00
scripts lvresize: add new options and defaults for fs handling 2022-09-13 15:15:05 -05:00
spec lvresize: add new options and defaults for fs handling 2022-09-13 15:15:05 -05:00
test lvmdbustest: Skip test_singleton_daemon running systemd svc. 2022-09-16 10:49:37 -05:00
tools vgremove: remove online files in run dir 2022-09-14 14:19:29 -05:00
udev gitignore: update 2022-09-07 15:00:15 +02:00
.gitignore gitignore: update 2022-09-07 15:00:15 +02:00
acinclude.m4 [build] uncomment 'serial 3' in an m4 file. 2018-04-30 09:44:27 +01:00
aclocal.m4 autoreconf: support newer archs 2022-08-15 13:32:55 +02:00
configure configure: update 2022-09-14 15:16:30 +02:00
configure.ac lvresize: add new options and defaults for fs handling 2022-09-13 15:15:05 -05:00
COPYING doc: change fsf address 2016-01-21 12:11:37 +01:00
COPYING.BSD Add BSD 2-Clause License 2018-07-27 17:09:46 +02:00
COPYING.LIB Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
INSTALL quick review of docs 2008-11-04 17:49:22 +00:00
make.tmpl.in make: update make.tmpl 2022-09-07 14:58:01 +02:00
Makefile.in makefiles: reuse CSCOPE_DIRS for ctags 2021-04-12 09:54:16 +02:00
README Update README 2020-08-12 12:05:36 +02:00
TESTING docs: Add TESTING file 2017-12-14 16:45:47 +01:00
VERSION post-release 2022-05-18 18:18:14 +02:00
VERSION_DM post-release 2022-05-18 18:18:14 +02:00
WHATS_NEW report: fix lv_active column type from STR to BIN 2022-09-06 15:49:27 +02:00
WHATS_NEW_DM WHATS_NEW: update 2022-08-11 13:03:29 +02:00

This tree contains the LVM2 and device-mapper tools and libraries.

This is development branch, for stable 2.02 release see stable-2.02 branch.

For more information about LVM2 read the changelog in the WHATS_NEW file.
Installation instructions are in INSTALL.

There is no warranty - see COPYING and COPYING.LIB.

Tarballs are available from:
  ftp://sourceware.org/pub/lvm2/
  https://github.com/lvmteam/lvm2/releases

The source code is stored in git:
  https://sourceware.org/git/?p=lvm2.git
  git clone git://sourceware.org/git/lvm2.git
mirrored to:
  https://github.com/lvmteam/lvm2
  git clone https://github.com/lvmteam/lvm2.git
  git clone git@github.com:lvmteam/lvm2.git

Mailing list for general discussion related to LVM2:
  linux-lvm@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing lists for LVM2 development, patches and commits:
  lvm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/lvm-devel

  lvm2-commits@lists.fedorahosted.org (Read-only archive of commits)
  Subscribe from https://fedorahosted.org/mailman/listinfo/lvm2-commits

Mailing list for device-mapper development, including kernel patches
and multipath-tools:
  dm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel

Website:
  https://sourceware.org/lvm2/

Report upstream bugs at:
  https://bugzilla.redhat.com/enter_bug.cgi?product=LVM%20and%20device-mapper
or open issues at:
  https://github.com/lvmteam/lvm2/issues

The source code repository used until 7th June 2012 is accessible using CVS:

  cvs -d :pserver:cvs@sourceware.org:/cvs/lvm2 login cvs
  cvs -d :pserver:cvs@sourceware.org:/cvs/lvm2 checkout LVM2

The password is cvs.