Giter VIP home page Giter VIP logo

Comments (7)

cf-gitbot avatar cf-gitbot commented on June 10, 2024

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/135681559

The labels on this github issue will be updated when the story is started.

from app-autoscaler.

fraenkel avatar fraenkel commented on June 10, 2024

Does the config.properties in your built server/target/server-1.0.war look correct?
Can you get into the container and see if you can access couchdb? Do you have any security groups blocking the outbound connect?

from app-autoscaler.

jessehu avatar jessehu commented on June 10, 2024

Thanks Michael. config.properties looks good and not modified. I can access the couchdb from the runner vm. There is no security groups settings in my network.

I see that these are iptables rules for the containers on the runner vm and the allowed destination ip range for each containers excludes10.0.0.0/8 and 192.168.0.0/16. my couchdb ip is192.168.101.208. maybe this is the root cause, but i don't know how to modify the defualt allowed networks for new containers.

from app-autoscaler.

fraenkel avatar fraenkel commented on June 10, 2024

You have to fix your default security group rule.

from app-autoscaler.

jessehu avatar jessehu commented on June 10, 2024

Do you mean this doc https://docs.cloudfoundry.org/adminguide/app-sec-groups.html ? Any specific section? Thanks a lot.

from app-autoscaler.

fraenkel avatar fraenkel commented on June 10, 2024

The default security group only allows communication to public networks. You need to add access to private networks. See the example they have in the provided docs you linked above.

from app-autoscaler.

jessehu avatar jessehu commented on June 10, 2024

Thanks @fraenkel a lot. My problem is solved after adding a security group for CouchDB server.

cf create-security-group my-priviate-sg my-priviate-sg.json
cf bind-security-group my-priviate-sg ORG SPACE 

cat my-priviate-sg.json
[
  {
    "protocol": "tcp",
    "destination": "192.168.101.0-192.168.101.255",
    "ports": "5984",
    "description": "internal CouchDB"
  }
]

from app-autoscaler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.