Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3001

Change uid and gid for jenkins user in bigtop-toolchain

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.3.0
    • Component/s: toolchain
    • Labels:
      None

      Description

      BIGTOP-2187 set uid and gid 1000 for jenkins user, however, 1000 is almost always used by the first non-system user. Therefore, if there is a non-system user who has uid/gid 1000, puppet apply command fails.

      Error: Could not create group jenkins: Execution of '/sbin/groupadd -g 1000 jenkins' returned 4: groupadd: GID '1000' already exists
      Error: /Stage[main]/Bigtop_toolchain::User/Group[jenkins]/ensure: change from 'absent' to 'present' failed: Could not create group jenkins: Execution of '/sbin/groupadd -g 1000 jenkins' returned 4: groupadd: GID '1000' already exists
      

      Changing them to 500 seems a good choice.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aajisaka Akira Ajisaka
                Reporter:
                aajisaka Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: