Wireless Access

last person joined: 2 days ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Airwave upgrade failed 8.2.9.0 -> 8.2.10.1

This thread has been viewed 16 times
  • 1.  Airwave upgrade failed 8.2.9.0 -> 8.2.10.1

    Posted Dec 11, 2019 03:10 PM

    Hi all,

     

    We ran into an error when upgrading airwave. See this logfile, anybody here who can help ?

     

    -------------

    wtmp begins Wed Aug 21 09:09:41 2019


    AirWave Management Platform 8.2.9.0 on localhost.localdomain
    1 Upload File
    2 Download File
    3 Delete File
    4 Backup
    5 Restore
    6 Support
    7 Upgrade
    8 Advanced
    9 Security
    10 Custom Commands
    11 Enter Commands
    q >> Quit
    Your choice: 7
    Upgrade
    1 Upgrade AirWave Management Platform
    2 Upgrade OS Kernel
    b >> Back
    Your choice: 1

    Running Upgrade AirWave Management Platform

    Local upgrade versions:

    1. 8.2.9.0
    2. None of the above.

    Which version? 2
    Enter desired version: 8.2.10.1
    Upgrading to 8.2.10.1 ...
    Upgrade script AMP-8.2.10.1-amp_upgrade was not found in local cache.
    Upgrade package AMP-8.2.10.1-x86_64-cvs.tar.gz was not found in local cache.

    Upgrade package will be downloaded from the internet...
    Do you use proxy server? (y/N): n

    Download upgrade package from:
    1. Aruba Support Portal
    2. HPE My Networking Portal
    Enter your choice (1 or 2): 1

    Preparing to connect to Aruba Support Portal...
    Enter your Aruba Support Portal username: xx@xx.yy
    ######################################################################## 100.0%
    Upgrade package AMP-8.2.10.1-x86_64-cvs.tar.gz was not found in local cache.

    Checking iptables.


    Checking the database schema.


    Preparing to connect to Aruba Support Portal...
    ######################################################################## 100.0%
    Validating the upgrade package...
    Verifying authenticity of the upgrade package....
    Verifying signature....
    Good Signature....
    Verifying checksum....
    Upgrade package verified....
    Upgrading AMP to version 8.2.10.1 from version 8.2.9.0...
    Detailed log will be written to /var/log/upgrade/AMP-8.2.10.1-upgrade.log

    STEP 1: Moving old version aside.

    STEP 2: Unpacking upgrade package.

    STEP 3: Checking for compatibility.
    DBI connect('dbname=airwave','airwave',...) failed: FATAL: could not write init file at /root/git/mercury/lib/perl/Mercury/DB/Q.pm line 891
    at /root/git/mercury/lib/perl/Mercury/DB/Q.pm line 905
    Mercury::DB::Q::_get_new_dbh('Mercury::DB::Q') called at /root/git/mercury/lib/perl/Mercury/DB/Q.pm line 872
    Mercury::DB::Q::get_new_dbh('Mercury::DB::Q', undef, undef) called at /root/git/mercury/lib/perl/Mercury/DB/Q.pm line 816
    Mercury::DB::Q::connect_to_db('Mercury::DB::Q') called at /root/git/mercury/lib/perl/Mercury/DB/Q.pm line 809
    Mercury::DB::Q::dbh('Mercury::DB::Q') called at /root/git/mercury/lib/perl/Mercury/DB/Q.pm line 406
    Mercury::DB::Q::_execute('Mercury::DB::Q', 'prepare', 'select distinct type, version from ap where type in (33,48,18...') called at /root/git/mercury/lib/perl/Mercury/DB/Q.pm line 389
    Mercury::DB::Q::execute('Mercury::DB::Q', 'select distinct type, version from ap where type in (33,48,18...') called at /root/git/mercury/lib/perl/Mercury/DB/Q.pm line 341
    Mercury::DB::Q::rows('Mercury::DB::Q', 'select distinct type, version from ap where type in (33,48,18...') called at /root/git/mercury/lib/perl/Mercury/Utility/EOLDevices.pm line 273
    Mercury::Utility::EOLDevices::devices_in_db('Mercury::Utility::EOLDevices', 59, 'HASH(0x1efbde0)', 36, 'HASH(0x1f18488)', 10, 'HASH(0x1f18518)', 148, 'HASH(0x1f309c8)', ...) called at /root/git/mercury/lib/perl/Mercury/Utility/EOLDevices.pm line 361
    Mercury::Utility::EOLDevices::_check_eol_devices('Mercury::Utility::EOLDevices', 1) called at /root/git/mercury/lib/perl/Mercury/Utility/EOLDevices.pm line 284
    Mercury::Utility::EOLDevices::check_eol_devices('Mercury::Utility::EOLDevices', 1) called at /root/git/mercury/scripts/check_for_eol_devices line 12
    svn/mercury/scripts/amp_upgrade
    Error: Your existing system cannot be upgraded.
    Restoring previous version...
    Previous version restored.
    Stopping auditd: [ OK ]
    Starting auditd: [ OK ]
    git/mercury/scripts/import_whitelist.pl
    git/mercury/scripts/purge_old_ucc_data.pl
    git/mercury/scripts/start_upgrade
    git/mercury/scripts/restore_passwords.pl
    git/mercury/scripts/nightly_backup
    git/mercury/Makefile.dev
    git/mercury/version.txt
    svn/mercury/
    svn/mercury/scripts/
    svn/mercury/scripts/amp_upgrade


    Upgrade aborted.
    Please contact Aruba Support at
    1-800-WiFi-LAN (US & Canada) or 1-408-754-1200 (International Toll) or http://www.hpe.com/networking/mynetworking
    Hit <enter> to continue

     



  • 2.  RE: Airwave upgrade failed 8.2.9.0 -> 8.2.10.1

    Posted Dec 11, 2019 03:49 PM

    Ok i found it. You can select option 3 to 'delete a file'. When i did that, i got a list of files of earlier versions of airwave upgrades. All in all more than 10 GB - which i deleted and now the upgrade is running.

     

    Nice to know ! Never seen a hint about this in the installation guide or readme.