Description of problem: ---------------------- calamari UI-> Graph -> Selecting a mon from host list does not display any graph. Version-Release number of selected component (if applicable): 0.94.1 How reproducible:always Steps to Reproduce: 1. open calamari UI 2. click on Graph 3. from the drop down box, select a mon host Actual results: No graph shown Expected results: Graph related to mon shown Additional info:
fixed in https://bugzilla.redhat.com/show_bug.cgi?id=1215802 *** This bug has been marked as a duplicate of bug 1215802 ***
Hi Gregory, This BZ is marked as dup of 1215802. 1215802 has following update: "Status: ASSIGNED → MODIFIED Fixed In Version: calamari-server-1.3-5.el7cp diamond-3.4.67-4.el7cp → calamari-server-1.3-7.el7cp diamond-3.4.67-4.el7cp" This BZ (1223335) was observed on the Admin host which has above packages. [cephuser@Admin ~]$ rpm -qa | grep diamond diamond-3.4.67-4.el7cp.noarch [cephuser@Admin ~]$ rpm -qa | grep calamari calamari-clients-1.3-2.el7cp.x86_64 calamari-server-1.3-5.el7cp.x86_64 The above packages should have fixed the issue. Right? Also, please note that only when mon hosts are selected, the corresponding graph is not shown. Graph is shown for rest of the hosts. Harish
Hi Gregory, I am re-opening this bug as per my above comment. Once clarified, I will take it to closure. Please check my above comment. Thanks, Harish
Hi Harish, originally we thought bz 1215802 was fixed by calamari-server-1.3-5.el7cp, but then later we found that we needed to use a different patch set for calamari-server-1.3-7.el7cp . So the old server package is "1.3-5", the new one is "1.3-7". Could you please test with 1.3-7? It is available in the latest Puddle.
Hi Ken, I installed 1.3-7. Issue still not resolved. Mon graph is not displayed. I feel if this was related to package then it should not have displayed any graph. GUI displays graph for cluster, pool and osds but not for mon. Here is the installation log: [cephuser@Admin ~]$ sudo yum update calamari-server Loaded plugins: product-id, subscription-manager lab-extras | 951 B 00:00:00 rhel-7-fcgi-ceph | 951 B 00:00:00 rhel-7-server-ceph-1.3-calamari-test | 1.2 kB 00:00:00 rhel-7-server-ceph-1.3-installer-test | 1.2 kB 00:00:00 rhel-7-server-ceph-1.3-mon-test | 1.2 kB 00:00:00 rhel-7-server-ceph-1.3-osd-test | 1.2 kB 00:00:00 rhel-7-server-extras-rpms | 2.9 kB 00:00:00 rhel-7-server-optional-rpms | 2.9 kB 00:00:00 rhel-7-server-rpms | 3.7 kB 00:00:00 (1/4): rhel-7-server-ceph-1.3-calamari-test/primary | 5.8 kB 00:00:00 (2/4): rhel-7-server-ceph-1.3-installer-test/primary | 1.0 kB 00:00:00 (3/4): rhel-7-server-ceph-1.3-mon-test/primary | 8.9 kB 00:00:00 (4/4): rhel-7-server-ceph-1.3-osd-test/primary | 7.7 kB 00:00:00 rhel-7-server-ceph-1.3-calamari-test 15/15 rhel-7-server-ceph-1.3-installer-test 2/2 rhel-7-server-ceph-1.3-mon-test 26/26 rhel-7-server-ceph-1.3-osd-test 23/23 Resolving Dependencies --> Running transaction check ---> Package calamari-server.x86_64 0:1.3-5.el7cp will be updated ---> Package calamari-server.x86_64 0:1.3-7.el7cp will be an update --> Finished Dependency Resolution Dependencies Resolved =================================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================================== Updating: calamari-server x86_64 1.3-7.el7cp rhel-7-server-ceph-1.3-calamari-test 19 M Transaction Summary =================================================================================================================================================================================================================== Upgrade 1 Package Total download size: 19 M Is this ok [y/d/N]: y Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. calamari-server-1.3-7.el7cp.x86_64.rpm | 19 MB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : calamari-server-1.3-7.el7cp.x86_64 1/2 mv: cannot stat ‘/etc/httpd/conf.d/welcome.conf’: No such file or directory Redirecting to /bin/systemctl restart salt-master.service Redirecting to /bin/systemctl stop supervisord.service Redirecting to /bin/systemctl start supervisord.service Redirecting to /bin/systemctl stop httpd.service Redirecting to /bin/systemctl start httpd.service Thank you for installing Calamari. Please run 'calamari-ctl initialize' as root to complete the installation. Cleanup : calamari-server-1.3-5.el7cp.x86_64 2/2 Verifying : calamari-server-1.3-7.el7cp.x86_64 1/2 Verifying : calamari-server-1.3-5.el7cp.x86_64 2/2 Updated: calamari-server.x86_64 0:1.3-7.el7cp Complete! [cephuser@Admin ~]$ sudo calamari-ctl initialize [INFO] Loading configuration.. [INFO] Starting/enabling salt... [INFO] Starting/enabling postgres... [INFO] Updating database... [INFO] Initializing web interface... [INFO] Starting/enabling services... [INFO] Restarting services... [INFO] Complete. [cephuser@Admin ~]$ rpm -qa| grep calamari-server calamari-server-1.3-7.el7cp.x86_64 [cephuser@Admin ~]$ [cephuser@Admin ~]$ [cephuser@Admin ~]$ sudo yum update calamari-clients Loaded plugins: product-id, subscription-manager No packages marked for update [cephuser@Admin ~]$
I am looking to reproduce this now.
I setup a 1.3 cluster based on Ceph-1.3-RHEL-7-20150520.t.0-x86_64-dvd.iso and found that if I upgrade I need to run salt '*' state.highstate to get it to. I assume that this won't happen on a new install AND I think I need to find a way to either document this command as a requirement or make it happen when the package installs.
working on a fix for this now
Based on our discussions, Gregory, we were simply going to document that users must run "salt '*' state.highstate" after each RPM update (until we can make calamari-ctl do this automatically). Is that right?
Yes Ken, I think that is best. I will propose this as a fix for 1.3.1 and work with John Wilkins to get that extra step documented.
I upgraded to latest Puddle. Then did following: 1. Opened calamari GUI -> Graphs -> OSD host and went through all the graphs displayed by pressing the buttons "system->summary, system->All CPUs, Disks->bytes....etc" 2. then selected Graphs -> Mon host. 3. The buttons "system->summary, system->All CPUs, Disks->bytes....etc" were displayed. Upon clicking the buttons graph displayed for all buttons except: "system->summary, Disks -> capacities, Disks -> Inodes" 4. As I had upgraded to latest build, ran "salt '*' state.highstate" with expectation that Graphs will be displayed for Mon by clicking on all the buttons. 5. The above command completed. 6. Re-logged-in to GUI 7. Directly selected Graphs->Mon Host. 8. No Graphs were displayed. No buttons "system->summary, system->All CPUs, Disks->bytes....etc" displayed. 9. Then selected some other OSD and found buttons are getting displayed and Graphs also. 10. Again selected Graphs-> Mon Host 11. The buttons "system->summary, system->All CPUs, Disks->bytes....etc" were displayed. Upon clicking the buttons graph displayed for all buttons except: "system->summary, Disks -> capacities, Disks -> Inodes" Summary of Observations: ------------------------ 1. Selecting the Graph -> Mon host first time (without accessing graphs of other hosts via buttons displayed for them) will not show any graph - This is still an issue which is not resolved by "salt '*' state.highstate" - Do we have to restart calamari (calamari-ctl initialize) after "salt '*' state.highstate' is run?? 2. Selecting the Graph -> Mon host after viewing the graphs for OSDs, shows the graphs for Mon for all buttons except: "system->summary, Disks -> capacities, Disks -> Inodes" - Are these not supposed to be displayed? (i don't think so...) I will attach the output of "salt '*' state.highstate" command. If you want to take a look at logs: Admin/calamari IP: 10.16.184.71, user= cephuser, password=junk123. To login to GUI, user name= tester1, password=junk123.
Created attachment 1032124 [details] salt '*' state.highstate command output
Looking at #10, #11, would that action not be suitable for the RPM's postnatal script? Anyway, PM Ack +
Looking at #10, #11, would that action not be suitable for the RPM's postinstall script? Anyway, PM Ack +
Gregory, should we have "calamari-ctl initialize" run salt '*' state.highstate ? Or make it part of the RPM's %postinstall operation?
Ken This is the fix I expect to downstream https://github.com/ceph/calamari/commit/1d16be88aa6e672a4e7825051c10951cc52fa9a4
picked and pushed onto ceph-1.3-rhel-patches
well I guess it can't go ON_QA till it's built
The patches in calamari-server-1.3-9.el7cp were found to be incorrect calamari-server-1.3-10.el7cp has the right patches.
Re-tested on new ceph 1.3.1 RHEL ISO: 1. Opened GUI 2. Directly selected Graphs->Mon Host. 3. No Graphs were displayed. No buttons "system->summary, system->All CPUs, Disks->bytes....etc" displayed. 4. Then selected some other OSD and found buttons are getting displayed and Graphs also. 5. Again selected Graphs-> Mon Host 6. The buttons "system->summary, system->All CPUs, Disks->bytes....etc" were displayed. But, upon clicking the buttons graph displayed for all buttons except for: "system->summary, Disks -> capacities, Disks -> Inodes" Summary of Observations: ------------------------ 1. Selecting the Graph -> Mon host first time (without accessing graphs of other hosts via buttons displayed for them) will not show any graph 2. Selecting the Graph -> Mon host after viewing the graphs for OSDs, shows the graphs for Mon for all buttons except for: "system->summary, Disks -> capacities, Disks -> Inodes"
I can reproduce this. there is data http://10.8.128.6/render?from=-2hours&until=now&width=400&height=250&target=servers.mon.cpu.cpu0.idle&_uniq=0.3413959049472296&title=servers.mon.cpu.cpu0.idle but the UI is not displaying it properly. I think this will have to wait till 1.3.2