You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@metron.apache.org by Carmela Stuart <c....@cablelabs.com> on 2019/03/29 17:36:50 UTC

Cloud Install fails when trying to deploy cluster with Ambari

Hi,

I’m trying to install Metron following the cloud installation instructions for Amazon AWS and I encounter a problem when Ambari tries to deploy a cluster.  There is little information provided on why this failed:


TASK [ambari_config : Deploy cluster with Ambari; http://ec2-52-36-76-119.us-west-2.compute.amazonaws.com:8080] ***

fatal: [ec2-52-36-76-119.us-west-2.compute.amazonaws.com]: FAILED! => {"changed": false, "failed": true, "msg": "Request failed with status FAILED"}

        to retry, use: --limit @/Users/cstuart/Documents/CableLabs/FY2019/Projects/Transparent-Packets/metron/metron-deployment/amazon-ec2/playbook.retry



PLAY RECAP *********************************************************************

ec2-18-236-212-211.us-west-2.compute.amazonaws.com : ok=59   changed=30   unreachable=0    failed=0

ec2-18-237-146-110.us-west-2.compute.amazonaws.com : ok=52   changed=27   unreachable=0    failed=0

ec2-34-212-140-250.us-west-2.compute.amazonaws.com : ok=52   changed=27   unreachable=0    failed=0

ec2-34-212-172-134.us-west-2.compute.amazonaws.com : ok=52   changed=27   unreachable=0    failed=0

ec2-34-213-227-129.us-west-2.compute.amazonaws.com : ok=59   changed=30   unreachable=0    failed=0

ec2-35-165-52-170.us-west-2.compute.amazonaws.com : ok=52   changed=27   unreachable=0    failed=0

ec2-52-36-76-119.us-west-2.compute.amazonaws.com : ok=59   changed=32   unreachable=0    failed=1

ec2-54-213-0-83.us-west-2.compute.amazonaws.com : ok=60   changed=31   unreachable=0    failed=0

ec2-54-218-113-244.us-west-2.compute.amazonaws.com : ok=21   changed=8    unreachable=0    failed=0

ec2-54-244-219-48.us-west-2.compute.amazonaws.com : ok=52   changed=27   unreachable=0    failed=0

localhost                  : ok=20   changed=12   unreachable=0    failed=0

This is my first install of Metron, so any help would be appreciated.

Thanks.

Re: Cloud Install fails when trying to deploy cluster with Ambari

Posted by Carmela Stuart <c....@cablelabs.com>.
Ok, thanks for that info.

I found a couple of errors – on one of the servers:


1.       ExecutionFailed: Execution of '/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=*' --enablerepo=ES-Curator-5.x-repo-1,HDP-2.6-repo-1,HDP-UTILS-1.1.0.22-repo-1,METRON-0.7.1-repo-1,elasticsearch-5.x-repo-1,kibana-5.x-repo-1 hdp-select' returned 1. Error: Cannot retrieve repository metadata (repomd.xml) for repository: elasticsearch-5.x-repo-1. Please verify its path and try again

I log onto that server and execute :


[centos@ip-10-0-0-113 yum.repos.d]$ yum list

Loaded plugins: fastestmirror, presto

Loading mirror speeds from cached hostfile

 * base: mirrors.cat.pdx.edu

 * epel: mirrors.cat.pdx.edu

 * extras: mirrors.cat.pdx.edu

 * updates: mirrors.cat.pdx.edu

https://artifacts.elastic.co/packages/5.x/yum/repodata/repomd.xml: [Errno 14] problem making ssl connection

Trying other mirror.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: elasticsearch-5.x-repo-1. Please verify its path and try again


  1.  On some of the other servers, the error message is:

Unable to query for supported packages using /usr/bin/hdp-select



From: Michael Miklavcic <mi...@gmail.com>
Reply-To: "user@metron.apache.org" <us...@metron.apache.org>
Date: Friday, March 29, 2019 at 11:49 AM
To: "user@metron.apache.org" <us...@metron.apache.org>
Subject: Re: Cloud Install fails when trying to deploy cluster with Ambari

Follow the link for the Ambari host. The login should be admin:admin. There should be a link at the top that will show you tasks that Ambari executed - dig in there and you should find what failed.

On Fri, Mar 29, 2019, 11:37 AM Carmela Stuart <c....@cablelabs.com>> wrote:
Hi,

I’m trying to install Metron following the cloud installation instructions for Amazon AWS and I encounter a problem when Ambari tries to deploy a cluster.  There is little information provided on why this failed:


TASK [ambari_config : Deploy cluster with Ambari; http://ec2-52-36-76-119.us-west-2.compute.amazonaws.com:8080] ***

fatal: [ec2-52-36-76-119.us-west-2.compute.amazonaws.com<http://ec2-52-36-76-119.us-west-2.compute.amazonaws.com>]: FAILED! => {"changed": false, "failed": true, "msg": "Request failed with status FAILED"}

        to retry, use: --limit @/Users/cstuart/Documents/CableLabs/FY2019/Projects/Transparent-Packets/metron/metron-deployment/amazon-ec2/playbook.retry



PLAY RECAP *********************************************************************

ec2-18-236-212-211.us-west-2.compute.amazonaws.com<http://ec2-18-236-212-211.us-west-2.compute.amazonaws.com> : ok=59   changed=30   unreachable=0    failed=0

ec2-18-237-146-110.us-west-2.compute.amazonaws.com<http://ec2-18-237-146-110.us-west-2.compute.amazonaws.com> : ok=52   changed=27   unreachable=0    failed=0

ec2-34-212-140-250.us-west-2.compute.amazonaws.com<http://ec2-34-212-140-250.us-west-2.compute.amazonaws.com> : ok=52   changed=27   unreachable=0    failed=0

ec2-34-212-172-134.us-west-2.compute.amazonaws.com<http://ec2-34-212-172-134.us-west-2.compute.amazonaws.com> : ok=52   changed=27   unreachable=0    failed=0

ec2-34-213-227-129.us-west-2.compute.amazonaws.com<http://ec2-34-213-227-129.us-west-2.compute.amazonaws.com> : ok=59   changed=30   unreachable=0    failed=0

ec2-35-165-52-170.us-west-2.compute.amazonaws.com<http://ec2-35-165-52-170.us-west-2.compute.amazonaws.com> : ok=52   changed=27   unreachable=0    failed=0

ec2-52-36-76-119.us-west-2.compute.amazonaws.com<http://ec2-52-36-76-119.us-west-2.compute.amazonaws.com> : ok=59   changed=32   unreachable=0    failed=1

ec2-54-213-0-83.us-west-2.compute.amazonaws.com<http://ec2-54-213-0-83.us-west-2.compute.amazonaws.com> : ok=60   changed=31   unreachable=0    failed=0

ec2-54-218-113-244.us-west-2.compute.amazonaws.com<http://ec2-54-218-113-244.us-west-2.compute.amazonaws.com> : ok=21   changed=8    unreachable=0    failed=0

ec2-54-244-219-48.us-west-2.compute.amazonaws.com<http://ec2-54-244-219-48.us-west-2.compute.amazonaws.com> : ok=52   changed=27   unreachable=0    failed=0

localhost                  : ok=20   changed=12   unreachable=0    failed=0

This is my first install of Metron, so any help would be appreciated.

Thanks.

Re: Cloud Install fails when trying to deploy cluster with Ambari

Posted by Michael Miklavcic <mi...@gmail.com>.
Follow the link for the Ambari host. The login should be admin:admin. There
should be a link at the top that will show you tasks that Ambari executed -
dig in there and you should find what failed.

On Fri, Mar 29, 2019, 11:37 AM Carmela Stuart <c....@cablelabs.com>
wrote:

> Hi,
>
>
>
> I’m trying to install Metron following the cloud installation instructions
> for Amazon AWS and I encounter a problem when Ambari tries to deploy a
> cluster.  There is little information provided on why this failed:
>
>
>
> TASK [ambari_config : Deploy cluster with Ambari;
> http://ec2-52-36-76-119.us-west-2.compute.amazonaws.com:8080] ***
>
> fatal: [ec2-52-36-76-119.us-west-2.compute.amazonaws.com]: FAILED! =>
> {"changed": false, "failed": true, "msg": "Request failed with status
> FAILED"}
>
>         to retry, use: --limit
> @/Users/cstuart/Documents/CableLabs/FY2019/Projects/Transparent-Packets/metron/metron-deployment/amazon-ec2/playbook.retry
>
>
>
> PLAY RECAP
> *********************************************************************
>
> ec2-18-236-212-211.us-west-2.compute.amazonaws.com : ok=59   changed=30
> unreachable=0    failed=0
>
> ec2-18-237-146-110.us-west-2.compute.amazonaws.com : ok=52   changed=27
> unreachable=0    failed=0
>
> ec2-34-212-140-250.us-west-2.compute.amazonaws.com : ok=52   changed=27
> unreachable=0    failed=0
>
> ec2-34-212-172-134.us-west-2.compute.amazonaws.com : ok=52   changed=27
> unreachable=0    failed=0
>
> ec2-34-213-227-129.us-west-2.compute.amazonaws.com : ok=59   changed=30
> unreachable=0    failed=0
>
> ec2-35-165-52-170.us-west-2.compute.amazonaws.com : ok=52   changed=27
> unreachable=0    failed=0
>
> ec2-52-36-76-119.us-west-2.compute.amazonaws.com : ok=59   changed=32
> unreachable=0    failed=1
>
> ec2-54-213-0-83.us-west-2.compute.amazonaws.com : ok=60   changed=31
> unreachable=0    failed=0
>
> ec2-54-218-113-244.us-west-2.compute.amazonaws.com : ok=21   changed=8
> unreachable=0    failed=0
>
> ec2-54-244-219-48.us-west-2.compute.amazonaws.com : ok=52   changed=27
> unreachable=0    failed=0
>
> localhost                  : ok=20   changed=12   unreachable=0
> failed=0
>
>
>
> This is my first install of Metron, so any help would be appreciated.
>
>
>
> Thanks.
>