[ovirt-users] Re: Enable Gluster Service

2020-10-18 Thread Strahil Nikolov via Users
I would go to the UI and identify the hsot with the 'SPM' flag.
Then you should check the vdsm logs on that host (/var/log/vdsm/)

Best Regards,
Strahil Nikolov






В четвъртък, 15 октомври 2020 г., 20:19:57 Гринуич+3, supo...@logicworks.pt 
 написа: 





Hello, 

When I  Enable Gluster Service on the cluster, de data center goes to invalid 
state.

Any idea why?


-- 

Jose Ferradeira
http://www.logicworks.pt
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KBFEITWUQ5Q6G4KRDEBVDQIBK4TRFNQL/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EI6YUIXDDDLVB6DLCK7VQC34YTCWNL3T/


[ovirt-users] Re: Gluster Domain Storage full

2020-10-18 Thread Strahil Nikolov via Users
What is the output of:
df -h /rhev/data-center/mnt/glusterSD/server_volume/

gluster volume status volume
gluster volume info volume

In the "df" you should see the new space or otherwise you won't be able to do 
anything.

Best Regards,
Strahil Nikolov






В четвъртък, 15 октомври 2020 г., 17:04:58 Гринуич+3, supo...@logicworks.pt 
 написа: 





Hello,

I just add a second brick to the volume. Now I have 10% free, but still cannot 
delete the disk. Still the same message:

VDSM command DeleteImageGroupVDS failed: Could not remove all image's volumes: 
(u'b6165676-a6cd-48e2-8925-43ed49bc7f8e [Errno 28] No space left on device',)

Any idea?
Thanks

José


De: "Strahil Nikolov" 
Para: supo...@logicworks.pt
Cc: "users" 
Enviadas: Terça-feira, 22 De Setembro de 2020 13:36:27
Assunto: Re: [ovirt-users] Re: Gluster Domain Storage full

Any option to extend the Gluster Volume ?

Other approaches are quite destructive. I guess , you can obtain the VM's xml 
via virsh and then copy the disks to another pure-KVM host.
Then you can start the VM , while you are recovering from the situation.

virsh -c qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf 
dumpxml  > /some/path/.xml

Once you got the VM running on a pure-KVM host , you can go to oVirt and try to 
wipe the VM from the UI. 


Usually those 10% reserve is just in case something like this one has happened, 
but Gluster doesn't check it every second (or the overhead will be crazy).

Maybe you can extend the Gluster volume temporarily , till you manage to move 
away the VM to a bigger storage. Then you can reduce the volume back to 
original size.

Best Regards,
Strahil Nikolov



В вторник, 22 септември 2020 г., 14:53:53 Гринуич+3, supo...@logicworks.pt 
 написа: 





Hello Strahil,

I just set cluster.min-free-disk to 1%:
# gluster volume info data

Volume Name: data
Type: Distribute
Volume ID: 2d3ea533-aca3-41c4-8cb6-239fe4f82bc3
Status: Started
Snapshot Count: 0
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: node2.domain.com:/home/brick1
Options Reconfigured:
cluster.min-free-disk: 1%
cluster.data-self-heal-algorithm: full
performance.low-prio-threads: 32
features.shard-block-size: 512MB
features.shard: on
storage.owner-gid: 36
storage.owner-uid: 36
transport.address-family: inet
nfs.disable: on

But still get the same error: Error while executing action: Cannot move Virtual 
Disk. Low disk space on Storage Domain
I restarted the glusterfs volume.
But I can not do anything with the VM disk.


I know that filling the bricks is very bad, we lost access to the VM. I think 
there should be a mechanism to prevent stopping the VM.
we should continue to have access to the VM to free some space.

If you have a VM with a Thin Provision disk, if the VM fills the entire disk, 
we got the same problem.

Any idea?

Thanks

José




De: "Strahil Nikolov" 
Para: "users" , supo...@logicworks.pt
Enviadas: Segunda-feira, 21 De Setembro de 2020 21:28:10
Assunto: Re: [ovirt-users] Gluster Domain Storage full

Usually gluster has a 10% reserver defined in 'cluster.min-free-disk' volume 
option.
You can power off the VM , then set cluster.min-free-disk
to 1% and immediately move any of the VM's disks to another storage domain.

Keep in mind that filling your bricks is bad and if you eat that reserve , the 
only option would be to try to export the VM as OVA and then wipe from current 
storage and import in a bigger storage domain.

Of course it would be more sensible to just expand the gluster volume (either 
scale-up the bricks -> add more disks, or scale-out -> adding more servers with 
disks on them), but I guess that is not an option - right ?

Best Regards,
Strahil Nikolov








В понеделник, 21 септември 2020 г., 15:58:01 Гринуич+3, supo...@logicworks.pt 
 написа: 





Hello,

