quattor / aii

Automated Installation Infrastructure
www.quattor.org
Apache License 2.0
7 stars 16 forks source link

Another bunch of updates #297

Closed gombasg closed 5 years ago

gombasg commented 6 years ago

Various smaller changes all over the place.

jrha commented 5 years ago

Discovered that 9bf2ec9 is backwards incompatible during initial testing of 18.12 RCs: As no default was ever defined for end_script in the Perl code, updating clients before bootservers causes a ugly exception along the lines of:

Uncaught exception!!! Calling stack is:
  LC::Exception::throw_error called at /usr/lib/perl/EDG/WP4/CCM/CacheManager/Configuration.pm line 499
  EDG::WP4::CCM::CacheManager::Configuration::getElement called at /usr/lib/perl/NCM/Component/ks.pm line 552
  NCM::Component::ks::kscommands called at /usr/lib/perl/NCM/Component/ks.pm line 654
  NCM::Component::ks::install called at /usr/lib/perl/NCM/Component/ks.pm line 1723
  NCM::Component::ks::Configure called at /usr/lib/perl/AII/Shellfe.pm line 528
  (eval) called at /usr/lib/perl/AII/Shellfe.pm line 528
  AII::Shellfe::run_plugin called at /usr/lib/perl/AII/Shellfe.pm line 589
  AII::Shellfe::iter_plugins called at /usr/lib/perl/AII/Shellfe.pm line 954
*** EDG::WP4::CCM::CacheManager::Element->createElement (EDG::WP4::CCM::CacheManager::Configuration=HASH(0x2a57eb0), /system/aii/osinstall/ks/end_script): Failed to read type of /system/aii/osinstall/ks/end_script: failed to resolve element's encoded ID with path /system/aii/osinstall/ks/end_script: cannot resolve element /system/aii/osinstall/ks/end_script
[ERROR] aii-installfe: failed to run on quattor@bootserver.example.org
[ERROR] aii-installfe: failed to run aii-shellfe on any defined servers
Internal Server Error: Command '/usr/sbin/aii-installfe --cfgfile /dev/null --sshdir /usr/bin --logfile /var/quattor/logs/aii-installfe.log --configurelist /tmp/tmpo6Fy5Z --servers quattor@bootserver.example.org' failed with return code '1' and stdout:
[INFO] DHCP will be updated and restarted if needed
[WARN] mkfsopts -l version=2 -i size=1024 -n size=65536 set for mountpoint /This is not supported in ksfsformat and ignored here
[ERROR] Failed to execute plugin module's ks Configure method
[ERROR] Errors running plugin module ks Configure method: Can't call method "getValue" on an undefined value at /usr/lib/perl/NCM/Component/ks.pm line 552.

[INFO] ran configure on 1 nodes
[ERROR] installfe: failed execution of /usr/bin/ssh -q quattor@bootserver.example.org /usr/bin/sudo /usr/sbin/aii-shellfe --file -
Uncaught exception!!! Calling stack is:
  LC::Exception::throw_error called at /usr/lib/perl/EDG/WP4/CCM/CacheManager/Configuration.pm line 499
  EDG::WP4::CCM::CacheManager::Configuration::getElement called at /usr/lib/perl/NCM/Component/ks.pm line 552
  NCM::Component::ks::kscommands called at /usr/lib/perl/NCM/Component/ks.pm line 654
  NCM::Component::ks::install called at /usr/lib/perl/NCM/Component/ks.pm line 1723
  NCM::Component::ks::Configure called at /usr/lib/perl/AII/Shellfe.pm line 528
  (eval) called at /usr/lib/perl/AII/Shellfe.pm line 528
  AII::Shellfe::run_plugin called at /usr/lib/perl/AII/Shellfe.pm line 589
  AII::Shellfe::iter_plugins called at /usr/lib/perl/AII/Shellfe.pm line 954
*** EDG::WP4::CCM::CacheManager::Element->createElement (EDG::WP4::CCM::CacheManager::Configuration=HASH(0x2a57eb0), /system/aii/osinstall/ks/end_script): Failed to read type of /system/aii/osinstall/ks/end_script: failed to resolve element's encoded ID with path /system/aii/osinstall/ks/end_script: cannot resolve element /system/aii/osinstall/ks/end_script

This simply means that all bootservers/AII nodes must be upgraded before clients.