Closed MatthewHager closed 9 years ago
So apparently every command against @v will throw this error. Not sure what his going on but @v is essentially now out of order :(
I've confirmed that if you get a proper box setup and then build a site and then do a vsr
on it, you'll get the mentioned error and it will pretty much nuke your box for good.
==> valkyrie: TASK: [getvalkyrie.valkyrie | Disable cron-based task queue.] ***** ==> valkyrie: failed: [localhost] => {"changed": true, "cmd": ["drush", "@hm", "vset", "--format=boolean", "hosting_queue_tasks_enabled", "0"], "delta": "0:00:01.845933", "end": "2015-03-11 22:12:31.835691", "rc": 255, "start": "2015-03-11 22:12:29.989758", "warnings": []} ==> valkyrie: stderr: PHP Fatal error: Class 'Provision_Context_Valkyrie' not found in /var/aegir/.drush/provision/provision.context.inc on line 127 ==> valkyrie: Drush command terminated abnormally due to an unrecoverable error. [error] ==> valkyrie: Error: Class 'Provision_Context_Valkyrie' not found in ==> valkyrie: /var/aegir/.drush/provision/provision.context.inc, line 127 ==> valkyrie: stdout: ==> valkyrie: Fatal error: Class 'Provision_Context_Valkyrie' not found in /var/aegir/.drush/provision/provision.context.inc on line 127 ==> valkyrie: ==> valkyrie: FATAL: all hosts have already failed -- aborting
I get exactly the same error each time I try to launch a vm that was previously vagrant halt
ed. I found no solution to recover so far.
For an explanation of what i believe to be the underlying issue see: https://github.com/GetValkyrie/valkyrie/issues/16#issuecomment-78502029
So, the @hostmaster
and @hm
aliases are being corrupted. Some stop-gap workarounds would be to:
context_type
will need to be set to site
, and the platform path, site uri, etc. will have to point to the Aegir site. Copying a fresh hostmaster alias is probably the easiest way to achieve this, and just copy it back in place whenever this gets screwed up.I'll be focused on resolving this issue today, and should have a solution by EOD.
Closing in favour of #33