ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aravindan Vijayan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-15898) Grafana fails to start when using custom data directory
Date Thu, 19 May 2016 00:11:12 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-15898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15290127#comment-15290127
] 

Aravindan Vijayan commented on AMBARI-15898:
--------------------------------------------

[~miharp] Can you share the permissions on the /var/opt/teradata/lib and /var/opt/teradata/lib/ambari-metrics-grafana
? 

ls -lrt  /var/opt/teradata/lib
ls -lrt /var/opt/teradata/lib/ambari-metrics-grafana

Thanks

> Grafana fails to start when using custom data directory
> -------------------------------------------------------
>
>                 Key: AMBARI-15898
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15898
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-metrics
>         Environment: sles11sp3
>            Reporter: Michael Harp
>            Assignee: Aravindan Vijayan
>            Priority: Critical
>             Fix For: 2.4.0
>
>         Attachments: grafana-logs.tar.gz
>
>
> STR:
> 1. Deploy using blueprint with custom data directory for grafana. 
> {code}
>     {
>       "ams-grafana-env": {
>         "properties": {
>           "metrics_grafana_username": "admin",
>           "metrics_grafana_password": "admin",
>           "metrics_grafana_log_dir": "/var/opt/teradata/log/ambari-metrics-grafana",
>           "metrics_grafana_data_dir": "/var/opt/teradata/lib/ambari-metrics-grafana"
>         }
>       }
>     },{code}
> 2. Grafana start fails.
> {code}
> 2016/04/14 17:31:52 [I] Starting Grafana
> 2016/04/14 17:31:52 [I] Version: 2.6.0, Commit: v2.6.0, Build date: 2015-12-14 09:18:01
-0500 EST
> 2016/04/14 17:31:52 [I] Configuration Info
> Config files:
>   [0]: /usr/lib/ambari-metrics-grafana/conf/defaults.ini
>   [1]: /etc/ambari-metrics-grafana/conf/ams-grafana.ini
> Command lines overrides:
>   [0]: default.paths.data=/var/opt/teradata/lib/ambari-metrics-grafana
>   [1]: default.paths.logs=/var/opt/teradata/log/ambari-metrics-grafana
> Paths:
>   home: /usr/lib/ambari-metrics-grafana
>   data: /var/lib/ambari-metrics-grafana
>   logs: /var/opt/teradata/log/ambari-metrics-grafana
> 2016/04/14 17:31:52 [I] Database: sqlite3
> 2016/04/14 17:31:52 [I] Migrator: Starting DB migration
> 2016/04/14 17:31:52 [log.go:75 Fatal()] [E] fail to initialize orm engine: Sqlstore::Migration
failed err: unable to open database file
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message