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

An unknown error occurred (10001) and Instances information unavailable: getaddrinfo: Name or service not known (220002) #74

Closed
pawel-grape opened this issue Aug 31, 2015 · 3 comments

Comments

@pawel-grape
Copy link

Hello,
I have problem with Diego (tested on versions: 0.1398.0, 0.1400.0, 0.1425.0, stemcell: 3026, 3056, CF: v214, v215).
After deploying Diego on AWS with installed CF, I push application cf-env into CF environment. Application is running, everything works OK - anyway lets start Diego part.
Command: cf enable-diego cf-env, occurs error:

FAILED
Error:  UnknownError - An unknown error occurred.
{
   "error_code": "UnknownError",
   "description": "An unknown error occurred.",
   "code": 10001
}

After this error I cant display application list by command: cf apps, I get error:

FAILED
Server error, status code: 503, error code: 220002, message: Instances information unavailable: getaddrinfo: Name or service not known

When I type cf disable-diego cf-env, everything back to normal state and works. On BOSH side I dont see any problems, every Job have state running. I dont have also any security groups problem on AWS VPC side. Do you have any ideas to resolve this problem?

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/102365702.

@emalm
Copy link
Member

emalm commented Oct 12, 2015

Hi, @pawel-grape,

From the getaddrinfo: Name or service not known part of the error message, it sounds like Cloud Controller is unable to resolve DNS for the components on the CC-Bridge via its consul agent. If you're still having this problem, could you check that the consul_agent job is colocated with Cloud Controller in your deployment, running, and able to connect to the consul server cluster?

Thanks,
Eric, CF Runtime Diego PM

@emalm
Copy link
Member

emalm commented Oct 25, 2015

Closing due to inactivity.

@emalm emalm closed this as completed Oct 25, 2015
jfmyers9 pushed a commit that referenced this issue Mar 2, 2016
Submodule src/github.com/pkg/sftp cbc2879..e84cc8c:
  > Merge pull request #85 from pkg/rootdir
  > Merge pull request #81 from pkg/server-option
  > Merge pull request #80 from pkg/functional-options
  > Merge pull request #78 from pkg/server-readonly
  > Merge pull request #79 from pkg/readme-badges
  > Merge pull request #77 from pkg/namedreturns
  > Merge pull request #75 from pkg/golint
  > Merge pull request #73 from mdlayher/golint
  > Merge pull request #74 from LiterallyElvis/master
  > Merge pull request #72 from mdlayher/master
  > Merge pull request #70 from pkg/fixedbugs/69
  > Merge pull request #67 from mdlayher/master
  > Merge pull request #64 from pkg/fixedbugs/28
  > Merge pull request #63 from pkg/fixedbugs/5
  > Merge pull request #61 from pkg/add-travis
  > Merge pull request #62 from xiu/bugfix/35-cant-remove-directories-on-servu
  > Merge pull request #58 from sykesm/client-realpath
  > Merge pull request #60 from pkg/fixedbugs/57
  > updated contribution guidelines

Signed-off-by: James Myers <jmyers@pivotal.io>
winkingturtle-vmw added a commit that referenced this issue Nov 14, 2023
…ego-ssh executor inigo locket rep route-emitter

