Closed (fixed)
Project:
Hosting
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2008 at 19:07 UTC
Updated:
2 May 2008 at 22:41 UTC
The cron job seems to stall somewhere. It always stays marked as "in progress" whatever I try.. When I run the main cron job through the `hosting actions` drush, i get:
sh-3.1$ php "/var/hostmaster/webroot/profiles/hostmaster/modules/drush/drush.php" -r /var/hostmaster/webroot -l hostmaster.koumbit.net hosting actions
Array
(
[default] => stdClass Object
(
[filename] => ./profiles/default/default.profile
[basename] => default.profile
[name] => default
)
[hostmaster] => stdClass Object
(
[filename] => ./profiles/hostmaster/hostmaster.profile
[basename] => hostmaster.profile
[name] => hostmaster
)
)
I also get this in the action log:
ueue Action starts processing 2008-04-03 04:16
command Executed: /var/hostmaster/webroot/profiles/hostmaster/modules/drush/drush.php provision verify --root=/var/hostmaster/webroot --uri=hostmaster.koumbit.net -b 2008-04-03 04:16
message Provision configuration path exists. 2008-04-03 04:16
message Provision configuration path is writable. 2008-04-03 04:16
message Changed ownership of /var/hostmaster/config 2008-04-03 04:16
message Changed permissions of /var/hostmaster/config to 700 2008-04-03 04:16
message Provision backup path exists. 2008-04-03 04:16
message Provision backup path is writable. 2008-04-03 04:16
message Changed ownership of /var/hostmaster/backups 2008-04-03 04:16
message Changed permissions of /var/hostmaster/backups to 700 2008-04-03 04:16
message Mysql can create new databases. 2008-04-03 04:16
message Drupal sites directory is writable by the provisioning script 2008-04-03 04:16
message Virtual Host configuration path exists. 2008-04-03 04:16
message Virtual host configuration path is writable. 2008-04-03 04:16
message Virtual Host configuration path exists. 2008-04-03 04:16
message Virtual host configuration path is writable. 2008-04-03 04:16
Running the action manually (executing the command above without the -b) yields similar results...
Basically, it looks like the following status that the verify action yields:
[error_status] => 0
I'll try to attack this now.
Comments
Comment #1
anarcat commentedMore info: it seems like the action status doesn't get updated. First, the code seems to be commented out:
So I'm committing a bit of those in a cleanup commit: http://drupal.org/cvs?commit=108981
I also had to remove debugging in the package code: http://drupal.org/cvs?commit=108980
The damn thing still shows "In progress", though. It looks like actions gets *copied* around the table instead of being edited:
Looking more into this now...
Comment #2
anarcat commentedIn general, the problem here is everywhere, not just with platform verification, but with any action: they don't get marked as "done", ever.
I can't figure out how it's supposed to be done, so I'm giving this away.
Comment #3
anarcat commentedi *think* i have fixed that in todays' commits (particularly http://drupal.org/cvs?commit=111499). I still can't go through the queue, but it's actually because the action still fail for some reason (see http://drupal.org/node/248454).
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.