Open XinliGuan opened 9 years ago
Kanagaraj;
I followed your instructions to copy all the dist to the corresponding subdirectories, and retry the access test.
It seems not working.
cthulhu.log shows:
2015-07-30 04:34:16,949 - WARNING - cthulhu.server_monitor.salt Re-opening connection to salt-master 2015-07-30 04:34:42,007 - WARNING - cthulhu.server_monitor.salt Re-opening connection to salt-master 2015-07-30 04:34:42,036 - WARNING - cthulhu.salt Re-opening connection to salt-master 2015-07-30 04:35:07,068 - WARNING - cthulhu.server_monitor.salt Re-opening connection to salt-master
the httpd_access.log shows:
9.41.89.201 - - [30/Jul/2015:10:36:26 -0400] "GET / HTTP/1.1" 302 -
9.41.89.201 - - [30/Jul/2015:10:36:27 -0400] "GET /manage/ HTTP/1.1" 304 - 9.41.89.201 - - [30/Jul/2015:10:36:27 -0400] "GET /manage/styles/main.css HTTP/1.1" 404 92 9.41.89.201 - - [30/Jul/2015:10:36:27 -0400] "GET /manage/bower_components/bootstrap/dist/css/bootstrap.css HTTP/1.1" 404 92 9.41.89.201 - - [30/Jul/2015:10:36:27 -0400] "GET /manage/bower_components/requirejs/require.js HTTP/1.1" 304 - 9.41.89.201 - - [30/Jul/2015:10:36:27 -0400] "GET /manage/images/logo.png HTTP/1.1" 404 92 9.41.89.201 - - [30/Jul/2015:10:36:27 -0400] "GET /manage/scripts/main.js HTTP/1.1" 404 92 9.41.89.201 - - [30/Jul/2015:10:36:29 -0400] "GET /favicon.ico HTTP/1.1" 404 85 9.41.89.201 - - [30/Jul/2015:10:36:29 -0400] "GET /favicon.ico HTTP/1.1" 404 85 9.41.89.201 - - [30/Jul/2015:10:36:46 -0400] "GET /login HTTP/1.1" 404 79
9.41.89.201 - - [30/Jul/2015:10:37:24 -0400] "GET /manage/images/logo.png HTTP/1.1" 404 92 9.41.89.201 - - [30/Jul/2015:10:37:24 -0400] "GET /manage/styles/main.css HTTP/1.1" 404 92 9.41.89.201 - - [30/Jul/2015:10:37:24 -0400] "GET /manage/bower_components/bootstrap/dist/css/bootstrap.css HTTP/1.1" 404 92 9.41.89.201 - - [30/Jul/2015:10:37:25 -0400] "GET /manage/scripts/main.js HTTP/1.1" 404 92
The calamari.log shows:
2015-07-30 09:36:29,023 - metric_access - django.request Not Found: /favicon.ico 2015-07-30 09:36:29,203 - metric_access - django.request Not Found: /favicon.ico 2015-07-30 09:36:46,939 - metric_access - django.request Not Found: /login
(See attached file: calamari.log)(See attached file: httpd_access.log)(See attached file: cthulhu.log)
Best Regards;
Charley
From: Kanagaraj M notifications@github.com To: ceph/calamari-clients calamari-clients@noreply.github.com Cc: Charley Guan/Austin/IBM@IBMUS Date: 07/29/2015 11:56 PM Subject: Re: [calamari-clients] how to deploy the calamari-client tarball in the calamari master machine (#97)
'dist' directory should be copied instead of app''
copy /tmp/calamari-clients/manage/dist/* /opt/calamari/webapp/content/manage
— Reply to this email directly or view it on GitHub.
Kanagaraj;
After coping all the dist items to the /opt/calamari/webapp/content, the login page shows up, but the next page really confused me.
My question, is this correct since I have not configured the Ceph.
What is the next test scenario without Ceph cluster configured?
Best Regards;
Charley
From: Kanagaraj M notifications@github.com To: ceph/calamari-clients calamari-clients@noreply.github.com Cc: Charley Guan/Austin/IBM@IBMUS Date: 07/29/2015 11:56 PM Subject: Re: [calamari-clients] how to deploy the calamari-client tarball in the calamari master machine (#97)
'dist' directory should be copied instead of app''
copy /tmp/calamari-clients/manage/dist/* /opt/calamari/webapp/content/manage
— Reply to this email directly or view it on GitHub.
Thank you very much for all your Ceph team's help.
best Regards;
Charley
From: Kanagaraj M notifications@github.com To: ceph/calamari-clients calamari-clients@noreply.github.com Cc: Charley Guan/Austin/IBM@IBMUS Date: 07/30/2015 01:24 PM Subject: Re: [calamari-clients] how to deploy the calamari-client tarball in the calamari master machine (#97)
If you have not configured any ceph cluster, upon login you will be presented with a landing page asking to configure a cluster/hosts.
— Reply to this email directly or view it on GitHub.
dear Calamari guy;
I follow the instruction from the link: https://github.com/ceph/calamari-clients/wiki/Fedora-Build-Instructions
After creating the tar ball, I checked that admin, login, dashboard, manage all have the app and dist created.
Now, we don't know next step, in the document it says: Upon successful build you will have dist folders in admin/login/dashboard/manage folders and you
have to use them in your webapp/content folder of calamari.
How do we use them in /opt/calamari/webapp/content?
This is our interpretation (Please correct us if we are wrong)
copy /tmp/calamari-clients/admin/app/* /opt/calamari/webapp/content/manage copy /tmp/calamari-clients/manage/app/* /opt/calamari/webapp/content/admin copy /tmp/calamari-clients/login/app/* /opt/calamari/webapp/content/login copy /tmp/calamari-clients/dashboard/app/* /opt/calamari/webapp/content/dashboard
where ../admin/app [root@acme64 app]# pwd /temp/calamari-repo/calamari-clients/admin/app [root@acme64 app]# ls -l total 44 -rw-r--r-- 1 root root 4459 Jul 23 16:55 404.html drwxr-xr-x 15 root root 4096 Jul 23 16:55 bower_components -rw-r--r-- 1 root root 4286 Jul 23 16:55 favicon.ico lrwxrwxrwx 1 root root 34 Jul 27 13:07 font -> bower_components/font-awesome/font drwxr-xr-x 2 root root 4096 Jul 23 16:55 images -rw-r--r-- 1 root root 3301 Jul 23 16:55 index.html -rw-r--r-- 1 root root 31 Jul 23 16:55 robots.txt drwxr-xr-x 3 root root 4096 Jul 23 16:57 scripts drwxr-xr-x 2 root root 4096 Jul 23 16:55 styles drwxr-xr-x 2 root root 4096 Jul 23 16:55 views [root@acme64 app]#
login/app:
[root@acme64 calamari-clients]# cd login/app [root@acme64 app]# ls -l total 40 -rw-r--r-- 1 root root 4459 Jul 23 16:55 404.html drwxr-xr-x 10 root root 4096 Jul 23 16:55 bower_components -rw-r--r-- 1 root root 4286 Jul 23 16:55 favicon.ico lrwxrwxrwx 1 root root 34 Jul 27 13:07 font -> bower_components/font-awesome/font drwxr-xr-x 2 root root 4096 Jul 23 16:55 images -rw-r--r-- 1 root root 3484 Jul 23 16:55 index.html -rw-r--r-- 1 root root 31 Jul 23 16:55 robots.txt drwxr-xr-x 3 root root 4096 Jul 27 13:56 scripts drwxr-xr-x 2 root root 4096 Jul 23 16:55 styles [root@acme64 app]#
dashboard/app: [root@acme64 app]# cd ../../dashbo* [root@acme64 dashboard]# cd app [root@acme64 app]# ls -l total 40 -rw-r--r-- 1 root root 4464 Jul 23 16:55 404.html drwxr-xr-x 31 root root 4096 Jul 23 16:55 bower_components -rw-r--r-- 1 root root 6774 Jul 23 16:55 favicon.ico lrwxrwxrwx 1 root root 35 Jul 27 13:08 fonts -> bower_components/font-awesome/fonts drwxr-xr-x 2 root root 4096 Jul 23 16:55 images -rw-r--r-- 1 root root 2808 Jul 23 16:55 index.html -rw-r--r-- 1 root root 31 Jul 23 16:55 robots.txt drwxr-xr-x 10 root root 4096 Jul 27 13:56 scripts drwxr-xr-x 5 root root 4096 Jul 23 16:55 styles [root@acme64 app]#
and manage/app: [root@acme64 app]# ls -l total 40 -rw-r--r-- 1 root root 3529 Jul 23 16:55 404.html drwxr-xr-x 23 root root 4096 Jul 27 13:06 bower_components -rw-r--r-- 1 root root 4286 Jul 23 16:55 favicon.ico lrwxrwxrwx 1 root root 35 Jul 27 13:06 fonts -> bower_components/font-awesome/fonts drwxr-xr-x 2 root root 4096 Jul 23 16:55 images -rw-r--r-- 1 root root 2491 Jul 23 16:55 index.html -rw-r--r-- 1 root root 31 Jul 23 16:55 robots.txt drwxr-xr-x 8 root root 4096 Jul 23 16:56 scripts drwxr-xr-x 4 root root 4096 Jul 23 16:55 styles drwxr-xr-x 2 root root 4096 Jul 23 16:55 views [root@acme64 app]#
Please help up to resolve the issue,
Thanks a lot;
Charley