Job fails when a container has a pre-existing group with the same gid as the one being created with groupadd

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • master, 5.1.0, 5.0.3
    • Affects Version/s: None
    • Component/s: None
    • None

      2021-09-08 20:49:22: PegasusLite: version 5.0.1dev
      2021-09-08 20:49:22: Executing on host Mayani-MacBook-Pro.local

      ########################[Pegasus Lite] Setting up workdir ########################
      2021-09-08 20:49:22: Not creating a new work directory as it is already set to /usr/local/var/condor/execute/dir_20791

      ##############[Pegasus Lite] Figuring out the worker package to use ##############
      2021-09-08 20:49:22: The job contained a Pegasus worker package
      2021-09-08 20:49:22: Warning: worker package pegasus-worker-5.0.1dev-x86_64_rhel_7.tar.gz does not seem to match the system x86_64_macos_11
      ./pegasus-lite-common.sh: line 128: /bin/true: No such file or directory
      2021-09-08 20:49:22: Downloading Pegasus worker package from http://download.pegasus.isi.edu/pegasus/5.0.1dev/pegasus-worker-5.0.1dev-x86_64_macos_11.tar.gz
      tar: Error opening archive: Unrecognized archive format
      2021-09-08 20:49:22: ERROR: Unable to download a worker package for this platform (x86_64_macos_11).
      2021-09-08 20:49:22: If you want to use the same package as on the submit host, try the following setting in your properties file:
      2021-09-08 20:49:22: pegasus.transfer.worker.package.strict = false
      2021-09-08 20:49:22: Will try the default worker package (x86_64_rhel_7)
      2021-09-08 20:49:22: Downloading Pegasus worker package from http://download.pegasus.isi.edu/pegasus/5.0.1dev/pegasus-worker-5.0.1dev-x86_64_rhel_7.tar.gz

      ########[Pegasus Lite] Writing out script to launch user task in container ########
      2021-09-08 20:49:24: container file is smrt
      2021-09-08 20:50:06: Loaded docker image smrt:latest
      groupadd: GID '20' already exists
      6mAcalling_1_extractCCS_ID0000001-02fe788f-5f64-494c-95c8-7da302559a58
      2021-09-08 20:50:11: User task failed with exitcode 4
      PegasusLite: exitcode 4

      Consider adding -f to groupadd to fix the issue.

      Similar issue may exists for useradd, but -f does not exist for useradd.

            Assignee:
            Karan Vahi
            Reporter:
            Rajiv Mayani
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: