[
https://issues.apache.org/jira/browse/METRON-770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928793#comment-15928793
]
ASF GitHub Bot commented on METRON-770:
---------------------------------------
GitHub user nickwallen opened a pull request:
https://github.com/apache/incubator-metron/pull/480
METRON-770 Unable to Launch Fastcapa Test Environment
Unable to launch the Fastcapa test environment. Errors out during launch
with the following error.
```
TASK [ambari_gather_facts : Ask Ambari: metron_hosts]
**************************
fatal: [source]: FAILED! => {"failed": true, "msg": "ERROR! 'dict object'
has no attribute 'ambari_master'"}
PLAY RECAP
*********************************************************************
source : ok=20 changed=15 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
```
Since Ambari is not available in the `fastcapa-test-environment`, it needs
to define all of the variables that are retrieved by the `ambari_gather_facts`
role. This prevents it from attempting to reach out to Ambari and thus fail
and break. This was broken by a change in METRON-671. Simple fix.
## Pull Request Checklist=
- [ ] Is there a JIRA ticket associated with this PR?
- [ ] Does your PR title start with METRON-XXXX where XXXX is the JIRA
number you are trying to resolve?
- [ ] Has your PR been rebased against the latest commit within the target
branch (typically master)?
- [ ] Have you included steps to reproduce the behavior or problem that is
being changed or addressed?
- [ ] Have you included steps or a guide to how the change may be verified
and tested manually?
- [ ] Have you ensured that the full suite of tests and checks have been
executed in the root incubating-metron folder via:
- [ ] Have you written or updated unit tests and or integration tests to
verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] Have you verified the basic functionality of the build by building
and running locally with Vagrant full-dev environment or the equivalent?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nickwallen/incubator-metron METRON-770
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-metron/pull/480.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 #480
----
commit c159a65e56c099a8437a0deeb3873db67f711e1e
Author: Nick Allen <[email protected]>
Date: 2017-03-16T20:09:28Z
METRON-770 Unable to Launch Fastcapa Test Environment
----
> Unable to Launch Fastcapa Test Environment
> ------------------------------------------
>
> Key: METRON-770
> URL: https://issues.apache.org/jira/browse/METRON-770
> Project: Metron
> Issue Type: Bug
> Reporter: Nick Allen
> Assignee: Nick Allen
>
> Unable to launch the Fastcapa test environment. Errors out during launch
> with the following error.
> {code}
> TASK [ambari_gather_facts : Ask Ambari: metron_hosts]
> **************************
> fatal: [source]: FAILED! => {"failed": true, "msg": "ERROR! 'dict object' has
> no attribute 'ambari_master'"}
> PLAY RECAP
> *********************************************************************
> source : ok=20 changed=15 unreachable=0 failed=1
> Ansible failed to complete successfully. Any error output should be
> visible above. Please fix these errors and try again.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)