Created attachment 660612 [details] SHD_missing Description of problem: SHD service status details are not displayed in "Services" tab in Cluster Version-Release number of selected component (if applicable): rhsc-2.1-qa18.el6ev.noarch How reproducible: Always Steps to Reproduce: 1. Select a Cluster and click on the sub-tab "Services " 2. You will see only NFS related details and not SHD Actual results: Currently ONLY NFS service related details are seen and SHD service details are missing. Even if you select SHD from the drop-down, and click on "Filter", it doesn't show anything. Expected results: SHD service status should also be displayed along with NFS as currently we support SHD service as well as per http://wiki.ovirt.org/Features/GlusterVolumeAdvancedDetails Additional info: Screenshot attached SHD service is running in the server. See below: ----- # ps aux |grep glustershd root 29047 0.1 0.1 318848 17588 ? Ssl Dec09 0:03 /usr/sbin/glusterfs -s localhost --volfile-id gluster/glustershd -p /var/lib/glusterd/glustershd/run/glustershd.pid -l /var/log/glusterfs/glustershd.log -S /var/run/bc939796854a60f449342f975c33068c.socket --xlator-option *replicate*.node-uuid=9dd0c92e-e929-43a0-aaff-d6c201e5d77d ----- Even otherwise, it should say the status as DOWN instead of not displaying anything.
While calling volumeStatus, a REPLICATE volume should be passed as an argument to get the SHD details. The same will be applicable for NFS as well(the volume should have nfs enabled). So the engine has to decide which volume to be passed as an argument when calling volumeStatus. A volume which is both REPLICATE and NFS=true should be selected. if nothing found, call the volumeStatus twice, first time with REPLICATE volume, second time with NFS enable volume and the results should be combined and shown to the user. The services could be empty if the cluster has no REPLICATE volumes and no NFS enabled volumes.
Patch sent to upstream: http://gerrit.ovirt.org/#/c/10336/
*** Bug 902506 has been marked as a duplicate of this bug. ***
*** Bug 902829 has been marked as a duplicate of this bug. ***
When this bug was opened, there replicate volumes in Up state. Once a volume was added and "Up", then cluster services table was populated as expected.
(In reply to comment #2) > While calling volumeStatus, a REPLICATE volume should be passed as an > argument to get the SHD details. The same will be applicable for NFS as > well(the volume should have nfs enabled). > > So the engine has to decide which volume to be passed as an argument when > calling volumeStatus. A volume which is both REPLICATE and NFS=true should > be selected. if nothing found, call the volumeStatus twice, first time with > REPLICATE volume, second time with NFS enable volume and the results should > be combined and shown to the user. > > The services could be empty if the cluster has no REPLICATE volumes and no > NFS enabled volumes. Kanagaraj, instead of showing the services as empty when a cluster has no REPLICATE volumes and no NFS enabled volumes, it will be good if we can provide a useful message or s pop-up window in the "Services" tab providing the reason.
Created a Replicate volume, started the volume, and both NFS and SHD details were present.
Tested against QA6.
I am seeing this issue in bb3. Moving the bug to ASSIGNED.
Another issue that I see, is that when none of the hosts and none of the services are selected from the respective drop-down menus, the Console does not display any services, whereas all services on all hosts should be displayed.
Attaching engine logs and vdsm logs.
Created attachment 762456 [details] vdsm logs
Created attachment 762457 [details] engine logs
In the logs, see this: 2013-06-18 15:24:44,102 ERROR [org.ovirt.engine.core.bll.gluster.GetGlusterVolumeAdvancedDetailsQuery] (ajp-/127.0.0.1:8702-2) To get service details, no Nfs or Replicated volumes found in the cluster. Can you give output of gluster volume status?
Sahina, This is the log when the user selects a cluster which doesn't have any volumes.
Shruti, The vdsm logs is from host 10.70.35.107? Is this host part of your "myglustercluster" ?
Sahina, The screenshot is an older attachment that was uploaded earlier from another setup. The logs that I have attached are not from the same setup. So the machine 10.70.35.107 is not part of 'myglustercluster' seen in the screenshot.
Verfified as fixed in Red Hat Storage Console Version: 2.1.0-0.bb5.el6rhs. The NFS and SHD services details are being displayed for all possible combinations of hosts and service type.
Seeing another issue. Filtering on a specified host and service has issues, the result appears and then disappears, and this keeps happening. 'ShowAll' works fine. Moving to ASSIGNED state.
upstream vdsm patch is at http://gerrit.ovirt.org/#/c/21596/ downstream glusterfs patch is at https://code.engineering.redhat.com/gerrit/#/c/15759/
Downstream vdsm patch https://code.engineering.redhat.com/gerrit/#/c/16544/
The validation message isn't quite accurate which may confuse the user since validation is shown when the number of bricks less than equal to 4. As prasanth pointed out before, 0 and 4 are both a multiples of 4. multiple is also misspelled in the current validation message. current validation message: "Number of bricks should be a mutiple of Stripe Count" suggested; something similar to: "Number of bricks should be a multiple of Stripe Count with a minimum of 8 bricks"
The comment 26 is not relevant to the SHD service details. I'm moving this back to ON_QA. Please provide correct details, if you're failing again.
Verified as fixed in Red Hat Storage Console Version: 2.1.2-0.27.beta.el6_5.
Please review and signoff the edited DocText.
doc-text looks good to me.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0208.html