Submodule src/code.cloudfoundry.org/auction cb67f2df8...a0b5f6cb4:
  > Add test.bash (#17)
  < Add test.bash
Submodule src/code.cloudfoundry.org/auctioneer 53ba4c3b4...4c948374c:
  > With oss ci export (#16)
  < Regenerate expiring certs
  < use relative path instead of direnv
Submodule src/code.cloudfoundry.org/bbs af5179eaf...709d9ebc2:
  > With oss ci export (#75)
  > Add availability zone to actual LRPs (#74)
  < Regenerate expiring certs
  < set -e to exit when something fails
  < Fix path
  < Address pathing issue with gogo protobuf generator
  < Fix go fmt
  < Remove Focus that was added for local run only
  < fix test to allow for one event to
  < SQLFLAVOR_USER->DB_USER and PASSWORD
  < SQLFLAVOR_USER->DB_USER and PASSWORD
  < SQL_FLAVOR->DB env
  < use relative path instead of direnv
  < go fmt
Submodule src/code.cloudfoundry.org/buildpackapplifecycle 2c73ee370..66d4e9349:
  > Merge pull request #64 from cloudfoundry/with-oss-ci-export
Submodule src/code.cloudfoundry.org/cacheddownloader e92422e07...bb834a3fe:
  > Regenerate expiring certs (#27)
  < Regenerate expiring certs
Submodule src/code.cloudfoundry.org/diego-ssh 1126e2462...0db8c3650:
  > With oss ci export (#51)
  < Ensure GinkgoRecover in go routine
  < Create a new err
  < Fix a potential race condition
  < Add bin/test.bash
  < Check if DLL is found instead of dir
  < ensure ZipArchiveMode is loaded
  < Add bin/test.ps1 for WINPTY_DLL_DIR
  < remove unneeded vars
  < Grab a different port than other tests
  < use relative path instead of direnv
Submodule src/code.cloudfoundry.org/executor 0c69be068...aa6d9b164:
  > With oss ci export (#88)
  < Regenerate expiring certs
  < Regenerate expiring certs
  < Address channel buffer issue test flake
  < Fix go fmt
  < Wait long enough for log to appear
Submodule src/code.cloudfoundry.org/inigo 31ce39424...04c069a3b:
  > With oss ci export (#28)
  < Unlock mutex when it's returning early
  < ioutil->os
  < Skip deleting auctioneer-config for windows
  < Use ci's filesystem-helpers.bash
  < rsync with retry, because it seems flaky
  < Wait for mysqld to be stopped
  < On windows, don't wait for tmpDir to be deleted
  < Add progres report back
  < Not sure why we need to setup
  < Wait longer after being Killed
  < Revert "Send SIGINT instead of SIGKILL"
  < Send SIGINT instead of SIGKILL
  < Use ci's helper instead
  < Wait longer for auctioneer to have been stopped
  < Add a debug for envoy.exe path
  < Print output to stdout
  < Add logs.txt output to show progress
  < fix extra space
  < Swap the order for Out-File to be after Invoke-Expression
  < Add Encoding and Width
  < use correct folder name
  < Use a timestamp for inigo-logs
  < unfocus tests
  < Set PROXY_BINARY
  < Focus the failing test
  < Remove debug logs
  < Add missing -F
  < Invoke ginkgo
  < Use correct env variable
  < winc-> winc-network
  < use correct env variables
  < Remove unneeded function
  < fix tmp dir
  < Keep all vendored
  < Add test.ps1 for windows version
  < mkdir logs dir
  < Use a dir for logs
  < Use binaries from GARDEN_BINPATH
  < Add GROOTFS_BINPATH
  < Revert "GROOTFS_BINPATH->GROOTFS_BINARY"
  < GROOTFS_BINPATH->GROOTFS_BINARY
  < use builds from CI instead of building in the test task
  < Use updated docker image for dependencies
  < Remove packages that might not be needed
  < Max connection to 2000 for mysql
  < Use PROXY_BINARY from build-binaries task
  < Fix go vet issues
  < Use garden-runc-release's tar for rootfs
  < build rootfs instead of providing an OCI built one
  < Add more packages
  < Add uidmap
  < Add tag for gdn
  < symlink tar
  < resolve pg_cof value
  < user NATS_SERVER_BINARY
  < relative resolve pg_conf
  < Install required dependencies
  < Use env variable for garden-runc
  < Use correct env
  < {sudo,}
  < Add dnsmasq as a depedency
  < Add bin/test.bash
  < User DB_USER and DB_PASSWORD instead
  < Use correct path for finding fixtures
Submodule src/code.cloudfoundry.org/locket 7a13b7b4d...23339499a:
  > With oss ci export (#16)
  < Regenerate expiring certs
  < set -e to exit when something fails
  < Fix path
  < Address issue with gogo protobuf generator
  < SQLFLAVOR_USER->DB_USER and PASSWORD
Submodule src/code.cloudfoundry.org/rep b26698303...eedf2cd88:
  > With oss ci export (#49)
  > Send AZ in StartActualLRP/EvacuateRunningActualLRP requests to BBS (#48)
  < change db_name to a unique name
  < Update port ranges to use more unique number to avoid port collisions under Windows
  < use relative path instead of direnv
Submodule src/code.cloudfoundry.org/route-emitter 828ee627e...96aae07f6:
  > With oss ci export (#30)
  > Add AZ to registry message (#29)
  < Modify Main test suite to use more unique database name
  < Use NATS_SERVER_BINARY instead
  < use relative path instead of direnv
MarcPaquette pushed a commit that referenced this issue Nov 14, 2023
…ego-ssh executor inigo locket rep route-emitter (#859)

Submodule src/code.cloudfoundry.org/auction cb67f2df8...a0b5f6cb4:
  > Add test.bash (#17)
  < Add test.bash
Submodule src/code.cloudfoundry.org/auctioneer 53ba4c3b4...4c948374c:
  > With oss ci export (#16)
  < Regenerate expiring certs
  < use relative path instead of direnv
Submodule src/code.cloudfoundry.org/bbs af5179eaf...709d9ebc2:
  > With oss ci export (#75)
  > Add availability zone to actual LRPs (#74)
  < Regenerate expiring certs
  < set -e to exit when something fails
  < Fix path
  < Address pathing issue with gogo protobuf generator
  < Fix go fmt
  < Remove Focus that was added for local run only
  < fix test to allow for one event to
  < SQLFLAVOR_USER->DB_USER and PASSWORD
  < SQLFLAVOR_USER->DB_USER and PASSWORD
  < SQL_FLAVOR->DB env
  < use relative path instead of direnv
  < go fmt
Submodule src/code.cloudfoundry.org/buildpackapplifecycle 2c73ee370..66d4e9349:
  > Merge pull request #64 from cloudfoundry/with-oss-ci-export
Submodule src/code.cloudfoundry.org/cacheddownloader e92422e07...bb834a3fe:
  > Regenerate expiring certs (#27)
  < Regenerate expiring certs
Submodule src/code.cloudfoundry.org/diego-ssh 1126e2462...0db8c3650:
  > With oss ci export (#51)
  < Ensure GinkgoRecover in go routine
  < Create a new err
  < Fix a potential race condition
  < Add bin/test.bash
  < Check if DLL is found instead of dir
  < ensure ZipArchiveMode is loaded
  < Add bin/test.ps1 for WINPTY_DLL_DIR
  < remove unneeded vars
  < Grab a different port than other tests
  < use relative path instead of direnv
Submodule src/code.cloudfoundry.org/executor 0c69be068...aa6d9b164:
  > With oss ci export (#88)
  < Regenerate expiring certs
  < Regenerate expiring certs
  < Address channel buffer issue test flake
  < Fix go fmt
  < Wait long enough for log to appear
Submodule src/code.cloudfoundry.org/inigo 31ce39424...04c069a3b:
  > With oss ci export (#28)
  < Unlock mutex when it's returning early
  < ioutil->os
  < Skip deleting auctioneer-config for windows
  < Use ci's filesystem-helpers.bash
  < rsync with retry, because it seems flaky
  < Wait for mysqld to be stopped
  < On windows, don't wait for tmpDir to be deleted
  < Add progres report back
  < Not sure why we need to setup
  < Wait longer after being Killed
  < Revert "Send SIGINT instead of SIGKILL"
  < Send SIGINT instead of SIGKILL
  < Use ci's helper instead
  < Wait longer for auctioneer to have been stopped
  < Add a debug for envoy.exe path
  < Print output to stdout
  < Add logs.txt output to show progress
  < fix extra space
  < Swap the order for Out-File to be after Invoke-Expression
  < Add Encoding and Width
  < use correct folder name
  < Use a timestamp for inigo-logs
  < unfocus tests
  < Set PROXY_BINARY
  < Focus the failing test
  < Remove debug logs
  < Add missing -F
  < Invoke ginkgo
  < Use correct env variable
  < winc-> winc-network
  < use correct env variables
  < Remove unneeded function
  < fix tmp dir
  < Keep all vendored
  < Add test.ps1 for windows version
  < mkdir logs dir
  < Use a dir for logs
  < Use binaries from GARDEN_BINPATH
  < Add GROOTFS_BINPATH
  < Revert "GROOTFS_BINPATH->GROOTFS_BINARY"
  < GROOTFS_BINPATH->GROOTFS_BINARY
  < use builds from CI instead of building in the test task
  < Use updated docker image for dependencies
  < Remove packages that might not be needed
  < Max connection to 2000 for mysql
  < Use PROXY_BINARY from build-binaries task
  < Fix go vet issues
  < Use garden-runc-release's tar for rootfs
  < build rootfs instead of providing an OCI built one
  < Add more packages
  < Add uidmap
  < Add tag for gdn
  < symlink tar
  < resolve pg_cof value
  < user NATS_SERVER_BINARY
  < relative resolve pg_conf
  < Install required dependencies
  < Use env variable for garden-runc
  < Use correct env
  < {sudo,}
  < Add dnsmasq as a depedency
  < Add bin/test.bash
  < User DB_USER and DB_PASSWORD instead
  < Use correct path for finding fixtures
Submodule src/code.cloudfoundry.org/locket 7a13b7b4d...23339499a:
  > With oss ci export (#16)
  < Regenerate expiring certs
  < set -e to exit when something fails
  < Fix path
  < Address issue with gogo protobuf generator
  < SQLFLAVOR_USER->DB_USER and PASSWORD
Submodule src/code.cloudfoundry.org/rep b26698303...eedf2cd88:
  > With oss ci export (#49)
  > Send AZ in StartActualLRP/EvacuateRunningActualLRP requests to BBS (#48)
  < change db_name to a unique name
  < Update port ranges to use more unique number to avoid port collisions under Windows
  < use relative path instead of direnv
Submodule src/code.cloudfoundry.org/route-emitter 828ee627e...96aae07f6:
  > With oss ci export (#30)
  > Add AZ to registry message (#29)
  < Modify Main test suite to use more unique database name
  < Use NATS_SERVER_BINARY instead
  < use relative path instead of direnv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants