Description of problem: ----------------------- While creating a new gluster backed data domain, there is checkbox provided with the name 'use managed gluster volume', which lists the gluster volume that is managed with that oVirt, to be used for that data domain. But this also fills the mount options which is not actually visible, unless I chose to manage the domain( by clicking 'manage domain' )post its creation Version-Release number of selected component (if applicable): ------------------------------------------------------------- https://bugzilla.redhat.com/show_bug.cgi?id=1417545 How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1. Create a cluster with virt + gluster capability enabled 2. Add 3 nodes and create a replica 3 volume, optimize for virt store 3. Now create a new gluster data domain and select 'use managed gluster volume' which will the list the gluster volumes managed in that cluster 4. Choose a gluster volume from the dropdown list Actual results: --------------- Mount options are not really visible, although its computed Click on 'Manage domain' and you can see the mount options are populated Expected results: ----------------- Mount options should be displayed immediately on the text column, immediately its been computed after choosing that particular volume
Moving to 4.1.1 as there's a problem in flow when storage domain is added with only of the hosts of volume added to cluster.
Tested with RHV 4.1.1.4 and I see that while creating the gluster domain, the mount options are still not made visible and also when explicitly added mount options are also not visible while selecting 'manage domain'
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
I see that the mount options are shown when the bricks are listed for the gluster volume. Can you recheck based on this: 1. backup-volfile-servers is auto-populated if oVirt engine is aware of the additional brick/servers associated with gluster volume 2. The ip address is picked if a gluster network is available and associated with an interface on host. Otherwise hostname is used
(In reply to Sahina Bose from comment #4) > I see that the mount options are shown when the bricks are listed for the > gluster volume. > Can you recheck based on this: > > 1. backup-volfile-servers is auto-populated if oVirt engine is aware of the > additional brick/servers associated with gluster volume > 2. The ip address is picked if a gluster network is available and associated > with an interface on host. Otherwise hostname is used Sahina, The problem is when the master storage domain is created. With HC deployment, there will be only one host at the very beginning. When creating the master storage domain, the backup-volfile-servers can't be computed and we seek that value as the input from the user. When I input those values, I couldn't see the values after the master storage domain creation, though the values are persisted in the DB Also after adding 2 more hosts, I could see that UI is picking up those 2 machines' IP for backup-volfile-servers, but not showing the initial values that I gave as mount options
The bug solves the issue for new storage domain creation after adding 2 more hosts to the cluster. In that case, mount options ( backup-volfile-servers ) are correctly populated.
I could not reproduce this. I had a 3 node setup, and I created a storage domain and manually entered mount options. It was both persisted and shown in the UI. will retry this. Moving it to 4.1.2 as this is not a blocker - the main flow works.
(In reply to Sahina Bose from comment #7) > I could not reproduce this. I had a 3 node setup, and I created a storage > domain and manually entered mount options. It was both persisted and shown > in the UI. will retry this. > > Moving it to 4.1.2 as this is not a blocker - the main flow works. Sahina, I have got it confirmed from Kasturi that the mount options are reflected correctly in RHV UI and tested with the latest RHV-4.1.1-4 Could you please target this bug for ovirt-4.1.1 and move this bug to ON_QA for verification ?
I am still ** not ** seeing the mount options seen in the RHV UI, when only one host is available. Test steps are as follows : 1. Deploy HE with sharded replica Create virt + gluster cluster 2. Once HE is deployed, create storage domain from UI and provide mount options 3. HE SD will get imported automatically In this state, check for mount options of master storage domain. It looks empty. Is this expected ?
Created attachment 1269583 [details] screenshot showing that mount options are not populated
Verified with RHV-4.1.1-8 The problem is seen when there is only one host in the cluster and one master SD created, the mount options are not seen while clicking on 'Manage domain' Once all the additional hosts in the gluster cluster are added to the host through RHV UI, the mount options is shown correctly
(In reply to SATHEESARAN from comment #9) > I am still ** not ** seeing the mount options seen in the RHV UI, when only > one host is available. > > Test steps are as follows : > 1. Deploy HE with sharded replica Create virt + gluster cluster > 2. Once HE is deployed, create storage domain from UI and provide mount > options > 3. HE SD will get imported automatically > > In this state, check for mount options of master storage domain. It looks > empty. > > Is this expected ? No, not expected. can you log a separate bz for this?