Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Foundry running in Bosh Lite on AWS intermittently returns 502 when making requests to hosted apps #23

Closed
stupakov opened this issue Jan 27, 2017 · 6 comments

Comments

@stupakov
Copy link

stupakov commented Jan 27, 2017

The Apps Manager team has a bosh-lite running on AWS (http://apps.bosh-lite.appsman.cf-app.com/) that has an intermittent problem: hitting app URLs sometimes returns a 502.

The CAPI team has seen the same problem on their bosh-lite environment (which has been deleted).

@michaelxupiv from CAPI said:

we suspected it was a garden container issue because we tracked the traffic reaching the Diego VM, but somehow that packet was lost when trying to reach the container. It's interesting that we don't see this issue on local bosh-lite.

Here are the logs they captured on their environment before it was torn down.
502app-logs.txt

If you wish to investigate this issue, the Apps Manager team can provide credentials to the bosh lite environment.

This is the runtime that we have deployed there:

+-----------------+------------------------------------------------+-----------------------------------------------------+--------------+
| Name            | Release(s)                                     | Stemcell(s)                                         | Cloud Config |
+-----------------+------------------------------------------------+-----------------------------------------------------+--------------+
| cf-warden       | cf/250                                         | bosh-warden-boshlite-ubuntu-trusty-go_agent/3312.15 | none         |
+-----------------+------------------------------------------------+-----------------------------------------------------+--------------+
| cf-warden-diego | cf/250                                         | bosh-warden-boshlite-ubuntu-trusty-go_agent/3312.15 | none         |
|                 | cflinuxfs2-rootfs/1.45.0                       |                                                     |              |
|                 | diego/1.5.3                                    |                                                     |              |
|                 | garden-runc/1.1.1                              |                                                     |              |
@garden-gnome
Copy link

garden-gnome commented Jan 27, 2017

Hi there!

We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.

The current status is as follows:

  • #138522729 Cloud Foundry running in Bosh Lite on AWS intermittently returns 502 when making requests to hosted apps

This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

@julz
Copy link
Contributor

julz commented Jan 30, 2017

Hi @stupakov - bosh-lite still uses garden-linux which is end-of-lifed, so it's a little hard for us to support. I believe you should be able to create a bosh-lite based on garden-runc using the manifest here, I'd be super super interested in knowing if the same behaviour happens with this.

@williammartin
Copy link

@julz I recall @stupakov saying when they ran this using local bosh-lite vagrant box it did not occur, only on AWS

@stupakov
Copy link
Author

@williammartin - I was talking to @utako and @ljfranklin on Friday and they mentioned that they just observed the problem on local bosh-lite in Vagrant as well.

@julz - sounds like if bosh-lite is to continue being supported, the default configuration it ships with should be updated to use garden-runc as in your link. I'll see what the bosh folks think about this.

@geofffranks
Copy link
Contributor

I ran into a similar problem documented in cloudfoundry/guardian#68 when running on Azure and vSphere. This was using garden-linux on bosh-lite. When using garden-runc at the bosh-lite level, the problem did not occur (with the same CF + bosh-lite manifests). In all cases, diego was using garden-runc

barthy1 pushed a commit to barthy1/garden-runc-release that referenced this issue Mar 9, 2017
[finishes #135205219]

Submodule src/github.com/tchap/go-patricia 42daf53..666120d:
  > Improve remove() in the sparse mode
  > Fix remove() in the sparse children mode
  > Merge pull request cloudfoundry#25 from aristanetworks/master
  > Fix Delete memory leak and other bugs found
  > Merge pull request cloudfoundry#23 from dmitris/issue20
  > Merge pull request cloudfoundry#22 from dmitris/showmemory
  > Fix a panic when deleting

Signed-off-by: Georgi Sabev <georgethebeatle@gmail.com>
@julz
Copy link
Contributor

julz commented Jul 17, 2017

Closing since this is really an issue for bosh-lite, we no longer support garden-linux.

@julz julz closed this as completed Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants