[ovirt-users] I’m having trouble deleting a test gluster volume

knarra knarra at redhat.com
Tue Apr 11 18:51:18 UTC 2017


On 04/11/2017 11:28 PM, Precht, Andrew wrote:
> Hi all,
> The node is oVirt Node 4.1.1 with glusterfs-3.8.10-1.el7.
> On the node I can not find /var/log/glusterfs/glusterd.log However, 
> there is a /var/log/glusterfs/glustershd.log
can you check if /var/log/glusterfs/etc-glusterfs-glusterd.vol.log 
exists? if yes, can you check if there is any error present in that file ?
>
> What happens if I follow the four steps outlined here to remove the 
> volume from the node _BUT_, I do have another volume present in the 
> cluster. It too is a test volume. Neither one has any data on them. 
> So, data loss is not an issue.
Running those four steps will remove the volume from your cluster . If 
the volumes what you have are test volumes you could just follow the 
steps outlined to delete them (since you are not able to delete from UI) 
and bring back the cluster into a normal state.
>
> ------------------------------------------------------------------------
> *From:* knarra <knarra at redhat.com>
> *Sent:* Tuesday, April 11, 2017 10:32:27 AM
> *To:* Sandro Bonazzola; Precht, Andrew; Sahina Bose; Tal Nisan; Allon 
> Mureinik; Nir Soffer
> *Cc:* users
> *Subject:* Re: [ovirt-users] I’m having trouble deleting a test 
> gluster volume
> On 04/11/2017 10:44 PM, Sandro Bonazzola wrote:
>> Adding some people
>>
>> Il 11/Apr/2017 19:06, "Precht, Andrew" <Andrew.Precht at sjlibrary.org 
>> <mailto:Andrew.Precht at sjlibrary.org>> ha scritto:
>>
>>     Hi Ovirt users,
>>     I’m a newbie to oVirt and I’m having trouble deleting a test
>>     gluster volume. The nodes are 4.1.1 and the engine is 4.1.0
>>
>>     When I try to remove the test volume, I click Remove, the dialog
>>     box prompting to confirm the deletion pops up and after I click
>>     OK, the dialog box changes to show a little spinning wheel and
>>     then it disappears. In the end the volume is still there.
>>
> with the latest version of glusterfs & ovirt we do not see any issue 
> with deleting a volume. Can you please check 
> /var/log/glusterfs/glusterd.log file if there is any error present?
>
>
>>     The test volume was distributed with two host members. One of the
>>     hosts I was able to remove from the volume by removing the host
>>     form the cluster. When I try to remove the remaining host in the
>>     volume, even with the “Force Remove” box ticked, I get this
>>     response: Cannot remove Host. Server having Gluster volume.
>>
>>     What to try next?
>>
> since you have already removed the volume from one host in the cluster 
> and you still see it on another host you can do the following to 
> remove the volume from another host.
>
> 1) Login to the host where the volume is present.
> 2) cd to /var/lib/glusterd/vols
> 3) rm -rf <vol_name>
> 4) Restart glusterd on that  host.
>
> And before doing the above make sure that you do not have any other 
> volume present in the cluster.
>
> Above steps should not be run on a production system as you might 
> loose the volume and data.
>
> Now removing the host from UI should succed.
>
>>
>>     P.S. I’ve tried to join this user group several times in the
>>     past, with no response.
>>     Is it possible for me to join this group?
>>
>>     Regards,
>>     Andrew
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170412/87948438/attachment.html>


More information about the Users mailing list