Quantcast

Deploying to cloud-foundry is still a miserable experience.

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Deploying to cloud-foundry is still a miserable experience.

antony
Hi Guys,

I've asked about this before, and have had some information relating
to timeouts, but the root cause is still a mystery to me, and it's a
terrible user experience, so I think it might deserve some sort of
investigation or escalation. I'm pretty patient, but I feel that
anybody else might drop cloud foundry immediately and look elsewhere,
and that's not what I want, because it's an otherwise great
service/integration.
When I use the grails cf-update command from the cloud-foundry plugin,
it virtually never succeeds first time, and in fact fails with simply
'Error: null'. I usually have to re-run it up to 15 times, which can
take maybe half an hour of manual work. I'm trying to prepare my
environment for a client meeting and I'm getting hugely frustrated.

My environment is Ubuntu 11.10, Grails 2.0.4, Cloud-foundry 1.2.2 and
cloud-support 1.0.11

Tonight, this has been my last 1.5 hours:

ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342811029078.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342811110194.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342811220629.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342811961870.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342812047321.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342812589878.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files....
| Compiling 2 source files....
| Done creating WAR target/cf-temp-1342812972916.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342813047533.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342819416649.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342819559469.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342819940018.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342820682847.war

Updating Application:
  Checking for available resources:


...

Any ideas what I can do to resolve this situation?

--
________________________________
ꜽ . antony jones . http://www.enzy.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying to cloud-foundry is still a miserable experience.

alxndrsn
No experience with CF, but you could write a shell script to re-run
the command until it succeeds, or simply `grails prod cf-update ||
grails prod cf-update || etc.`

On 21 July 2012 00:55, Antony Jones <[hidden email]> wrote:

> Hi Guys,
>
> I've asked about this before, and have had some information relating
> to timeouts, but the root cause is still a mystery to me, and it's a
> terrible user experience, so I think it might deserve some sort of
> investigation or escalation. I'm pretty patient, but I feel that
> anybody else might drop cloud foundry immediately and look elsewhere,
> and that's not what I want, because it's an otherwise great
> service/integration.
> When I use the grails cf-update command from the cloud-foundry plugin,
> it virtually never succeeds first time, and in fact fails with simply
> 'Error: null'. I usually have to re-run it up to 15 times, which can
> take maybe half an hour of manual work. I'm trying to prepare my
> environment for a client meeting and I'm getting hugely frustrated.
>
> My environment is Ubuntu 11.10, Grails 2.0.4, Cloud-foundry 1.2.2 and
> cloud-support 1.0.11
>
> Tonight, this has been my last 1.5 hours:
>
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files.
> Building war file
> | Done creating WAR target/cf-temp-1342811029078.war
>
> Updating Application:
>   Checking for available resources:
>
> Error: null
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files.
> Building war file
> | Done creating WAR target/cf-temp-1342811110194.war
>
> Updating Application:
>   Checking for available resources:
>
> Error: null
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files.
> Building war file
> | Done creating WAR target/cf-temp-1342811220629.war
>
> Updating Application:
>   Checking for available resources:
>
> Error: null
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files.
> Building war file
> | Done creating WAR target/cf-temp-1342811961870.war
>
> Updating Application:
>   Checking for available resources:
>
> Error: null
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files.
> Building war file
> | Done creating WAR target/cf-temp-1342812047321.war
>
> Updating Application:
>   Checking for available resources:
>
> Error: null
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files.
> Building war file
> | Done creating WAR target/cf-temp-1342812589878.war
>
> Updating Application:
>   Checking for available resources:
>
> Error: null
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files....
> | Compiling 2 source files....
> | Done creating WAR target/cf-temp-1342812972916.war
>
> Updating Application:
>   Checking for available resources:
>
> Error: null
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files.
> Building war file
> | Done creating WAR target/cf-temp-1342813047533.war
>
> Updating Application:
>   Checking for available resources:
>
> Error: null
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files.
> Building war file
> | Done creating WAR target/cf-temp-1342819416649.war
>
> Updating Application:
>   Checking for available resources:
>
> Error: null
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files.
> Building war file
> | Done creating WAR target/cf-temp-1342819559469.war
>
> Updating Application:
>   Checking for available resources:
>
> Error: null
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files.
> Building war file
> | Done creating WAR target/cf-temp-1342819940018.war
>
> Updating Application:
>   Checking for available resources:
>
> Error: null
> ant@bronx:~/Projects/my-application$ grails prod cf-update
> | Compiling 2 source files.
> Building war file
> | Done creating WAR target/cf-temp-1342820682847.war
>
> Updating Application:
>   Checking for available resources:
>
>
> ...
>
> Any ideas what I can do to resolve this situation?
>
> --
> ________________________________
> ꜽ . antony jones . http://www.enzy.org
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying to cloud-foundry is still a miserable experience.

