Bug 1402126

Summary: Failed to store avail data
Product: [JBoss] Middleware Manager Reporter: Matt Mahoney <mmahoney>
Component: OtherAssignee: Matt Wringe <mwringe>
Status: VERIFIED --- QA Contact: Matt Mahoney <mmahoney>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0.0Keywords: Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
hawkular-services Log none

Description Matt Mahoney 2016-12-06 20:39:59 UTC
Created attachment 1228674 [details]
hawkular-services Log

Description of problem:
Error encountered in ER1 container

^[[0m^[[31m07:02:58,513 ERROR [org.hawkular.agent.monitor.storage.HawkularStorageAdapter] (OkHttp http://06fcdcde4795:8080/hawkular/metrics/availability/data) HAWKMONITOR010011: Failed to store avail data: [{"data":[{"value":"up","timestamp":1480852976507}],"id":"hawkular-feed-availability-43f10521-ea3f-4c36-80d0-9c9e22cad758"}]: java.io.IOException: status-code=[500], reason=[Internal Server Error], url=[http://06fcdcde4795:8080/hawkular/metrics/availability/data]
        at org.hawkular.agent.monitor.storage.HawkularStorageAdapter$2.onResponse(HawkularStorageAdapter.java:286)
        at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:177)
        at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)




Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Start ER1 container: https://docs.engineering.redhat.com/display/JP/CloudForms+Middleware+-+Quickstart+Guide
 External Postgres was used for Inventory Service
2. Add Provider into CFME (error may have occurred prior to this step)
3. Check container log for error

Actual results:


Expected results:


Additional info:

Comment 2 Lukas Krejci 2016-12-07 14:36:38 UTC
For the Inventory NPE found in the provided log, I created https://issues.jboss.org/browse/HWKINVENT-209.

Not sure if it has anything to do with the issue reported though, because the reported exception comes from Hawkular Metrics.

Comment 3 John Sanda 2016-12-07 15:08:38 UTC
Can you please provide the Cassandra log?