Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-81200

Ipa client --raw --structured throws internal error

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • ipa-4.12.2-16.el10
    • No
    • Low
    • 5
    • rhel-idm-ipa
    • 6
    • 8
    • 2
    • QE ack, Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • 2025-Q1-Bravo-S3, 2025-Q1-Bravo-S4, 2025-Q1-Bravo-S5, 2025-Q1-Bravo-S6, 2025-Q2-Bravo-S2
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      ipa dnsrecord-find target.test --all --raw --structured
      ipa: ERROR: an internal error has occurred
      

      --raw and --structured are incompatible, we need to report that they are incompatible, mention it in the man pages and pretty print a nice message instead of Internal error

      To replicate first add new dnsrecord

      ipa dnsrecord-add target.test
      

      The error is not thrown if the dns can not be found.

      This error appears for all 

      ipa dnsrecord-*

       commands, the only exception is ipa dnsrecord-del, which doesn't support neither --raw and --structured.

              rh-ee-dhanina David Hanina
              rh-ee-dhanina David Hanina
              Florence Renaud Florence Renaud
              Michal Polovka Michal Polovka
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: