graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #00589
[Question #138530]: WebUI Data is Not Displayed (but exists, seeing 401s)
New question #138530 on Graphite:
https://answers.launchpad.net/graphite/+question/138530
Hi,
Setup:
-New install, Ubuntu 10.04, Apache2 with SSL, Digest Auth
-/opt/graphite is owned by www-data
-data_dir is /data which is owned by www-data
-carbon-cache.py is running as www-data
Works:
-Data in, no problem, nothing in the logs
Problem:
-WebUI will not load data in the Graphite tree, it tries and displays nothing
-The HTTP logs show a 401, but other requests return with 200 and show the username no problem (the 401 cuts off the username at the beginning):
$IP - - [20/Dec/2010:23:48:01 +0000] "GET /metrics/find/?_dc=1292888881479&query=*&format=treejson&contexts=1&path=&node=GraphiteTree HTTP/1.1" 401 884
$IP - $MY_USERNAME [20/Dec/2010:23:48:01 +0000] "GET /metrics/find/?_dc=1292888881479&query=*&format=treejson&contexts=1&path=&node=GraphiteTree HTTP/1.1" 200 707
-It won't allow queries for the data which exists:
Mon Dec 20 17:25:30 2010 :: find_view query=* local_only=0 matches=0
Mon Dec 20 17:29:08 2010 :: find_view query=* local_only=0 matches=0
-Console logs look good:
20/12/2010 23:45:13 :: Sorted 11 cache queues in 0.000021 seconds
20/12/2010 23:46:12 :: Sorted 11 cache queues in 0.000016 seconds
--Creates look good:
20/12/2010 22:46:13 :: new metric blah.blah2.blah3.blah4 matched schema everything
20/12/2010 22:46:13 :: creating database file /data/blah/blah2/blah3/blah4.wsp\
--Updates look good:
20/12/2010 23:47:12 :: wrote 1 datapoints for carbon.agents.graph.cpuUsage in 0.00012 seconds
20/12/2010 23:47:12 :: wrote 1 datapoints for carbon.agents.graph.pointsPerUpdate in 0.00012 seconds
20/12/2010 23:47:12 :: wrote 1 datapoints for carbon.agents.graph.errors in 0.00011 seconds
20/12/2010 23:47:12 :: wrote 1 datapoints for carbon.agents.graph.updateOperations in 0.00011 seconds
--Listener looks good:
20/12/2010 23:03:52 :: MetricLineReceiver connection with $IP:45540 established
20/12/2010 23:03:52 :: MetricLineReceiver connection with $IP:45540 closed cleanly
20/12/2010 23:03:53 :: MetricLineReceiver connection with $IP:45541 established
20/12/2010 23:03:53 :: MetricLineReceiver connection with $IP:45541 closed cleanly
-Run in debug mode, I see the same thing, no errors.
-There is a permission issue causing this, maybe something with django?
-Any thoughts?
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.