File: add-suppress-lvm-fd-warnings-option.402bebc03b0a9f00.yaml

package info (click to toggle)
cinder 2%3A13.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 33,944 kB
  • sloc: python: 366,777; pascal: 2,205; sh: 586; makefile: 108; xml: 26; sql: 18
file content (17 lines) | stat: -rw-r--r-- 814 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
upgrade:
    - |
      In certain environments (Kubernetes for example) indirect calls to the LVM
      commands result in file descriptor leak warning messages which in turn cause
      the process_execution method to raise and exception.

      To accommodate these environments, and to maintain backward compatibility
      in Newton we add a ``lvm_suppress_fd_warnings`` bool config to the LVM driver.
      Setting this to True will append the LVM env vars to include the variable
      ``LVM_SUPPRESS_FD_WARNINGS=1``.

      This is made an optional configuration because it only applies to very specific
      environments.  If we were to make this global that would require a rootwrap/privsep
      update that could break compatibility when trying to do rolling upgrades of the
      volume service.