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

Ansible installer problem with repo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: To Do (View Workflow)
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Ansible
    • Labels:
      None
    • Story Points:
      2

      Description

      Hello team,

      The current installer script setup.sh at repo https://gerrit.opencord.org/automation-tools has a problem with the newer version of kubespray not recognizing the inventory.ini file. A workaround seems to be to make the following modification as used by our team:

      Ansible appears to use the file extension to decide what format the inventory file is in. So the file name just needs to be changed form inventory.cfg -> inventory.yaml. Since the inventory file is generated based on the parameters passed to setup.sh, we need to modify setup.sh (and setup.sh only).

      In setup.py there a 3 references to inventory.cfg.

      1) (line 59) The filename passed to a python utility (inventory.py) as an ENV variable.
      This utility generates that file.

      2) (line 66) It is passed to ansible-playbook
      3) (line 70) It is passed to ansible-playbook

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            msaman Mo Saman
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes