Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard not showing all information ... with Jewel #83

Open
jthiyagu opened this issue Aug 22, 2016 · 29 comments
Open

Dashboard not showing all information ... with Jewel #83

jthiyagu opened this issue Aug 22, 2016 · 29 comments

Comments

@jthiyagu
Copy link

jthiyagu commented Aug 22, 2016

HI ,
I recently install Inkscope v1.4 on CentOS 7 and got my ceph (Jewel) cluster configured under inkscope manager.
But after configuration my dashboard is not showing complete information as mentioned below.

  1. Cluster health --> Doesn't show status bar but while moving mouse cursor on it show the status as OK.
  2. Monitors status --> No Monitor status is being displayed.
  3. Monitors status --> Shows only numerical values but not the progress bar.
  4. Avail. capacity --> Shows only numerical values but not the progress bar.
  5. MDSs --> No information about MDS's
  6. Monitoring --> No monitoring charts / Graphs being displayed ...

Any help would be highly appreciated.

inkscope

@jthiyagu
Copy link
Author

any updates please ?

@A-Dechorgnat
Copy link
Member

It seems to be an issue with ceph rest api access, please check http://inkscope.blogspot.fr/2015/03/inkscope-and-ceph-rest-api.html

@jthiyagu
Copy link
Author

Hi ,
Thanks for your help , But i see my config files are proper as per the document ( the above mentioned URL)... Kindly help ...

JFYI : - The hostname is debianhost but it runs centos7 at the core.


[root@debianhost ~]# cat /etc/httpd/conf.d/inkScope.conf
<VirtualHost *:8080>
ServerName localhost
ServerAdmin webmaster@localhost

DocumentRoot /var/www/inkscope
<Directory "/var/www/inkscope">
    Options All
    AllowOverride All
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
    AllowOverride None
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
</Directory>

WSGIScriptAlias /inkscopeCtrl /var/www/inkscope/inkscopeCtrl/inkscopeCtrl.wsgi
<Directory "/var/www/inkscope/inkscopeCtrl">
    Order allow,deny
    Allow from all
</Directory>

WSGIScriptAlias /ceph_rest_api /var/www/inkscope/inkscopeCtrl/ceph-rest-api.wsgi
<Directory "/var/www/inkscope/inkscopeCtrl">
     Require all granted
</Directory>

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

ProxyRequests Off  # we want  a "Reverse proxy"

# For a ceph_rest_api in wsgi mode
ProxyPass /ceph-rest-api/ http://debianhost.engba.veritas.com:8080/ceph_rest_api/api/v0.1/

# For a standalone ceph_rest_api, uncomment the next line and comment the previous one
# ProxyPass /ceph-rest-api/ http://<ceph_rest_api_host>:5000/api/v0.1/

ErrorLog /var/log/inkscope/webserver_error.log
CustomLog /var/log/inkscope/webserver_access.log common

[root@debianhost ~]#


[root@debianhost ~]# cat /opt/inkscope/etc/inkscope.conf
{
"ceph_conf": "/etc/ceph/ceph.conf",
"ceph_rest_api": "debianhost.engba.veritas.com:8080",
"ceph_rest_api_subfolder": "ceph_rest_api",
"mongodb_host" : "debianhost.engba.veritas.com",
"mongodb_set" : "mongodb0:27017,mongodb1:27017,mongodb2:27017",
"mongodb_replicaSet" : "replmongo0",
"mongodb_read_preference" : "ReadPreference.SECONDARY_PREFERRED",
"mongodb_port" : 27017,
"mongodb_user":"ceph",
"mongodb_passwd":"monpassword",
"is_mongo_authenticate" : 0,
"is_mongo_replicat" : 0,
"influxdb_endpoint":"http://influxdb_host:influxdb_port",
"cluster": "ceph",
"platform": "",
"status_refresh": 3,
"osd_dump_refresh": 3,
"pg_dump_refresh": 60,
"crushmap_refresh": 60,
"df_refresh": 60,
"cluster_window": 1200,
"osd_window": 1200,
"pool_window": 1200,
"mem_refresh": 60,
"swap_refresh": 600,
"disk_refresh": 60,
"partition_refresh": 60,
"cpu_refresh": 30,
"net_refresh": 30,
"mem_window": 1200,
"swap_window": 3600,
"disk_window": 1200,
"partition_window": 1200,
"cpu_window": 1200,
"net_window": 1200,
"inkscope_root" : "inkscope_host:inkscope_port",
"radosgw_url": "http://poc-12.engba.veritas.com:80",
"radosgw_admin": "admin",
"radosgw_key": "inkscope",
"radosgw_secret": "inkscope"
}
[root@debianhost ~]#


@A-Dechorgnat
Copy link
Member

A-Dechorgnat commented Aug 29, 2016

your config seems to be good.

I'd like to know what is in the logs of apache and inkscope?

@jthiyagu
Copy link
Author

Hi ,

Below are access and error logs of inkscope and apache/ httpd

[root@debianhost ~]#
[root@debianhost ~]# cat /var/log/httpd/access_log
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [28/Aug/2016:03:33:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
172.20.39.99 - - [29/Aug/2016:14:49:12 -0700] "GET / HTTP/1.1" 403 4897 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
172.20.39.99 - - [29/Aug/2016:14:49:12 -0700] "GET /noindex/css/fonts/Light/OpenSans-Light.woff HTTP/1.1" 404 241 "http://debianhost.engba.veritas.com/noindex/css/open-sans.css" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
172.20.39.99 - - [29/Aug/2016:14:49:12 -0700] "GET /noindex/css/fonts/Bold/OpenSans-Bold.woff HTTP/1.1" 404 239 "http://debianhost.engba.veritas.com/noindex/css/open-sans.css" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
172.20.39.99 - - [29/Aug/2016:14:49:12 -0700] "GET /noindex/css/fonts/Light/OpenSans-Light.ttf HTTP/1.1" 404 240 "http://debianhost.engba.veritas.com/noindex/css/open-sans.css" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
172.20.39.99 - - [29/Aug/2016:14:49:12 -0700] "GET /noindex/css/fonts/Bold/OpenSans-Bold.ttf HTTP/1.1" 404 238 "http://debianhost.engba.veritas.com/noindex/css/open-sans.css" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
172.20.39.99 - - [29/Aug/2016:14:49:12 -0700] "GET /favicon.ico HTTP/1.1" 404 209 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0"
::1 - - [29/Aug/2016:14:49:37 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:14:55:57 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:15:01:17 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:15:01:18 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:20:51 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:20:54 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:20:55 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:20:58 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:21:01 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:21:02 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:21:03 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:21:04 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:22:28 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:22:29 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:22:35 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:22:36 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:22:37 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:22:38 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:22:39 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:23:26 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:23:26 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:23:26 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:23:26 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:23:26 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:08 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:10 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:11 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:12 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:13 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:14 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:17 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:19 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:48 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:49 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:50 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
::1 - - [29/Aug/2016:16:24:58 -0700] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 (internal dummy connection)"
[root@debianhost ~]#
[root@debianhost ~]#
[root@debianhost ~]#
[root@debianhost ~]#
[root@debianhost ~]#
[root@debianhost ~]# cat /var/log/httpd/error_log
[Sun Aug 28 03:33:02.182995 2016] [auth_digest:notice] [pid 16243] AH01757: generating secret for digest authentication ...
[Sun Aug 28 03:33:02.183779 2016] [lbmethod_heartbeat:notice] [pid 16243] AH02282: No slotmem from mod_heartmonitor
[Sun Aug 28 03:33:02.183876 2016] [mpm_prefork:notice] [pid 16243] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Sun Aug 28 03:33:02.183882 2016] [core:notice] [pid 16243] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Aug 29 14:49:12.230344 2016] [autoindex:error] [pid 1337] [client 172.20.39.99:60344] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive
[Mon Aug 29 16:20:16.215674 2016] [mpm_prefork:notice] [pid 16243] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Aug 29 16:20:46.382248 2016] [suexec:notice] [pid 939] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Aug 29 16:20:46.410744 2016] [auth_digest:notice] [pid 939] AH01757: generating secret for digest authentication ...
[Mon Aug 29 16:20:46.411410 2016] [lbmethod_heartbeat:notice] [pid 939] AH02282: No slotmem from mod_heartmonitor
[Mon Aug 29 16:20:46.413842 2016] [mpm_prefork:notice] [pid 939] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Mon Aug 29 16:20:46.413859 2016] [core:notice] [pid 939] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Aug 29 16:23:26.111966 2016] [mpm_prefork:notice] [pid 939] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Aug 29 16:24:00.466260 2016] [suexec:notice] [pid 942] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Aug 29 16:24:00.496427 2016] [auth_digest:notice] [pid 942] AH01757: generating secret for digest authentication ...
[Mon Aug 29 16:24:00.497078 2016] [lbmethod_heartbeat:notice] [pid 942] AH02282: No slotmem from mod_heartmonitor
[Mon Aug 29 16:24:00.499440 2016] [mpm_prefork:notice] [pid 942] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Mon Aug 29 16:24:00.499460 2016] [core:notice] [pid 942] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[root@debianhost ~]#

@A-Dechorgnat
Copy link
Member

I don't see anything related to inkscope in those logs. Perharps yon can post /var/log/inkscope files?

@jthiyagu
Copy link
Author

Hi ,
I found no data in webserver_error.log ... I have attached the remaining logs for your reference.
mongod.pdf
httpd_access_log.pdf
httpd_error_log.pdf
inkscope_webserver_access.pdf

@A-Dechorgnat
Copy link
Member

Thank you
I thought that there were an issue with the ceph-rest-api but this is not the case. All seem to be well installed and functional.
The issue must be on the browser side.

Packaged version is 1.4.0.2 and there are some commits behind. See V1.4.0.2...master

I think this is the clue as there are two commits related to Jewel compatibility. cba0a7e clearly fixes a nearly empty dashboard with Jewel.

@A-Dechorgnat A-Dechorgnat changed the title Dashboard not showing all information ... Dashboard not showing all information ... with Jewel Aug 31, 2016
@jthiyagu
Copy link
Author

jthiyagu commented Aug 31, 2016

Hi ,
I applied all 3 commits that you referred and rebooted the inkscope node and restarted the sysprobe service on ceph nodes, but still the problem persist.
Please have the committed files FYR>
mdsApp.pdf
statusApp.pdf
sysprobe.pdf

@jthiyagu
Copy link
Author

wow okay ... Google chrome browser is not showing the updates , but yes mozilla does... that's great ..
Attaching the screen shot from both the browsers... Thanks a lot Dechorgnat 👍

mozilla
gchrome

@jthiyagu
Copy link
Author

Hi Dechorgnat,
Do we expect this ? The MDS status tab does't show any MDS information even though the dashboard shows the MDS server information ? Also do you have support to monitor CephFS ? Attached the Screenshot.

mds_status

@A-Dechorgnat
Copy link
Member

Oups, I just see that the ceph-rest-api return to mds/stats.json has completly changed with Jewel.

So the MDS status page is not compatible with Jewel. I will fix this shortly.

@A-Dechorgnat
Copy link
Member

Just finished new Filesystem visualisation for Jewel. Related commit is eb5ddde.
Could you test it on your platform?

@jthiyagu
Copy link
Author

jthiyagu commented Sep 6, 2016

Hi,
I have applied the FS commits as you mentioned and its status as below ..

  1. The problem with MDS status still exists as mentioned above ... I'm unable to view the MDS details ...
  2. Below is the screen shot for FS, I directly opened the fs.html page from the brower as I don't see any links for FS status from the dashboard.

fs
mds

@Dechorgnat
Copy link

Dechorgnat commented Sep 7, 2016

As I can see, your platform is not detected as running Jewel because the
Filesystem menu doesn't appear.
In the menu "Logged as admin", have a look at inskscope config for ceph
version and let me know.

@jthiyagu
Copy link
Author

jthiyagu commented Sep 7, 2016

hi ,
please have the version details
version

@A-Dechorgnat
Copy link
Member

A-Dechorgnat commented Sep 8, 2016

Did you update inkscopeViz/partials/header.html and inkscopeViz/scripts/angular-misc/angular-commons.js?

@jthiyagu
Copy link
Author

jthiyagu commented Sep 8, 2016

Yes Alain , i did copy the files ... please have the below information (File Size and copy location).

[root@debianhost angular-misc]# hostname
debianhost.engba.veritas.com
[root@debianhost angular-misc]# date
Thu Sep 8 09:50:37 PDT 2016
[root@debianhost angular-misc]# cat /etc/release
CentOS Linux release 7.2.1511 (Core)
Derived from Red Hat Enterprise Linux 7.2 (Source)
cat: /etc/lsb-release.d: Is a directory
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.2.1511 (Core)
CentOS Linux release 7.2.1511 (Core)
cpe:/o:centos:centos:7
[root@debianhost angular-misc]#
[root@debianhost angular-misc]#
[root@debianhost angular-misc]# ll /var/www/inkscope/inkscopeViz/css/testAdmin.css*
-rw-r--r-- 1 root root 10800 Sep 6 14:29 /var/www/inkscope/inkscopeViz/css/testAdmin.css
-rw-r--r-- 1 root root 10782 May 23 02:21 /var/www/inkscope/inkscopeViz/css/testAdmin.css_ORIG
[root@debianhost angular-misc]#
[root@debianhost angular-misc]# ll /var/www/inkscope/inkscopeViz/fs.html*
-rw-r--r-- 1 root root 2483 Sep 6 14:29 /var/www/inkscope/inkscopeViz/fs.html
[root@debianhost angular-misc]#
[root@debianhost angular-misc]#
[root@debianhost angular-misc]# ll /var/www/inkscope/inkscopeViz/index.html*
-rw-r--r-- 1 root root 15485 Sep 6 14:29 /var/www/inkscope/inkscopeViz/index.html
-rw-r--r-- 1 root root 15504 May 23 02:21 /var/www/inkscope/inkscopeViz/index.html_ORIG
[root@debianhost angular-misc]#
[root@debianhost angular-misc]# ll /var/www/inkscope/inkscopeViz/partials/fs/aboutFs.html*
-rw-r--r-- 1 root root 64 Sep 6 14:29 /var/www/inkscope/inkscopeViz/partials/fs/aboutFs.html
[root@debianhost angular-misc]#
[root@debianhost angular-misc]#
[root@debianhost angular-misc]# ll /var/www/inkscope/inkscopeViz/partials/fs/createFs.html*
-rw-r--r-- 1 root root 1263 Sep 6 14:29 /var/www/inkscope/inkscopeViz/partials/fs/createFs.html
[root@debianhost angular-misc]#
[root@debianhost angular-misc]#
[root@debianhost angular-misc]# ll /var/www/inkscope/inkscopeViz/partials/fs/detailFs.html*
-rw-r--r-- 1 root root 1708 Sep 6 14:29 /var/www/inkscope/inkscopeViz/partials/fs/detailFs.html
[root@debianhost angular-misc]#
[root@debianhost angular-misc]# ll /var/www/inkscope/inkscopeViz/partials/header.html*
-rw-r--r-- 1 root root 7009 Sep 6 14:29 /var/www/inkscope/inkscopeViz/partials/header.html
[root@debianhost angular-misc]#
[root@debianhost angular-misc]#
[root@debianhost angular-misc]# ll /var/www/inkscope/inkscopeViz/partials/header.html*
-rw-r--r-- 1 root root 7009 Sep 6 14:29 /var/www/inkscope/inkscopeViz/partials/header.html
-rw-r--r-- 1 root root 6611 May 23 02:21 /var/www/inkscope/inkscopeViz/partials/header.html_ORIG
[root@debianhost angular-misc]#
[root@debianhost angular-misc]#
[root@debianhost angular-misc]# ll /var/www/inkscope/inkscopeViz/scripts/angular-misc/angular-commons.js*
-rw-r--r-- 1 root root 4974 Sep 6 14:29 /var/www/inkscope/inkscopeViz/scripts/angular-misc/angular-commons.js
-rw-r--r-- 1 root root 4894 May 23 02:21 /var/www/inkscope/inkscopeViz/scripts/angular-misc/angular-commons.js_ORIG
[root@debianhost angular-misc]#
[root@debianhost angular-misc]# ll /var/www/inkscope/inkscopeViz/scripts/fsApp.js*
-rw-r--r-- 1 root root 5148 Sep 6 14:29 /var/www/inkscope/inkscopeViz/scripts/fsApp.js
[root@debianhost angular-misc]#
[root@debianhost angular-misc]# ll /var/www/inkscope/inkscopeViz/scripts/statusApp.js*
-rw-r--r-- 1 root root 15462 Sep 6 14:29 /var/www/inkscope/inkscopeViz/scripts/statusApp.js
-rw-r--r-- 1 root root 15391 Aug 31 16:14 /var/www/inkscope/inkscopeViz/scripts/statusApp.js_ORIG
[root@debianhost angular-misc]#
[root@debianhost angular-misc]#
[root@debianhost angular-misc]#

@laggeduout
Copy link

I have managed to get the file system menu to show correctly but the data still looks to be missing.

filesystem

@jthiyagu
Copy link
Author

Hi ,
Can you please let me know, what you did for FS menu to be visible on dashboard. ?

@A-Dechorgnat
Copy link
Member

FS menu is visible on dashboard if the ceph is at least Jewel.
The ceph version is detected by the inkscopeCtrl server where the same version of ceph than the cluster must be installed

@jthiyagu
Copy link
Author

Hi ,

Thanks a lot ... I got it fixed by re-installing the OS from the scratch, Now and all required information are visible on dashboard , But as mentioned the data fields doesn't show any FS related information.

Also , Can you please help me in getting the Monitoring Stats Graph working. ?
11
22
33

@A-Dechorgnat
Copy link
Member

The monitoring graphs need the installation of influxdb and collectd.
If this is done, can you open the browser console (F12) and look for error messages?

@AlexNazar
Copy link

Hi! I try to set monitoring, and after i see the same image. F12 output:
pool name: undefined
influxDBApp.js:148 SELECT mean("value") FROM "ceph-ceph_value" WHERE "instance" = 'osd' AND time > now() - 1h GROUP BY time(2m), "type_instance" fill(none)
2influxDBApp.js:148 SELECT mean("value") FROM "ceph-ceph_value" WHERE "instance" = 'undefined' AND time > now() - 1h GROUP BY time(2m), "type_instance" fill(none)
angular.js:8521 GET http://10.0.184.10:8096/query?db=collectd&q=SELECT%20mean(%22value%22)%20FR…w()%20-%201h%20GROUP%20BY%20time(2m)%2C%20%22type_instance%22%20fill(none) net::ERR_CONNECTION_REFUSED
(anonymous) @ angular.js:8521
t @ angular.js:8315
f @ angular.js:8049
L @ angular.js:11520
L @ angular.js:11520
(anonymous) @ angular.js:11606
$eval @ angular.js:12632
$digest @ angular.js:12444
(anonymous) @ angular.js:12670
e @ angular.js:4371
(anonymous) @ angular.js:4672
angular.js:8521 GET http://10.0.184.10:8096/query?db=collectd&q=SELECT%20mean(%22value%22)%20FR…w()%20-%201h%20GROUP%20BY%20time(2m)%2C%20%22type_instance%22%20fill(none) net::ERR_CONNECTION_REFUSED
(anonymous) @ angular.js:8521
t @ angular.js:8315
f @ angular.js:8049
L @ angular.js:11520
L @ angular.js:11520
(anonymous) @ angular.js:11606
$eval @ angular.js:12632
$digest @ angular.js:12444
(anonymous) @ angular.js:12670
e @ angular.js:4371
(anonymous) @ angular.js:4672
angular.js:8521 GET http://10.0.184.10:8096/query?db=collectd&q=SELECT%20mean(%22value%22)%20FR…w()%20-%201h%20GROUP%20BY%20time(2m)%2C%20%22type_instance%22%20fill(none) net::ERR_CONNECTION_REFUSED

@AlexNazar
Copy link

Centos 7.3, collectd - collectd-5.7.1-2, influxdb - influxdb-1.2.4-1

@jiajianglong
Copy link

Hi jthiyagn and Dechorgant,
I am a newbie in ceph and inkscope, and I meet the same problem that the dashboad can not show all the
information with jewel. I build the ceph and inkscope in 4 virtural hosts, the OS is RedHat 7.2 and
the inkscope version is 1.4.0. I try to solve this issue for one week, but fail.
No matter which brower i use, the problem always exists.
this is result using the google chrome.
888763413471942222
and this is for firebox.
443389995509174313
the next is the configure file /opt/inkscope/etc/inkscope.conf
778390364556814375
the last is the configure file /etc/httpd/conf.d/inkscope.conf
393039475026122440

@jiajianglong
Copy link

can somebody help me?

@AlexNazar
Copy link

AlexNazar commented Aug 24, 2017

ceph auth get-or-create client.restapi mds 'allow' osd 'allow *' mon 'allow *' > /etc/ceph/ceph.client.restapi.keyring

chmod 644 /etc/ceph/ceph.client.admin.keyring
chmod 644 /etc/ceph/ceph.client.restapi.keyring

And then add this key to your ceph mon host's
in /etc/ceph/

@taozix
Copy link

taozix commented Jun 6, 2018

ceph version: jewel
inkscope version: 1.4.0
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants