Closed (won't fix)
Project:
Backup & Migrate Rackspace Cloudfiles
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Task
Assigned:
Reporter:
Created:
25 Mar 2013 at 11:04 UTC
Updated:
24 Jun 2013 at 04:11 UTC
Rackspace has migrated their PHP bindings from php-cloudfiles to php-opencloud. We are unable to download the old bindings anymore.
This module needs to be updated to reflect php-opencloud or the php-cloudfiles bindings need to be available otherwise new users will not be able to use this module.
Comments
Comment #1
arpieb commentedSorry about the delayed reply - not sure why I wasn't notified when this was posted. They changed the entire SDK and deprecated the old one without notice? *SIGH*
Looking into flipping it over this week to use the all-new SDK.
Comment #2
arpieb commentedComment #3
lionslair commentedYes. I have a new d6 site gone live (yes it has been in development for a long time) the files directory is around 3.5 gig. did not work via cron so ran it manually via drush. Made the archive and compressed the tar. Then returned and said that it got an unknown response from rackspace cloud files and could not copy to the destination.
I assume this is because of the issue mentioned above. I also noticed the PHP bindings for php-cloudfiles are gone too.
Comment #4
arpieb commentedOK, as a total stopgap while I'm getting the code migrated to the new OpenCloud framework, I have uploaded the last copy of php-cloudfiles that I had to a temporary Bitbucket repo here:
https://bitbucket.org/arpieb/php-cloudfiles
Once I have the migration to the new code completed, I will be deleting that repo.
If you can hold off for the OpenCloud support to be built, I would highly recommend it! This repo has only been added for those who might be dead in the water right now (crapped out backups, trying to restore a site, etc). Otherwise, I would recommend using local or FTP-based backups for the interim.
Comment #5
arpieb commentedOK, this is a bit of a mess if I do say so myself... The new php-opencloud library requires PHP 5.3.0 or newer as it leverages PHP namespace constructs introduced then. Simply updating this module is probably not going to be an option since sites could be running on older versions of PHP, which would cause an update to break their site (yep, you'd get a PHP segfault on those language constructs failing).
It looks like the best plan of action is to:
Thoughts? Rants? Suggestions? Please feel free to chime in...
-R
Comment #6
lionslair commentedYes I agree. This would be a good way to approach it. The strange thing is I can see the backups sometimes working for most of the sites already with containers created on cloud files. However the drupal 6 site that finally went live last week is not generating backups and I think it is because the containers do not already exist.
For site already using it it seems to work I think. However new sites it is not creating containers in order to copy backups too.
I think making the new module backup_migrate_opencloud is a good solution.
Comment #7
lionslair commentedAny progress on this?
Comment #8
arpieb commentedBeen out of the country for two weeks on a boat - so nope. :)
I plan on digging back into it once I get my day job work sussed out this week.
Comment #9
lionslair commentedThanks for the reply.
Comment #10
arpieb commentedOK, actively working on this one. I've already spun up the new module space on d.o at Backup & Migrate OpenCloud and have started digging into the OpenCloud API. According to the legacy library README, the old API will go dead on Aug 1, 2013, so my plans are to get something completed by July 1, 2013, so we have a month to test it and move to the new module.
The only kicker is going to be that any D6 sites running on PHP older than 5.3 are not going to be supported, so they need to be looking for an alternate solution.
Updating this project's page accordingly...
Comment #11
lionslair commentedThanks for the update. Let me know if you need help testing it.
Comment #12
arpieb commentedOK, got the new module stubbed out, and have the site talking to a Rackspace Cloudfiles server via the new OpenCloud API. Trying to resolve some config errors (there are a few more settings due to the nature of the new API) but so far it looks promising.
I'm trying to keep the module Drupal-core agnostic so I can backport it to D6 with as little pain and suffering as possible. :)
I'm shooting to release 7.x-1.0-alpha1 early next week, with a D6 backport following quickly.
Comment #13
arpieb commentedNew module is up, 7.x-1.0-alpha1 release is available at Backup & Migrate OpenCloud. Closing this issue. Please address any concerns regarding this topic in the new module's issue queue going forward.
Thanks!