Uploaded image for project: 'CORD'
  1. CORD
  2. CORD-1183

Failed: TASK [head-node : Ensure User SSH Keys]

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None

      Description

      On a hardware POD:

      TASK [head-node : Ensure User SSH Keys] ****************************************
      Tuesday 09 May 2017 12:01:23 +0000 (0:00:01.593) 0:16:01.009 ***********
      fatal: [10.90.0.251 -> localhost]: FAILED! =>

      {"changed": false, "failed": true, "msg": "useradd: Permission denied.\nuseradd: cannot lock /etc/passwd; try again later.\n", "name": "cord", "rc": 1}

      The issue is that {{ ansible_user_id }} resolves to the remote user, but we want the local user. It works on CiaB because both remote and local user is "vagrant".

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            acb Andy Bavier
            Reporter:
            acb Andy Bavier
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes