pantheon-deprecated / terminus-deprecated

Deprecated CLI for Pantheon. Do not install. Current project:
https://github.com/pantheon-systems/cli
82 stars 24 forks source link

environment-create never finishes 'Cloning database from live........' #119

Closed mrfelton closed 10 years ago

mrfelton commented 10 years ago

With the latest terminus, environment-create never finishes the 'Cloning database from live....' according to the command line output. Logging into the dashboard shows that the command was in fact completed, but the command line output just continues to print a new period every few seconds to eternity.

mrfelton commented 10 years ago

Also, for larger sites (larger files, larger database) it never seems to get passed "Creating the selenium environment..." and the database never actually gets created.

Reverting to 1c00d2bfe6cf82f03a4ebc6cd9e3ddb5b01e5d35 ensures that the database is at least is provisioned properly, although the command line output is incorrect and still hangs to eternity, and the files never get properly synced instead!

fluxsauce commented 10 years ago

Thanks for the report.

The actual API calls to clone the database and files haven't changed, the only logical difference is how and which jobs are checked.

Does this behavior exist on https://github.com/pantheon-systems/terminus/commit/3a559446edea5e9026912b243ab6ddffee30fa28 ? Can you tell me the site UUID and is it okay if I attempt to replicate? What's the command that you're using?

mrfelton commented 10 years ago

Yes https://github.com/pantheon-systems/terminus/commit/3a559446edea5e9026912b243ab6ddffee30fa28 was where I was having the issues. The command I was using was:

drush pantheon-site-environment-create $SITE_UUID test-$BUILD_NUMBER --source=live

Please feel free to try and replicate with this environment

mrfelton commented 10 years ago

$SITE_UUID = bb754178-4674-c83c-003d-046b8379e117

fluxsauce commented 10 years ago

This is looking specific to that site. I was able to replicate it on that site, but when I tried the same operation on a different production site, no issues.

The API call return value indicates success, but there's no record of the job.

Can you submit a regular support request for the site in question? I can escalate to engineering that way.

fluxsauce commented 10 years ago

Fixed, thanks for your patience and understanding!