Developer

last person joined: 5 days ago 

Expand all | Collapse all

Unable to restore flashbackup in 8.5 standalone using ancible script

This thread has been viewed 1 times
  • 1.  Unable to restore flashbackup in 8.5 standalone using ancible script

    Posted Aug 03, 2020 09:48 AM

    Hi Team,

     

    Unable to restore flashbackup in 8.5 standalone using ancible script but able to collect backup from the controller using ancible. 

     

    Ansible version - 2.9.6

     

    We get the below error if we try to restore the flashback of the controller

     

    fatal: [BPE_LAB_AR7010_0001]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python"}, "changed": false, "command": "ap system-profile \"NoAuthApSystem\"", "msg": "ap-system-profile  NoAuthApSystem\"
    \r                                                                               ^ \r
    Invalid input detected at '^' marker.\r
    (BPE_LAB_AR7010_0001) [mynode] (AP system profile \"default\") #", "rc": -32603}

     

     

    Thank you!



  • 2.  RE: Unable to restore flashbackup in 8.5 standalone using ancible script
    Best Answer

    EMPLOYEE
    Posted Aug 18, 2020 10:07 PM

    Hi,

     

    The options provided in aruba_config ansible module to restore configuration using "src" parameter, applies config line-by-line on configure mode. This method offers validation of config but prone to errors when AOS requests additional prompts with y/n or certain factory default settings may not be overwritten.

     

    Therefore, I would suggest to use aruba_command module and follow the similar workflow.

     

    Suggested Workflow:

    https://community.arubanetworks.com/t5/Controller-Based-WLANs/How-to-backup-and-restore-the-config-file-of-mobility-master/ta-p/292413

     

    Sample playbook to copy tech-support logs from MM/MD

    https://community.arubanetworks.com/t5/Developer-Community/Ansible-Controller-Issues-Examples/m-p/549151/highlight/true#M235

     

    Thanks!