Network Management

last person joined: yesterday 

Keep an informative eye on your network with IMC and AirWave network management solutions.
Expand all | Collapse all

Aruba AirWave Failed to import

  • 1.  Aruba AirWave Failed to import

    Posted Mar 18, 2014 07:14 AM

    hye,

     

    im running AirWave 7.7.4. I have 2 controller. I have succesfully import the config on the first controller but got an error on the second controller. I have tried to use the same OS on these 2 controllers but the same error comes out. The error is :

     

    Found too many matches! at Mercury/Utility/Assert.pm line 64
      Mercury::Utility::Assert::assert_quickly('', 'Found too many matches!') called at Mercury/AP/Aruba/AOS/Utility/Cacher.pm line 126
      Mercury::AP::Aruba::AOS::Utility::Cacher::cached_obj_for([arg list truncated]) called at Mercury/AP/Aruba/AOS/Utility/Cacher.pm line 31
      Mercury::AP::Aruba::AOS::Utility::Cacher::cached_id_for([arg list truncated]) called at Mercury/AP/Aruba/AOS/Profile/Base.pm line 812
      Mercury::AP::Aruba::AOS::Profile::Base::cached_id_for([arg list truncated]) called at Mercury/AP/Aruba/AOS/Profile/Base.pm line 849
      Mercury::AP::Aruba::AOS::Profile::Base::choose_profiles_out_of_dc([arg list truncated]) called at Mercury/AP/Aruba/AOS/Profile/Base.pm line 963
      Mercury::AP::Aruba::AOS::Profile::Base::collapse([arg list truncated]) called at Mercury/AP/Aruba/AOS/Profile/Base.pm line 762
      Mercury::AP::Aruba::AOS::Profile::Base::first_pass_collapse([arg list truncated]) called at Mercury/AP/Aruba/AOS/CSO.pm line 780
      Mercury::AP::Aruba::AOS::CSO::collapse_config([arg list truncated]) called at Mercury/AP/Aruba/AOSMixin.pm line 42
      Mercury::AP::Aruba::AOSMixin::collapse_config([arg list truncated]) called at Mercury/Handler/DeviceConfig.pm line 362
      Mercury::Handler::DeviceConfig::_execute([arg list truncated]) called at Mercury/Handler/View.pm line 369
      Mercury::Handler::View::execute([arg list truncated]) called at Mercury/Handler/View.pm line 75
      Mercury::Handler::View::build_output([arg list truncated]) called at Mercury/Handler/DeviceConfig.pm line 107
      Mercury::Handler::DeviceConfig::build_output([arg list truncated]) called at Mercury/Handler/Dispatcher.pm line 148
      Mercury::Handler::Dispatcher::__ANON__() called at Mercury/DB/Q.pm line 499
      eval {...} called at Mercury/DB/Q.pm line 486
      Mercury::DB::Q::_run_then_do('Mercury::DB::Q', 'CODE(0x7f6cdf7c8df0)', 'CODE(0x7f6cdf76a488)') called at Mercury/DB/Q.pm line 457
      Mercury::DB::Q::run_in_transaction('Mercury::DB::Q', 'CODE(0x7f6cdf7c8df0)') called at Mercury/Handler/Dispatcher.pm line 149
      Mercury::Handler::Dispatcher::call_handler([arg list truncated]) called at Mercury/Handler/Dispatcher.pm line 58
      Mercury::Handler::Dispatcher::handler([arg list truncated]) called at -e line 0
      eval {...} called at -e line 0
    at Mercury/Utility/Assert.pm line 64
      Mercury::Utility::Assert::assert_quickly('', 'Found too many matches!') called at Mercury/AP/Aruba/AOS/Utility/Cacher.pm line 126
      Mercury::AP::Aruba::AOS::Utility::Cacher::cached_obj_for([arg list truncated]) called at Mercury/AP/Aruba/AOS/Utility/Cacher.pm line 31
      Mercury::AP::Aruba::AOS::Utility::Cacher::cached_id_for([arg list truncated]) called at Mercury/AP/Aruba/AOS/Profile/Base.pm line 812
      Mercury::AP::Aruba::AOS::Profile::Base::cached_id_for([arg list truncated]) called at Mercury/AP/Aruba/AOS/Profile/Base.pm line 849
      Mercury::AP::Aruba::AOS::Profile::Base::choose_profiles_out_of_dc([arg list truncated]) called at Mercury/AP/Aruba/AOS/Profile/Base.pm line 963
      Mercury::AP::Aruba::AOS::Profile::Base::collapse([arg list truncated]) called at Mercury/AP/Aruba/AOS/Profile/Base.pm line 762
      Mercury::AP::Aruba::AOS::Profile::Base::first_pass_collapse([arg list truncated]) called at Mercury/AP/Aruba/AOS/CSO.pm line 780
      Mercury::AP::Aruba::AOS::CSO::collapse_config([arg list truncated]) called at Mercury/AP/Aruba/AOSMixin.pm line 42
      Mercury::AP::Aruba::AOSMixin::collapse_config([arg list truncated]) called at Mercury/Handler/DeviceConfig.pm line 362
      Mercury::Handler::DeviceConfig::_execute([arg list truncated]) called at Mercury/Handler/View.pm line 369
      Mercury::Handler::View::execute([arg list truncated]) called at Mercury/Handler/View.pm line 75
      Mercury::Handler::View::build_output([arg list truncated]) called at Mercury/Handler/DeviceConfig.pm line 107
      Mercury::Handler::DeviceConfig::build_output([arg list truncated]) called at Mercury/Handler/Dispatcher.pm line 148
      Mercury::Handler::Dispatcher::__ANON__() called at Mercury/DB/Q.pm line 499
      eval {...} called at Mercury/DB/Q.pm line 486
      Mercury::DB::Q::_run_then_do('Mercury::DB::Q', 'CODE(0x7f6cdf7c8df0)', 'CODE(0x7f6cdf76a488)') called at Mercury/DB/Q.pm line 457
      Mercury::DB::Q::run_in_transaction('Mercury::DB::Q', 'CODE(0x7f6cdf7c8df0)') called at Mercury/Handler/Dispatcher.pm line 149
      Mercury::Handler::Dispatcher::call_handler([arg list truncated]) called at Mercury/Handler/Dispatcher.pm line 58
      Mercury::Handler::Dispatcher::handler([arg list truncated]) called at -e line 0
      eval {...} called at -e line 0
    at /usr/local/airwave/lib/perl/Mercury/Utility/Assert.pm line 68
      Mercury::Utility::Assert::assert_quickly('', 'Found too many matches!') called at /usr/local/airwave/lib/perl/Mercury/AP/Aruba/AOS/Utility/Cacher.pm line 126
      Mercury::AP::Aruba::AOS::Utility::Cacher::cached_obj_for('Mercury::AP::Aruba::AOS::Utility::Cacher=HASH(0x7f6cdf762070)', 'Mercury::DB::Certificate', 'filename', 'isklSTARsslcert.pfx', 'name', 'ISKL_cert', 'type', 6) called at /usr/local/airwave/lib/perl/Mercury/AP/Aruba/AOS/Utility/Cacher.pm line 31
      Mercury::AP::Aruba::AOS::Utility::Cacher::cached_id_for('Mercury::AP::Aruba::AOS::Utility::Cacher=HASH(0x7f6cdf762070)', 'Mercury::DB::Certificate', 'name', 'ISKL_cert', 'filename', 'isklSTARsslcert.pfx', 'type', 6) called at /usr/local/airwave/lib/perl/Mercury/AP/Aruba/AOS/Profile/Base.pm line 812
      Mercury::AP::Aruba::AOS::Profile::Base::cached_id_for('Mercury::AP::Aruba::AOS::Profile::WebSSHMgmt=HASH(0x7f6d039f3...', 'Mercury::AP::Aruba::AOS::Profile::ServerCertificate', 'name', 'ISKL_cert') called at /usr/local/airwave/lib/perl/Mercury/AP/Aruba/AOS/Profile/Base.pm line 849
      Mercury::AP::Aruba::AOS::Profile::Base::choose_profiles_out_of_dc('Mercury::AP::Aruba::AOS::Profile::WebSSHMgmt=HASH(0x7f6d039f3...', 'HASH(0x7f6cddf66cc0)', 0, 'Mercury::DB::NewConfig=HASH(0x7f6cdf7f6850)', 'Mercury::AP::Aruba::MMC3400=HASH(0x7f6cdf79d360)') called at /usr/local/airwave/lib/perl/Mercury/AP/Aruba/AOS/Profile/Base.pm line 963
      Mercury::AP::Aruba::AOS::Profile::Base::collapse('Mercury::AP::Aruba::AOS::Profile::WebSSHMgmt=HASH(0x7f6d039f3...', 'Mercury::DB::NewConfig=HASH(0x7f6cdf7f6850)', 'HASH(0x7f6cddf66cc0)', 'Mercury::AP::Aruba::MMC3400=HASH(0x7f6cdf79d360)', 'Mercury::DB::Role=HASH(0x7f6cdf786d30)', 0, 'HASH(0x7f6cddc64710)') called at /usr/local/airwave/lib/perl/Mercury/AP/Aruba/AOS/Profile/Base.pm line 762
      Mercury::AP::Aruba::AOS::Profile::Base::first_pass_collapse('Mercury::AP::Aruba::AOS::Profile::WebSSHMgmt=HASH(0x7f6d039f3...', 'Mercury::DB::NewConfig=HASH(0x7f6cdf7f6850)', 'HASH(0x7f6cddf66cc0)', 'Mercury::AP::Aruba::MMC3400=HASH(0x7f6cdf79d360)', 'Mercury::DB::Role=HASH(0x7f6cdf786d30)', 'HASH(0x7f6cddc64710)') called at /usr/local/airwave/lib/perl/Mercury/AP/Aruba/AOS/CSO.pm line 780
      Mercury::AP::Aruba::AOS::CSO::collapse_config('Mercury::AP::Aruba::AOS::CSO::V6_3_0_0=HASH(0x7f6cdf7f8cd8)', 'Mercury::DB::NewConfig=HASH(0x7f6cdf7f6850)', 'role', 'Mercury::DB::Role=HASH(0x7f6cdf786d30)') called at /usr/local/airwave/lib/perl/Mercury/AP/Aruba/AOSMixin.pm line 42
      Mercury::AP::Aruba::AOSMixin::collapse_config('Mercury::AP::Aruba::MMC3400=HASH(0x7f6cdf79d360)', 'Mercury::DB::NewConfig=HASH(0x7f6cdf7f6850)', 'role', 'Mercury::DB::Role=HASH(0x7f6cdf786d30)') called at /usr/local/airwave/lib/perl/Mercury/Handler/DeviceConfig.pm line 362
      Mercury::Handler::DeviceConfig::_execute('Mercury::Handler::DeviceConfig=HASH(0x7f6cdb5e0778)', 'Mercury::Apache::Request=HASH(0x7f6d0331da70)') called at /usr/local/airwave/lib/perl/Mercury/Handler/View.pm line 369
      Mercury::Handler::View::execute('Mercury::Handler::DeviceConfig=HASH(0x7f6cdb5e0778)', 'Mercury::Apache::Request=HASH(0x7f6d0331da70)') called at /usr/local/airwave/lib/perl/Mercury/Handler/View.pm line 75
      Mercury::Handler::View::build_output('Mercury::Handler::DeviceConfig=HASH(0x7f6cdb5e0778)', 'Mercury::Apache::Request=HASH(0x7f6d0331da70)') called at /usr/local/airwave/lib/perl/Mercury/Handler/DeviceConfig.pm line 107
      Mercury::Handler::DeviceConfig::build_output('



  • 2.  RE: Aruba AirWave Failed to import

    Posted Mar 18, 2014 12:56 PM

    There were some changes made to that portion of code recently, I suggest upgrading to 7.7.9.  If the issue still appears after upgrade, then opening a support case to get the information and details needed to file the appropriate defect would be the next step.



  • 3.  RE: Aruba AirWave Failed to import

    Posted Mar 18, 2014 10:56 PM

    but my other controller can succesfully import. this controller cant...



  • 4.  RE: Aruba AirWave Failed to import

    Posted Mar 18, 2014 11:01 PM

    The error seems to think that there's a duplicate entry that's conflicting - in which case the duplicate entry needs to be deleted.

     

    Are they master-master or master-local/master-standby?  How were the controllers added into AMP?  In the master/local or master/standby scenarios, only the master needs to be added.  The local/standby entries would be auto-discovered via ADP (Aruba Discovery Protocol).



  • 5.  RE: Aruba AirWave Failed to import

    Posted Mar 18, 2014 11:17 PM
    Ooh... Both of the controller is running master - master. Both in the same
    group but I separate it using folders. So do I have to create 2 groups
    instead of 2 folders?


  • 6.  RE: Aruba AirWave Failed to import

    Posted Mar 18, 2014 11:38 PM

    It should be okay to keep 2 master controllers in the same group, but there are some caveats.  If the config differs between the 2 controllers by a significant order, then it's better to separate them (as an AMP group attempts to match off of a single controllers config).  If the configs are very similar except for a few values, then setting up the appropriate overrides on the controller's manage page should clear it up.  My concern though is that the database seems to think there's conflicting devices.  You may want to try to do the following query from the CLI:

     

    # dbc 'select id, name, type, state, lan_mac, apparent_ip from ap order by type, lan_mac'

     

    This is to quickly check to make sure there are no duplicates in the database.



  • 7.  RE: Aruba AirWave Failed to import

    Posted Mar 03, 2015 09:23 AM

    Bump up this post. I having this issue in one of my site as well.

    Does anyone found the solution?

     

    Thanks,



  • 8.  RE: Aruba AirWave Failed to import

    Posted Mar 03, 2015 09:31 AM

    kyeap,

     

    Your best (and the quickest) solution is probably opening a support case.



  • 9.  RE: Aruba AirWave Failed to import

    Posted Mar 03, 2015 09:42 AM

    I did, awating support reply. Meanwhile I try my luck to find some clue for this issue



  • 10.  RE: Aruba AirWave Failed to import

    Posted Mar 03, 2015 09:44 AM
    That is good.

    Let's see if someone can respond.