I'm running oVirt Version 4.3.4.3-1.el7.
I have a small GlusterFS Domain storage brick on a dedicated filesystem serving 
only one VM.
The VM filled all the Domain storage.
The Linux filesystem has 4.1G available and 100% used, the mounted brick has 
0GB available and 100% used

I can not do anything with this disk, for example, if I try to move it to 
another Gluster Domain Storage get the message:

Error while executing action: Cannot move Virtual Disk. Low disk space on 
Storage Domain

Any idea?

Thanks

-- 

Jose Ferradeira
http://www.logicworks.pt
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WFN2VOQZPPVCGXAIFEYVIDEVJEUCSWY7/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to 

[ovirt-users] Re: Q: Hybrid GlusterFS / local storage setup?

2020-10-18 Thread Jiří Sléžka
Hi,

On 10/18/20 11:16 AM, Gilboa Davara wrote:
> 
> On Thu, Oct 15, 2020 at 3:27 PM Nir Soffer  > wrote:
> 
> On Thu, Oct 15, 2020 at 3:20 PM Gilboa Davara  > wrote:
> >
> > On Thu, Oct 15, 2020 at 2:38 PM Nir Soffer  > wrote:
> >>
> >> > I've got room to spare.
> >> > Any documentation on how to achieve this (or some pointers
> where to look)?
> >>
> >> It should be documented in ovirt.org , and in
> RHV documentation:
> >>
> 
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/administration_guide/
> >>
> >> > I couldn't find LVM / block device under host devices / storage
> domain / etc and Google search returned irrelevant results.
> >>
> >> I tested locally, LVM devices are not available in:
> >> Compute > Hosts > {hostname} > Host Devices
> >>
> >> Looks like libvirt does not support device mapper devices. You
> can try:
> >> # virsh -r nodedev-list
> >>
> >> To see supported devices. The list seems to match what oVirt displays
> >> in the Host Devices tab.
> >>
> >> So you only option it to attach the entire local device to the
> VM, either using
> >> pci passthrough or as a scsi disk.
> >>
> >> Nir
> >
> >
> > Full SCSI passthrough per "desktop" VM is an overkill for this
> user case. (Plus, I don't see MD devices in the list, only pure
> SATA/SAS devices).
> > Any idea if there are plans to add support for LVM devices (or any
> other block device)?
> 
> I don't think there is such a plan, but it makes sense to support
> such usage.
> 
> Please file ovit-engine RFE explaining the use case, and we can consider
> it for a future version.
> 
> Nir
> 
> 
> Done.
> https://bugzilla.redhat.com/show_bug.cgi?id=1889138

I also wote for this feature. There is also this RFE which could allow
similar functionality (allow use of local disk storages in shared
storage cluster).

https://bugzilla.redhat.com/show_bug.cgi?id=1406412

Cheers,

Jiri

> 
> Thanks again for the help!
> - Gilboa
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/NQOCWZ2SYPS2LXH2MRJLGICWOVZXXMCB/
> 



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/24NC357DKZ4JTHUB3HQQPNEQ3T2K6XQT/


[ovirt-users] Re: Q: Hybrid GlusterFS / local storage setup?

2020-10-18 Thread Gilboa Davara
On Thu, Oct 15, 2020 at 3:27 PM Nir Soffer  wrote:

> On Thu, Oct 15, 2020 at 3:20 PM Gilboa Davara  wrote:
> >
> > On Thu, Oct 15, 2020 at 2:38 PM Nir Soffer  wrote:
> >>
> >> > I've got room to spare.
> >> > Any documentation on how to achieve this (or some pointers where to
> look)?
> >>
> >> It should be documented in ovirt.org, and in RHV documentation:
> >>
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/administration_guide/
> >>
> >> > I couldn't find LVM / block device under host devices / storage
> domain / etc and Google search returned irrelevant results.
> >>
> >> I tested locally, LVM devices are not available in:
> >> Compute > Hosts > {hostname} > Host Devices
> >>
> >> Looks like libvirt does not support device mapper devices. You can try:
> >> # virsh -r nodedev-list
> >>
> >> To see supported devices. The list seems to match what oVirt displays
> >> in the Host Devices tab.
> >>
> >> So you only option it to attach the entire local device to the VM,
> either using
> >> pci passthrough or as a scsi disk.
> >>
> >> Nir
> >
> >
> > Full SCSI passthrough per "desktop" VM is an overkill for this user
> case. (Plus, I don't see MD devices in the list, only pure SATA/SAS
> devices).
> > Any idea if there are plans to add support for LVM devices (or any other
> block device)?
>
> I don't think there is such a plan, but it makes sense to support such
> usage.
>
> Please file ovit-engine RFE explaining the use case, and we can consider
> it for a future version.
>
> Nir
>

Done.
https://bugzilla.redhat.com/show_bug.cgi?id=1889138

Thanks again for the help!
- Gilboa
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NQOCWZ2SYPS2LXH2MRJLGICWOVZXXMCB/