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

keama: return code does not reflect progress

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • kea
    • None
    • No
    • None
    • rhel-sst-cs-stacks
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      run keama

      Please provide the package NVR for which bug is seen:

      kea-2.6.1-3.el10.x86_64

      How reproducible:

      always

      Steps to reproduce

      # run keama and see return code, its vary

      for one dhcpd.conf:

      https://gitlab.com/redhat/rhel/tests/kea ... dhcpd_1.conf

      1. Parsed 25 lines from the input (ISC DHCP config) dhcpd_1.conf file.
        Wrote 18446744073709551615 bytes to Kea JSON output stdout file.

      ❯ echo $?
      12
      ---------------------------

      for another

      https://pkgs.devel.redhat.com/git/tests/dhcp/tree/Sanity/bz1063217-dhcp-failover-two-servers/dhcpd1.conf
      }Parsed 41 lines from the input (ISC DHCP config) /home/psklenar/tests/dhcp/Sanity/bz1063217-dhcp-failover-two-servers/dhcpd2.conf file.
      Wrote 18446744073709551615 bytes to Kea JSON output stdout file.

      ❯ echo $?
      5

      Expected results

      if success return code is ZERO

      Actual results

      1 to <100 when success

      255 if error

              rhn-support-mosvald Martin Osvald (Inactive)
              psklenar Petr Sklenar
              Martin Osvald Martin Osvald (Inactive)
              Petr Sklenar Petr Sklenar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: