Re: [BUG] Ambari-server login loop

2017-09-12 Thread Laurens Vets

I have no idea how this happened, but it is fixed now.

- I've removed Ambari Metrics and reinstalled it again on a different 
host.

- Rebooted all Metron nodes

After this, the login works again.

On 2017-09-12 08:15, Laurens Vets wrote:

This seems to be related to Ambari Metrics somehow which I've put in
Maintenance Mode because it's not working. Can I safely delete Ambari
Metrics to see whether this is indeed the problem?

On 2017-09-11 16:21, Laurens Vets wrote:

Hi list,

I have a strange issue suddenly... Ambari lets me log in, but
immediately logs me out again with the following messages in
/var/log/ambari-server/ambari-server.log:

11 Sep 2017 23:09:34,790  INFO [ambari-client-thread-78]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,400  INFO [ambari-client-thread-103]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,401  INFO [ambari-client-thread-103]
MetricsReportPropertyProvider:154 - METRICS_COLLECTOR is not live.
Skip populating resources with metrics, next message will be logged
after 1000 attempts.
11 Sep 2017 23:09:36,402  INFO [ambari-client-thread-31]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,406  INFO [ambari-client-thread-28]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,406  INFO [ambari-client-thread-114]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,407  INFO [ambari-client-thread-28]
MetricsReportPropertyProvider:154 - METRICS_COLLECTOR is not live.
Skip populating resources with metrics, next message will be logged
after 1000 attempts.
11 Sep 2017 23:09:36,749  INFO [ambari-client-thread-79]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,857  INFO [ambari-client-thread-28]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1

These correspond to 1 login/logout loop. As long as I have my browser
open, this will continue. If I close my browser, the messages stop. Of
course, this means that I can't use Ambari at all anymore.

Ambari Metrics is set in Maintenance Mode because it can't connect
(See other mail to mailing list). This started happening when I
changed "delete.topic.enable" from false to true in Kafka via Ambari.

Restarting Ambari server does not help. Checking the database doesn't
work either. Clearing browser cache doesn't help...

Any idea what might be going on here? This is with the latest Metron
code (master, so 0.4.1-rc4 I guess?).


Re: [BUG] Ambari-server login loop

2017-09-12 Thread Laurens Vets
This seems to be related to Ambari Metrics somehow which I've put in 
Maintenance Mode because it's not working. Can I safely delete Ambari 
Metrics to see whether this is indeed the problem?


On 2017-09-11 16:21, Laurens Vets wrote:

Hi list,

I have a strange issue suddenly... Ambari lets me log in, but
immediately logs me out again with the following messages in
/var/log/ambari-server/ambari-server.log:

11 Sep 2017 23:09:34,790  INFO [ambari-client-thread-78]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,400  INFO [ambari-client-thread-103]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,401  INFO [ambari-client-thread-103]
MetricsReportPropertyProvider:154 - METRICS_COLLECTOR is not live.
Skip populating resources with metrics, next message will be logged
after 1000 attempts.
11 Sep 2017 23:09:36,402  INFO [ambari-client-thread-31]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,406  INFO [ambari-client-thread-28]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,406  INFO [ambari-client-thread-114]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,407  INFO [ambari-client-thread-28]
MetricsReportPropertyProvider:154 - METRICS_COLLECTOR is not live.
Skip populating resources with metrics, next message will be logged
after 1000 attempts.
11 Sep 2017 23:09:36,749  INFO [ambari-client-thread-79]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1
11 Sep 2017 23:09:36,857  INFO [ambari-client-thread-28]
AbstractProviderModule:424 - Metrics Collector Host or host component
not live : metron1

These correspond to 1 login/logout loop. As long as I have my browser
open, this will continue. If I close my browser, the messages stop. Of
course, this means that I can't use Ambari at all anymore.

Ambari Metrics is set in Maintenance Mode because it can't connect
(See other mail to mailing list). This started happening when I
changed "delete.topic.enable" from false to true in Kafka via Ambari.

Restarting Ambari server does not help. Checking the database doesn't
work either. Clearing browser cache doesn't help...

Any idea what might be going on here? This is with the latest Metron
code (master, so 0.4.1-rc4 I guess?).


[BUG] Ambari-server login loop

2017-09-11 Thread Laurens Vets

Hi list,

I have a strange issue suddenly... Ambari lets me log in, but 
immediately logs me out again with the following messages in 
/var/log/ambari-server/ambari-server.log:


11 Sep 2017 23:09:34,790  INFO [ambari-client-thread-78] 
AbstractProviderModule:424 - Metrics Collector Host or host component 
not live : metron1
11 Sep 2017 23:09:36,400  INFO [ambari-client-thread-103] 
AbstractProviderModule:424 - Metrics Collector Host or host component 
not live : metron1
11 Sep 2017 23:09:36,401  INFO [ambari-client-thread-103] 
MetricsReportPropertyProvider:154 - METRICS_COLLECTOR is not live. Skip 
populating resources with metrics, next message will be logged after 
1000 attempts.
11 Sep 2017 23:09:36,402  INFO [ambari-client-thread-31] 
AbstractProviderModule:424 - Metrics Collector Host or host component 
not live : metron1
11 Sep 2017 23:09:36,406  INFO [ambari-client-thread-28] 
AbstractProviderModule:424 - Metrics Collector Host or host component 
not live : metron1
11 Sep 2017 23:09:36,406  INFO [ambari-client-thread-114] 
AbstractProviderModule:424 - Metrics Collector Host or host component 
not live : metron1
11 Sep 2017 23:09:36,407  INFO [ambari-client-thread-28] 
MetricsReportPropertyProvider:154 - METRICS_COLLECTOR is not live. Skip 
populating resources with metrics, next message will be logged after 
1000 attempts.
11 Sep 2017 23:09:36,749  INFO [ambari-client-thread-79] 
AbstractProviderModule:424 - Metrics Collector Host or host component 
not live : metron1
11 Sep 2017 23:09:36,857  INFO [ambari-client-thread-28] 
AbstractProviderModule:424 - Metrics Collector Host or host component 
not live : metron1


These correspond to 1 login/logout loop. As long as I have my browser 
open, this will continue. If I close my browser, the messages stop. Of 
course, this means that I can't use Ambari at all anymore.


Ambari Metrics is set in Maintenance Mode because it can't connect (See 
other mail to mailing list). This started happening when I changed 
"delete.topic.enable" from false to true in Kafka via Ambari.


Restarting Ambari server does not help. Checking the database doesn't 
work either. Clearing browser cache doesn't help...


Any idea what might be going on here? This is with the latest Metron 
code (master, so 0.4.1-rc4 I guess?).