Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm not really sure why this is, but Aegir::extras does not work if you install Aegir via the aegir::dev class. I was using the normal 'aegir' class before, and it worked fine, but when I switched to using 'aegir::dev', I started getting the following errors...
Puppet error:
notice: /Stage[main]/Aegir::Extras/Drush::Dl[registry_rebuild]/Drush::Run[drush-dl:registry_rebuild]/Exec[drush-run:drush-dl:registry_rebuild]/returns: executed successfully
notice: /Stage[main]/Aegir::Extras/Drush::Dl[provision_tasks_extra]/Drush::Run[drush-dl:provision_tasks_extra]/Exec[drush-run:drush-dl:provision_tasks_extra]/returns: executed successfully
err: /Stage[main]/Aegir::Extras/Drush::Dl[hosting_tasks_extra]/Drush::Run[drush-dl:hosting_tasks_extra]/Exec[drush-run:drush-dl:hosting_tasks_extra]/returns: change from notrun to 0 failed: drush @hostmaster --yes pm-download hosting_tasks_extra >> /var/aegir/drush.log 2>&1 returned 255 instead of one of [0] at /tmp/vagrant-puppet/modules-0/drush/manifests/run.pp:31
err: /Stage[main]/Aegir::Extras/Drush::En[hosting_tasks_extra]/Drush::Run[drush-en:hosting_tasks_extra]/Exec[drush-run:drush-en:hosting_tasks_extra]/returns: change from notrun to 0 failed: drush @hostmaster --yes pm-enable hosting_tasks_extra >> /var/aegir/drush.log 2>&1 returned 255 instead of one of [0] at /tmp/vagrant-puppet/modules-0/drush/manifests/run.pp:31
/var/aegir/drush.log:
No release history available for registry_rebuild 6.x. [warning]
Project provision_tasks_extra (6.x-2.0-alpha2) downloaded to [success]
/var/aegir/.drush/provision_tasks_extra.
Project provision_tasks_extra contains 0 modules: .
PHP Fatal error: Class 'Provision_Service' not found in /var/aegir/.drush/provision_tasks_extra/http_basic_auth/http_basic_auth.drush.inc on line 27
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Class 'Provision_Service' not found in
/var/aegir/.drush/provision_tasks_extra/http_basic_auth/http_basic_auth.drush.inc,
line 27
PHP Fatal error: Class 'Provision_Service' not found in /var/aegir/.drush/provision_tasks_extra/http_basic_auth/http_basic_auth.drush.inc on line 27
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Class 'Provision_Service' not found in
/var/aegir/.drush/provision_tasks_extra/http_basic_auth/http_basic_auth.drush.inc,
line 27
I'm not sure what's different here... the class Provision_Service does exist... but it's not getting picked up for some reason.
Comments
Comment #1
m.stentaAnother issue related to this, you can see in drush.log: registry_rebuild is not being downloaded because:
"No release history available for registry_rebuild 6.x."
This doesn't affect the Puppet manifest though, presumably because it's just a warning.
Comment #2
m.stentaThe registry_rebuild can be fixed by adding the following parameter:
site_alias => '@none',
This serves to ignore the major Drupal version of the @hostmaster site, which was causing Drush to look for a 6.x version of registry_rebuild.
Comment #3
m.stentaFound this related issue: #2072663: Race condition between Provision and Provision tasks extra
Comment #4
m.stentaStarted a branch to work on it here: https://github.com/mstenta/puppet-aegir/tree/dev/2078019
Comment #5
m.stentaClosing this issue... the real issue is with provision_tasks_extra: #2072663: Race condition between Provision and Provision tasks extra