Closed Bug 951951 Opened 11 years ago Closed 11 years ago

Stackato start sometimes never returns

Categories

(Infrastructure & Operations :: IT-Managed Tools, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: andy+bugzilla, Unassigned)

Details

I'm trying to script creating an instance on stackato and sometimes start just never returns. One that works: Starting: zippy-cd64965e-7caf-4aff-b855-bf83c115d78f Command: stackato start zippy-cd64965e-7caf-4aff-b855-bf83c115d78f --no-prompt --no-tail Staging Application [zippy-cd64965e-7caf-4aff-b855-bf83c115d78f] ... OK Starting Application [zippy-cd64965e-7caf-4aff-b855-bf83c115d78f] ... ...OK Completed in: 49.2855679989 One that hangs Starting: zippy-ec2118e3-85e3-47a0-b0c2-4a6d8d958040 Command: stackato start zippy-ec2118e3-85e3-47a0-b0c2-4a6d8d958040 --no-prompt --no-tail ... never returns. I've tried every combination of start options to no avail. I can't find a rhyme nor reason to the hanging. Sometimes it works, sometimes it fails. I can't find any other lib or way of starting stackato, but the client seems buggy. Is there another way I can do this? Each time I can go to the web based management console and it shows that the app has started correctly.
That's using a python script. Here it is from a shell: [master] zippy $ stackato push zippy-32a89ed6-8d38-427e-82f4-978dd95f324e --url https://zippy-32a89ed6-8d38-427e-82f4-978dd95f324e.paas.allizom.org --no-prompt --no-start Pushing application 'zippy-32a89ed6-8d38-427e-82f4-978dd95f324e'... Framework: node Runtime: <framework-specific default> Application Url: https://zippy-32a89ed6-8d38-427e-82f4-978dd95f324e.paas.allizom.org Creating Application [zippy-32a89ed6-8d38-427e-82f4-978dd95f324e] ... OK Uploading Application [zippy-32a89ed6-8d38-427e-82f4-978dd95f324e] ... Checking for bad links: 9816 OK Copying to temp space: 9813 OK Checking for available resources: OK Processing resources: OK Packing application: OK Uploading (456K): 100% OK Push Status: OK [master] zippy $ stackato start zippy-32a89ed6-8d38-427e-82f4-978dd95f324e --no-prompt --no-tail Staging Application [zippy-32a89ed6-8d38-427e-82f4-978dd95f324e] ... OK Starting Application [zippy-32a89ed6-8d38-427e-82f4-978dd95f324e] ... OK [master] zippy $ stackato stop zippy-32a89ed6-8d38-427e-82f4-978dd95f324e Stopping Application [zippy-32a89ed6-8d38-427e-82f4-978dd95f324e] ... OK [master] zippy $ stackato delete zippy-32a89ed6-8d38-427e-82f4-978dd95f324e Deleting application [zippy-32a89ed6-8d38-427e-82f4-978dd95f324e] ... OK [master] zippy $ stackato push zippy-32a89ed6-8d38-427e-82f4-978dd95f324e --url https://zippy-32a89ed6-8d38-427e-82f4-978dd95f324e.paas.allizom.org --no-prompt --no-start Pushing application 'zippy-32a89ed6-8d38-427e-82f4-978dd95f324e'... Framework: node Runtime: <framework-specific default> Application Url: https://zippy-32a89ed6-8d38-427e-82f4-978dd95f324e.paas.allizom.org Creating Application [zippy-32a89ed6-8d38-427e-82f4-978dd95f324e] ... OK Uploading Application [zippy-32a89ed6-8d38-427e-82f4-978dd95f324e] ... Checking for bad links: 9816 OK Copying to temp space: 9813 OK Checking for available resources: OK Processing resources: OK Packing application: OK Uploading (456K): 100% OK Push Status: OK [master] zippy $ stackato start zippy-32a89ed6-8d38-427e-82f4-978dd95f324e --no-prompt --no-tail Staging Application [zippy-32a89ed6-8d38-427e-82f4-978dd95f324e] ... ... and it hangs.
I'm still not sure why it was intermittent, but after some wrangling I managed to get this working consistently. Most likely it was my error with the service I was pushing. Well it works just great today anyway.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.