Skip to content

Conversation

jcastill
Copy link
Member

Substitute the current 'domain-status -o' command
with 'sssctl domain-status $domain' which shows
list of of available AD/IPA servers as well
along with online/offline status for the specified domain.

Also include output of command sssctl access-report $domain

Related: RHEL-108358


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?
  • Are all passwords or private data gathered by this PR obfuscated?

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-4115
  • And now you can install the packages.

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

if domain['status'] == 0:
for domain_name in domain['output'].splitlines():
self.add_cmd_output("sssctl domain-status -o " + domain_name)
self.add_cmd_output("sssctl domain-status " + domain_name)
Copy link
Contributor

Choose a reason for hiding this comment

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

A newbie question: can't collecting information from offline domains get stuck?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's a very good question - let me ask the original reporter

Copy link
Member Author

Choose a reason for hiding this comment

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

Original reporter is still testing. I'll ask them to test with the new version just to make sure I haven't done something wrong with the f-strings

@pmoravec
Copy link
Contributor

Please rebase to main to have the ubuntu-20 dropped from testing matrix.

@jcastill jcastill force-pushed the jcastillo-add-new-sssctl-cmds branch from 0ee9d1e to f8e0694 Compare October 1, 2025 07:46
Copy link
Member

@TurboTurtle TurboTurtle left a comment

Choose a reason for hiding this comment

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

While we're changing these commands, let's convert them to f-strings as well, to maintain consistency with our other efforts there.

@jcastill
Copy link
Member Author

jcastill commented Oct 6, 2025

Ack, will do that asap

Substitute the current 'domain-status -o' command
with 'sssctl domain-status $domain' which shows
list of of available AD/IPA servers as well
along with online/offline status for the specified domain.

Also include output of command sssctl access-report $domain

Related: RHEL-108358

Signed-off-by: Jose Castillo <[email protected]>
@jcastill jcastill force-pushed the jcastillo-add-new-sssctl-cmds branch from f8e0694 to 06ea4dd Compare October 6, 2025 18:23
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