Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-4032

Add remote_src setings for ansible.cfg file for packer builders

Issue XMLXMLWordPrintable

      Packer jobs fail because the required settings under ~/.ansible/ansible.cfg are not present.

       

      *no* further _formatting_ is done here
          openstack: TASK [Install kubectl 1.15.11] *************************************************
          openstack: Monday 01 November 2021  14:20:16 +0000 (0:00:07.645)       0:17:26.280 *******
          openstack: changed: [default]
          openstack:
          openstack: TASK [Fetch tar.gz for 2.16.6] *************************************************
          openstack: Monday 01 November 2021  14:20:16 +0000 (0:00:00.638)       0:17:26.919 *******
          openstack: [WARNING]: Module remote_tmp /home/ubuntu/.ansible/tmp did not exist and was
          openstack: fatal: [default]: FAILED! => {
          openstack: created with a mode of 0700, this may cause issues when running as another
          openstack:     "changed": false,
          openstack: user. To avoid this, create the remote_tmp dir with the correct permissions
          openstack:     "dest": "/tmp/helm-v2.16.6-linux-amd64.tar.gz",
          openstack: manually
          openstack:     "elapsed": 0,
          openstack:     "response": "HTTP Error 404: Not Found",
          openstack:     "status_code": 404,
          openstack:     "url": "http://storage.googleapis.com/kubernetes-helm/helm-v2.16.6-linux-amd64.tar.gz"
          openstack: }
          openstack:
          openstack: MSG:
          openstack:
          openstack: Request failed
          openstack:
          openstack: PLAY RECAP *********************************************************************
          openstack: default                    : ok=76   changed=57   unreachable=0    failed=1    skipped=16   rescued=0    ignored=0
          openstack:

       

      This needs to be addressed by passing a setting ('remote_src') through the "~/.ansible/ansible.cfg" created in the env.

       

       

       

       

       

              askb Anil Belur
              askb Anil Belur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: