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

m.stenta’s picture

Another 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.

m.stenta’s picture

The 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.

m.stenta’s picture

m.stenta’s picture

m.stenta’s picture

Status: Active » Closed (duplicate)

Closing this issue... the real issue is with provision_tasks_extra: #2072663: Race condition between Provision and Provision tasks extra