[google-appengine] Custom Runtime does not allow Cloud SQL Proxy to start, how do I fix this?

2019-05-08 Thread Lawrence Matacena

I made a more detailed post but it seems to have not posted, at least I 
can't find it.

I'm having the worst time trying to get an app to deploy. I need to add 
some libraries to be able to compile a gem needed for my rails project but 
if I use a custom runtime, using the Dockerfile generated by the ruby 
runtime, access_cloud_sql fails with the following error. What am I 
supposed to do?

ERROR: Failed to start cloud_sql_proxy
> 2019/05/08 01:06:20 current FDs rlimit set to 1048576, wanted limit is 
> 8500. Nothing to do here.


Thanks for your help 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d24e740d-c80c-4b07-9838-bf083a6c9de6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-05-08 Thread Larry Schiefer
Great, thank you!

On Tue, May 7, 2019 at 6:04 PM 'Aref Amiri (Cloud Platform Support)' via
Google App Engine  wrote:

> Hi Larry,
>
> We will look into the issue reported on Issue Tracker
> , and further updates
> communication will be shared on that page.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/5a1613a6-fdc7-4b74-b8b7-05c315308d8f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 

Larry Schiefer
M: 469-263-9388
email: larry.schie...@hiqes.com
http://www.hiqes.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAEOXmp%2BhRy-eAci1n_5kq4pkTTYQdezQ1CY2xmoY_d4YShfpyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Custom Runtime fails to deploy when using generated Dockerfile and using Cloud SQL Proxy

2019-05-08 Thread Lawrence Matacena
This is my first time using App Engine for a client. I have a rails project 
that I've been trying to deploy all day and I can't, for the life of me, 
figure out what I'm doing wrong.

One of the gems requires a freetds installed. I muddled my way around and 
realized that during deployment, a Dockerfile is generated and provided in 
STDOUT that I could use as a "custom runtime". I copied it and created the 
Dockerfile while adding lines to download, compile, and install the latest 
version. Up to this point, everything seems fine things compile and so do 
my gems.

Now. My issue is that it won't progress much further than that. When it 
gets to the access_cloud_sql step, it fails with the following error:

ERROR: Failed to start cloud_sql_proxy
> 2019/05/07 22:44:49 current FDs rlimit set to 1048576, wanted limit is 
> 8500. Nothing to do here.


When I use the "ruby" runtime with the tinytds gem disabled, it succeeds, 
but usually fails in the last step:

Failure status: UNKNOWN: Error Response: [4] DEADLINE_EXCEEDED


When using the custom runtime, ulimit -n returns 1048576 from step 2. I've 
even done

> RUN ulimit -n
> RUN ulimit -n 8500
> RUN ulimit -n


and it returns 1048576. When I do that on a bare metal server, the second 
ulimit returns 8500.

Please advise. I'm losing my mind.

PS I'm not extremely fluent in Docker(files)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/885f7f60-ac76-4f4e-96f2-eea0de9829fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.