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

switch CORD provisioning failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Medium
    • Resolution: Won't Fix
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: MaaS
    • Labels:
      None
    • Story Points:
      1

      Description

      During switch CORD provisioning, TASK [fabric-switch : Manage OFDPA] fails.

      TASK [fabric-switch : Manage OFDPA] ********************************************
      fatal: [192.168.3.17]: FAILED! =>

      {"failed": true, "reason": "the file_name '/etc/maas/ansible/ofdpa.yml \"x86-64-accton-as5712-54x-r0\"' does not exist, or is not readable"}

      It seems that the task /etc/maas/ansible/roles/fabric-switch/tasks/main.yml has a typo in the related task:

      • name: Manage OFDPA
        include: ofdpa.yml platform="{{ platform }}"
        when: platform in platforms.accton_switches.names or platform in platforms.quanta_switches.names

      should be

      • name: Manage OFDPA
        include: ofdpa.yml
        when: platform in platforms.accton_switches.names or platform in platforms.quanta_switches.names

        Attachments

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

          Activity

            People

            Assignee:
            luca Luca Prete
            Reporter:
            morrorob Roberto Morro
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes