| Summary: | Use lvm backup options only for commands that needs this option | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] vdsm | Reporter: | Nir Soffer <nsoffer> | ||||
| Component: | Core | Assignee: | Nir Soffer <nsoffer> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Elad <ebenahar> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 4.18.0 | CC: | bugs, ebenahar, nsoffer, tnisan, ylavi, zkabelac | ||||
| Target Milestone: | --- | Flags: | sbonazzo:
ovirt-4.3-
|
||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-09-03 08:25:09 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Zdenek, do we have a list of commands that needs this option, or we should just use
this on commands that mention the backup options in the manual?
$ man lvchange | grep backup
tionPolicy] [-A|--autobackup {y|n}] [--cachepolicy policy] [--cachesettings key=value] [--commandprofile ProfileName] [-C|--contiguous {y|n}] [-d|--debug] [--degraded] [--deltag
There are more question to ask first: 1. Would there there be a plan to use this without locking_type=4 ? 2. There would be no point to configure backups on 'hosts' when executed command should be purely read-only (locking_type=4). Removing old need infos. Closing old bugs, reopen if still needed. |
Created attachment 1206224 [details] Output of grep ' backup ' on vdsm log in debug mode Description of problem: Vdsm uses --config 'backup { ... }' options for read only lvm commands that do not need this option. This works since the commands ignore this option, but add noise to vdsm log and make it harder to debug. Example commands with unneeded backup options: - vgs - vgck See backup.log. There may be more commands with this issue. Version-Release number of selected component (if applicable): All How reproducible: Always Steps to Reproduce: 1. Look in vdsm logs in DEBUG mode for lvm commands run by vdsm. Actual results: backup option used in read only commands Expected results: backup option used only in commands that may create a backup