GitHub user ygy opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/732
Use subnet hostname instead of hostname.
Probably resolves problems in local and/or cloud environments.
It seems that ```BrooklynAccessUtils``` is the preferred way to determine
Brooklyn's accessible address. Now it uses hostname when used with locations in
local or cloud environments. On some occasions it should use subnet_hostname
instead of the hostname.
```MongoDBShardedDeploymentIntegrationTest``` demonstrates the scenario.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ygy/incubator-brooklyn fix/mongodb
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/732.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #732
----
commit e172c7183d042cb5854617ed5e0a0b504af13d57
Author: Yavor Yanchev <[email protected]>
Date: 2015-07-03T08:17:47Z
Use subnet hostname instead of hostname. Probably resolves problems
in local and/or cloud environments.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---