Antony Jones
Yeah I've done that, but that doesn't address the root cause. I'm not
the only one who has this problem, and it's a real deal-breaker for
most of those people.

Cheers for the help though,
Antony

On 21 July 2012 13:09, Alex Anderson
<[hidden email]> wrote:

> No experience with CF, but you could write a shell script to re-run
> the command until it succeeds, or simply `grails prod cf-update ||
> grails prod cf-update || etc.`
>
> On 21 July 2012 00:55, Antony Jones <[hidden email]> wrote:
>> Hi Guys,
>>
>> I've asked about this before, and have had some information relating
>> to timeouts, but the root cause is still a mystery to me, and it's a
>> terrible user experience, so I think it might deserve some sort of
>> investigation or escalation. I'm pretty patient, but I feel that
>> anybody else might drop cloud foundry immediately and look elsewhere,
>> and that's not what I want, because it's an otherwise great
>> service/integration.
>> When I use the grails cf-update command from the cloud-foundry plugin,
>> it virtually never succeeds first time, and in fact fails with simply
>> 'Error: null'. I usually have to re-run it up to 15 times, which can
>> take maybe half an hour of manual work. I'm trying to prepare my
>> environment for a client meeting and I'm getting hugely frustrated.
>>
>> My environment is Ubuntu 11.10, Grails 2.0.4, Cloud-foundry 1.2.2 and
>> cloud-support 1.0.11
>>
>> Tonight, this has been my last 1.5 hours:
>>
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342811029078.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342811110194.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342811220629.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342811961870.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342812047321.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342812589878.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files....
>> | Compiling 2 source files....
>> | Done creating WAR target/cf-temp-1342812972916.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342813047533.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342819416649.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342819559469.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342819940018.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342820682847.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>>
>> ...
>>
>> Any ideas what I can do to resolve this situation?
>>
>> --
>> ________________________________
>> ꜽ . antony jones . http://www.enzy.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>



--
________________________________
ꜽ . antony jones . http://www.enzy.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying to cloud-foundry is still a miserable experience.

William Gu
In reply to this post by antony
Hey antony, I agree re-running does not help too much for finding the root cause. Try printing the error stack trace out for more info and get back here (or just go to the cf support page, http://support.cloudfoundry.com/, to submit the issue). To do that, add this line to your-app/conf/Config.groovy:

grails.plugin.cloudfoundry.showStackTrace=true

It would be a good idea to come with more details of your app if you still get troubled. These commands would be always useful:

grails cf-services
grails cf-info
grails cf-apps
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying to cloud-foundry is still a miserable experience.

burtbeckwith
In reply to this post by antony
I've seen this previously but can't get it to fail now. Could you add some logging config and post (or email me directly) the output:

   trace 'grails.plugin.cloudfoundry'
   trace 'grails.plugin.cloudsupport'

This will be fairly verbose since it will log all of the JSON responses.

Burt

antony wrote
Hi Guys,

I've asked about this before, and have had some information relating
to timeouts, but the root cause is still a mystery to me, and it's a
terrible user experience, so I think it might deserve some sort of
investigation or escalation. I'm pretty patient, but I feel that
anybody else might drop cloud foundry immediately and look elsewhere,
and that's not what I want, because it's an otherwise great
service/integration.
When I use the grails cf-update command from the cloud-foundry plugin,
it virtually never succeeds first time, and in fact fails with simply
'Error: null'. I usually have to re-run it up to 15 times, which can
take maybe half an hour of manual work. I'm trying to prepare my
environment for a client meeting and I'm getting hugely frustrated.

My environment is Ubuntu 11.10, Grails 2.0.4, Cloud-foundry 1.2.2 and
cloud-support 1.0.11

Tonight, this has been my last 1.5 hours:

ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342811029078.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342811110194.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342811220629.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342811961870.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342812047321.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342812589878.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files....
| Compiling 2 source files....
| Done creating WAR target/cf-temp-1342812972916.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342813047533.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342819416649.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342819559469.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342819940018.war

Updating Application:
  Checking for available resources:

Error: null
ant@bronx:~/Projects/my-application$ grails prod cf-update
| Compiling 2 source files.
Building war file
| Done creating WAR target/cf-temp-1342820682847.war

Updating Application:
  Checking for available resources:


...

Any ideas what I can do to resolve this situation?

--
________________________________
ꜽ . antony jones . http://www.enzy.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying to cloud-foundry is still a miserable experience.

Antony Jones
Hi Burt,

Will do this for you asap.

Cheers,
Antony

On 27 July 2012 02:10, burtbeckwith <[hidden email]> wrote:

> I've seen this previously but can't get it to fail now. Could you add some
> logging config and post (or email me directly) the output:
>
>    trace 'grails.plugin.cloudfoundry'
>    trace 'grails.plugin.cloudsupport'
>
> This will be fairly verbose since it will log all of the JSON responses.
>
> Burt
>
>
> antony wrote
>>
>> Hi Guys,
>>
>> I've asked about this before, and have had some information relating
>> to timeouts, but the root cause is still a mystery to me, and it's a
>> terrible user experience, so I think it might deserve some sort of
>> investigation or escalation. I'm pretty patient, but I feel that
>> anybody else might drop cloud foundry immediately and look elsewhere,
>> and that's not what I want, because it's an otherwise great
>> service/integration.
>> When I use the grails cf-update command from the cloud-foundry plugin,
>> it virtually never succeeds first time, and in fact fails with simply
>> 'Error: null'. I usually have to re-run it up to 15 times, which can
>> take maybe half an hour of manual work. I'm trying to prepare my
>> environment for a client meeting and I'm getting hugely frustrated.
>>
>> My environment is Ubuntu 11.10, Grails 2.0.4, Cloud-foundry 1.2.2 and
>> cloud-support 1.0.11
>>
>> Tonight, this has been my last 1.5 hours:
>>
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342811029078.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342811110194.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342811220629.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342811961870.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342812047321.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342812589878.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files....
>> | Compiling 2 source files....
>> | Done creating WAR target/cf-temp-1342812972916.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342813047533.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342819416649.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342819559469.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342819940018.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>> Error: null
>> ant@bronx:~/Projects/my-application$ grails prod cf-update
>> | Compiling 2 source files.
>> Building war file
>> | Done creating WAR target/cf-temp-1342820682847.war
>>
>> Updating Application:
>>   Checking for available resources:
>>
>>
>> ...
>>
>> Any ideas what I can do to resolve this situation?
>>
>> --
>> ________________________________
>> ꜽ . antony jones . http://www.enzy.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>
>
>
>
> --
> View this message in context: http://grails.1312388.n4.nabble.com/Deploying-to-cloud-foundry-is-still-a-miserable-experience-tp4631977p4632321.html
> Sent from the Grails - user mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>



--
________________________________
ꜽ . antony jones . http://www.enzy.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying to cloud-foundry is still a miserable experience.

Antony Jones
In reply to this post by burtbeckwith
Hi Burt, List,

As requested. It's not as verbose as perhaps you might have liked.
I've replaced sensitive information.

ant@bronx:~/Projects/snip$ grails -Dgrails.env=cloudfoundry cf-update
| Compiling 3 source files.
2012-08-01 17:40:58,000 [main] TRACE cloudfoundry.ClientWrapper  -
Invoking client method login with args []
2012-08-01 17:40:59,186 [main] DEBUG cloudfoundry.ClientWrapper  -
Last Request: {"token":"bearer
eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjEzNDQxOTkwODMsInVzZXJfbmFtZSI6ImFkam9uZXMrY2xsnipWlsLmNvbSIsInNjb3BlIjpbInJlYWQiXSwiZW1haWwiOiJhZGpvbmVzK2Nsb3VkZm91bmRyeUBnbWFpbC5jb20iLCJjbGllbnRfYXV0aG9yaXRpZXMiOlsiUk9MRV9VTlRSVVNURUQiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXJfbmciLCJjbG91ZF9jb250cm9sbGVyIiwicGFzc3dvcmQiXSwidXNlcl9hdXRob3JpdGllcyI6WyJST0xFX1VTRVIiXSwidXNlcl9pZCI6IjFiZGVlZTJjLTYwYTMsnipmZjk2MDhlZTg3MiIsImNsaWVudF9pZCI6InZtYyJ9.qITdjMjJFAJVpPSY23lMAorzbsYYHV0WYOM6HWqpprc"}
2012-08-01 17:40:59,187 [main] DEBUG cloudfoundry.Scripts  - Login
token bearer eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjEzNDQxOTkwODMsInVzZXJfbmFtZSI6ImFkam9uZXMrY2xvdWRmb3VuZHJ5QGdtYWlsLmNvbSIsInNjb3BlIjpbInJlYWQiXSwiZW1haWwiOiJhZGpvbmVzK2Nsb3VkZm91bmRyeUBnbWFpbCsnip0aG9yaXRpZXMiOlsiUk9MRV9VTlRSVVNURUQiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXJfbmciLCJjbG91ZF9jb250cm9sbGVyIiwicGFzc3dvcmQiXSwidXNlcl9hdXRob3JpdGllcyI6WyJST0xFX1VTRVIiXSwidXNlcl9pZCI6IjFiZGVlZTJjLTYwYTMtNDhiMsnipNsaWVudF9pZCI6InZtYyJ9.qITdjMjJFAJVpPSY23lMAorzbsYYHV0WYOM6HWqpprc
2012-08-01 17:40:59,187 [main] TRACE cloudfoundry.ClientWrapper  -
Invoking client method getApplication with args [snip]
2012-08-01 17:40:59,443 [main] DEBUG cloudfoundry.ClientWrapper  -
Last Request: {"name":"snip","staging":{"model":"grails","stack":"java"},"uris":["snip.cloudfoundry.com"],"instances":1,"runningInstances":1,"resources":{"memory":1024,"disk":2048,"fds":256},"state":"STARTED","services":["mysql-5ea1951"],"version":"5e3a0edb94078f83c62eddc75223601861dc994f-1","env":[],"meta":{"debug":null,"console":null,"version":45,"created":1343839259}}
Building war file
| Done creating WAR target/cf-temp-1343839259445.war

Updating Application:
  Checking for available resources:
2012-08-01 17:41:13,294 [main] TRACE cloudfoundry.ClientWrapper  -
Invoking client method uploadApplication with args [snip,
/home/ant/Projects/snip/target/cf-temp-1343839259445.war,
CfUpdate$1@304ed448]

Error: null


On 27 July 2012 02:10, burtbeckwith <[hidden email]> wrote:
>    trace 'grails.plugin.cloudfoundry'
>    trace 'grails.plugin.cloudsupport'



--
________________________________
ꜽ . antony jones . http://www.enzy.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying to cloud-foundry is still a miserable experience.

pledbrook
> Updating Application:
>   Checking for available resources:
> 2012-08-01 17:41:13,294 [main] TRACE cloudfoundry.ClientWrapper  -
> Invoking client method uploadApplication with args [snip,
> /home/ant/Projects/snip/target/cf-temp-1343839259445.war,
> CfUpdate$1@304ed448]
>
> Error: null

Please retry with version 1.2.3 of the plugin. I submitted a patch
that should result in a more meaningful exception. I discovered that
basically these errors were caused by socket exceptions.

I also recommend having vmc installed as a backup while we try to work
out what the best solution to the socket exceptions is.

Cheers,

Peter

--
Peter Ledbrook
Grails Advocate
SpringSource - A Division of VMware

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying to cloud-foundry is still a miserable experience.

Antony Jones
Cheers Peter,

I'll upgrade ASAP

On 2 August 2012 09:01, Peter Ledbrook <[hidden email]> wrote:

>> Updating Application:
>>   Checking for available resources:
>> 2012-08-01 17:41:13,294 [main] TRACE cloudfoundry.ClientWrapper  -
>> Invoking client method uploadApplication with args [snip,
>> /home/ant/Projects/snip/target/cf-temp-1343839259445.war,
>> CfUpdate$1@304ed448]
>>
>> Error: null
>
> Please retry with version 1.2.3 of the plugin. I submitted a patch
> that should result in a more meaningful exception. I discovered that
> basically these errors were caused by socket exceptions.
>
> I also recommend having vmc installed as a backup while we try to work
> out what the best solution to the socket exceptions is.
>
> Cheers,
>
> Peter
>
> --
> Peter Ledbrook
> Grails Advocate
> SpringSource - A Division of VMware
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>



--
________________________________
ꜽ . antony jones . http://www.enzy.org

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Deploying to cloud-foundry is still a miserable experience.

burtbeckwith
Also add

   grails.plugin.cloudfoundry.showStackTrace = true

to Config.groovy to make sure it prints all exception stacktraces.

Burt

Antony Jones wrote
Cheers Peter,

I'll upgrade ASAP

On 2 August 2012 09:01, Peter Ledbrook <[hidden email]> wrote:
>> Updating Application:
>>   Checking for available resources:
>> 2012-08-01 17:41:13,294 [main] TRACE cloudfoundry.ClientWrapper  -
>> Invoking client method uploadApplication with args [snip,
>> /home/ant/Projects/snip/target/cf-temp-1343839259445.war,
>> CfUpdate$1@304ed448]
>>
>> Error: null
>
> Please retry with version 1.2.3 of the plugin. I submitted a patch
> that should result in a more meaningful exception. I discovered that
> basically these errors were caused by socket exceptions.
>
> I also recommend having vmc installed as a backup while we try to work
> out what the best solution to the socket exceptions is.
>
> Cheers,
>
> Peter
>
> --
> Peter Ledbrook
> Grails Advocate
> SpringSource - A Division of VMware
Loading...