Closed (fixed)
Project:
Hosting
Version:
6.x-0.4-alpha3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2010 at 17:59 UTC
Updated:
12 Jun 2014 at 08:59 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedI've reproduced this just on one site (no other concurrent tasks running at the time). Disable task completes successfully but the status of the site remains 'Enabled' (1 in hosting_site status column). Thus due to the enabled status, the Delete task is not available.
It seems to have failed to run the post_hosting_disable_task hook in Hosting (no second backup was created, and the status was not changed). I wonder if this is an issue with Drush 3? or $data['context']['backup_file'] was not saved
Comment #2
Anonymous (not verified) commentedIt's also a nice random bug (reminds me of the IPC issue). Since the status didn't change, the Disable task is capable of being run again, and on second run, it worked as expected. Other site disables work first-time too. yuk.
Comment #3
adrian commentedsaw this a couple of times.
with migrate tasks even!
it didn't upgrade the platform afterwards, causing verify to fail.
i *think* what might be happening is that there's a race condition with cron.
Comment #4
adrian commentedI committed this fix, but we can't confirm this is fixed until the new release is out and this doesnt ever happen again.
http://git.aegirproject.org/?p=hostmaster.git;a=blobdiff;f=modules/hosti...
Comment #5
adrian commentedComment #6
adrian commented