Bug 1376110

Summary: HAWKMONITOR010011: Failed to store avail data
Product: Red Hat CloudForms Management Engine Reporter: Matt Mahoney <mmahoney>
Component: ProvidersAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Matt Mahoney <mmahoney>
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: jfrey, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: Triaged
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Hawkular
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-01 13:50:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Middleware Target Upstream Version:
Attachments:
Description Flags
hawkular-Services Log none

Description Matt Mahoney 2016-09-14 17:20:55 UTC
Created attachment 1200916 [details]
hawkular-Services Log

Description of problem:
Hawkular-Services Container Error


^[[31m09:46:55,362 ERROR [org.hawkular.agent.monitor.storage.HawkularStorageAdapter] (OkHttp http://14cf262cbf1c:8080/hawkular/metrics/availability/data) HAWKMONITOR010011: Failed to store avail data: [{"data":[{"value":"up","timestamp":1473860814650}],"id":"hawkular-feed-availability-5b7fbc28-8f1f-4e4a-9e57-0badd53d5069"}]: java.io.IOException: status-code=[500], reason=[Internal Server Error], url=[http://14cf262cbf1c:8080/hawkular/metrics/availability/data]
        at org.hawkular.agent.monitor.storage.HawkularStorageAdapter$2.onResponse(HawkularStorageAdapter.java:281)
        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):
DR1

How reproducible:


Steps to Reproduce:
1. Launch Cassandra container
2. Launch Hawkular-Services Container
3.

Actual results:


Expected results:
No Container Errors

Additional info:

Container launch commands:
docker run --name hawkular-cassandra -d -e CASSANDRA_START_RPC=true brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/jboss/cassandra:latest

docker run -d --link=hawkular-cassandra -e CASSANDRA_NODES=hawkular-cassandra -e HAWKULAR_BACKEND=remote -p 8080:8080 -p 8443:8443 -p 9990:9990 brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/hawkular/hawkular-services:latest

Comment 2 JBoss JIRA Server 2016-09-21 14:57:29 UTC
John Mazzitelli <mazz> updated the status of jira HWKAGENT-141 to Coding In Progress

Comment 3 Heiko W. Rupp 2016-10-28 09:17:05 UTC
This is in Hawkular-services 0.0.18 and thus in DR7

Comment 4 Satoe Imaishi 2016-11-01 13:50:00 UTC
Closing as this is tracked somewhere else.. https://issues.jboss.org/browse/HWKAGENT-141