Uploaded image for project: 'Container Tools'
  1. Container Tools
  2. RUN-3398

[containers/conmon] conmon exec not handling runtime failures

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • conmon
    • False
    • Hide

      None

      Show
      None
    • False

      [1149244511] Upstream Reporter: Johannes 'fish' Ziemke
      Upstream issue status: Closed
      Upstream description:

      Looks like at least when doing exec, conmon is ignoring the exit status of the runtime and returns 0. That made it really hard to pin point an issue we're having.

      Using /bin/false to easily reproduce:

      # conmon -c <id> -n /runtime.v1alpha2.RuntimeService/Exec -p /mnt/crio/overlay-containers/<id>/userdata/pidfile -e --socket-dir-path /var/run/crio --exec-process-spec exec-spec.json -r /bin/false --log-path /dev/stdout
      # echo $?
      0

      Upstream URL: https://github.com/containers/conmon/issues/328

              rhn-support-jnovy Jindrich Novy
              upstream-sync Upstream Sync
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: