Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lvm2] Capture PV headers and metadata with pvck #3429

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

jcastill
Copy link
Member

Capture PV headers and metadata when a new option, lvm2.metadata , disabled by default, is specified
as plugin option.


Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines

  • Is the commit message split over multiple lines and hard-wrapped at 72 characters?
  • Is the subject and message clear and concise?
  • Does the subject start with [plugin_name] if submitting a plugin patch or a [section_name] if part of the core sosreport code?
  • Does the commit contain a Signed-off-by: First Lastname [email protected]?
  • Are any related Issues or existing PRs properly referenced via a Closes (Issue) or Resolved (PR) line?

Copy link

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo yum install -y dnf-plugins-core on RHEL 8
  • sudo dnf install -y dnf-plugins-core on Fedora
  • dnf copr enable packit/sosreport-sos-3429
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

Copy link
Member

@arif-ali arif-ali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a comment on line 44

@@ -39,6 +41,24 @@ def do_lvmdump(self, metadata=False):

self.add_cmd_output(cmd, chroot=self.tmp_in_sysroot())

def get_pvck_output(self, metadata=False):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The metadata variable isn't being used, is that intentional for future work? and it's not being passed in setup() either 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a leftover from the first implementation. I'll remove it and push again.

Capture PV headers and metadata when a new option,
lvm2.metadata , disabled by default, is specified
as plugin option.

Signed-off-by: Jose Castillo <[email protected]>
@TurboTurtle TurboTurtle merged commit 041da64 into sosreport:main Dec 2, 2023
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants